2012-03-06 08:19:49 +01:00
|
|
|
{% extends "projector/base_projector.html" %}
|
|
|
|
|
|
|
|
{% load tags %}
|
|
|
|
{% load i18n %}
|
2012-04-14 14:51:56 +02:00
|
|
|
{% load staticfiles %}
|
2012-03-06 08:19:49 +01:00
|
|
|
|
|
|
|
{% block header %}
|
2012-04-17 09:13:02 +02:00
|
|
|
<link type="text/css" href="{% static 'styles/humanity/jquery-ui-1.8.18.custom.css' %}" rel="stylesheet" />
|
2012-08-22 09:39:20 +02:00
|
|
|
<link type="text/css" rel="stylesheet" media="all" href="{% static 'styles/dashboard.css' %}" />
|
2012-04-14 15:00:24 +02:00
|
|
|
<script type="text/javascript" src="{% static 'javascript/jquery-ui-1.8.18.custom.min.js' %}"></script>
|
2012-08-22 09:39:20 +02:00
|
|
|
<script type="text/javascript" src="{% static 'javascript/dashboard.js' %}"></script>
|
2012-04-14 15:00:24 +02:00
|
|
|
<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>
|
2012-03-06 08:19:49 +01:00
|
|
|
{% endblock %}
|
|
|
|
|
|
|
|
{% block content %}
|
2012-08-15 10:58:29 +02:00
|
|
|
<h1>{% trans 'Dashboard' %}</h1>
|
2012-03-12 18:22:18 +01:00
|
|
|
|
2012-04-28 22:31:30 +02: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="portlet" id="portlet_{{ widget.get_name }}">
|
|
|
|
<div class="portlet-header">{% trans widget.get_title %}</div>
|
|
|
|
<div class="portlet-content">
|
|
|
|
{{ widget.html }}
|
|
|
|
</div>
|
2012-06-11 13:43:48 +02:00
|
|
|
</div>
|
2012-08-15 11:56:43 +02:00
|
|
|
{% endif %}
|
|
|
|
{% endfor %}
|
2012-04-14 16:17:26 +02:00
|
|
|
</div> <!-- end column-->
|
2012-03-07 06:44:43 +01:00
|
|
|
|
2012-04-28 22:31:30 +02:00
|
|
|
<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="portlet" id="portlet_{{ widget.get_name }}">
|
|
|
|
<div class="portlet-header">{% trans widget.get_title %}</div>
|
|
|
|
<div class="portlet-content">
|
|
|
|
{{ widget.html }}
|
|
|
|
</div>
|
2012-03-21 22:21:23 +01:00
|
|
|
</div>
|
2012-08-15 11:56:43 +02:00
|
|
|
{% endif %}
|
|
|
|
{% endfor %}
|
2012-04-14 16:17:26 +02:00
|
|
|
</div> <!-- end column -->
|
2012-03-06 08:19:49 +01:00
|
|
|
{% endblock %}
|