OpenSlides/openslides/projector/templates/projector/dashboard.html

55 lines
2.2 KiB
HTML
Raw Normal View History

{% extends "base.html" %}
{% load tags %}
{% load i18n %}
{% load staticfiles %}
{% block header %}
<link type="text/css" rel="stylesheet" media="all" href="{% static 'styles/dashboard.css' %}" />
{% endblock %}
{% block javascript %}
<script type="text/javascript" src="{% static 'javascript/jquery-ui.min.js' %}"></script>
<script type="text/javascript" src="{% static 'javascript/dashboard.js' %}"></script>
<script type="text/javascript" src="{% static 'javascript/jquery.cookie.js' %}"></script>
2012-07-04 02:43:26 +02:00
<script type="text/javascript" src="{% static 'javascript/jquery.form.js' %}"></script>
{% endblock %}
{% block content %}
<h1>{% trans 'Dashboard' %}
<small class="pull-right">
2013-01-05 15:29:57 +01:00
<a href="{% url 'projector_select_widgets' %}" class="btn btn-mini" rel="tooltip" data-original-title="{% trans 'Manage widgets' %}"><i class="icon-th-large"></i> {% trans 'Widgets' %}</a>
</small>
</h1>
2012-03-12 18:22:18 +01:00
<div class="column" id="col1">
2012-08-15 11:56:43 +02:00
{% for name, widget in widgets.items %}
{% if widget.default_column == 1 %}
<div class="widget" id="widget_{{ widget.get_name }}">
2012-09-11 00:00:44 +02:00
<div class="widget-header">
<i class="{% if widget %}icon-{{widget.name}}{% else %}icon-star{% endif %}"></i>
<h3>{% trans widget.get_title %}</h3>
</div>
<div class="widget-content">
2012-08-15 11:56:43 +02:00
{{ widget.html }}
</div>
2012-06-11 13:43:48 +02:00
</div>
2012-08-15 11:56:43 +02:00
{% endif %}
{% endfor %}
</div> <!-- end column-->
<div class="column" id="col2">
2012-08-15 11:56:43 +02:00
{% for name, widget in widgets.items %}
{% if widget.default_column == 2 %}
<div class="widget" id="widget_{{ widget.get_name }}">
<div class="widget-header"><i class="{% if widget %}icon-{{widget.name}}{% else %}icon-star{% endif %}"></i>
<h3>{% trans widget.get_title %}<h3>
</div>
<div class="widget-content">
2012-08-15 11:56:43 +02:00
{{ widget.html }}
</div>
</div>
2012-08-15 11:56:43 +02:00
{% endif %}
{% endfor %}
</div> <!-- end column -->
{% endblock %}