2012-02-09 16:57:10 +01:00
|
|
|
{% load tags %}
|
|
|
|
{% load i18n %}
|
2012-04-14 14:51:56 +02:00
|
|
|
{% load staticfiles %}
|
2012-02-09 16:57:10 +01:00
|
|
|
|
2011-07-31 10:46:29 +02:00
|
|
|
<?xml version="1.0" encoding="UTF-8"?>
|
|
|
|
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.1//EN"
|
|
|
|
"http://www.w3.org/TR/xhtml11/DTD/xhtml11.dtd">
|
|
|
|
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en">
|
|
|
|
<head>
|
|
|
|
<title>{% block title %}{% get_config 'event_name' %}{% endblock %}</title>
|
2012-04-14 14:51:56 +02:00
|
|
|
<link type="text/css" rel="stylesheet" media="all" href="{% static 'styles/base.css' %}" />
|
|
|
|
<link rel="shortcut icon" href="{% static 'images/favicon.png' %}" type="image/png" />
|
|
|
|
<script type="text/javascript" src="{% static 'javascript/jquery.js' %}"></script>
|
2012-04-15 10:30:34 +02:00
|
|
|
<script type="text/javascript" src="{% static 'javascript/utils.js' %}"></script>
|
2012-04-16 11:12:21 +02:00
|
|
|
<script type="text/javascript" src="{% url django.views.i18n.javascript_catalog %}"></script>
|
2011-09-03 11:42:44 +02:00
|
|
|
{% block header %}
|
2011-07-31 10:46:29 +02:00
|
|
|
{% endblock %}
|
|
|
|
</head>
|
|
|
|
<body>
|
|
|
|
<div id="header">
|
2012-04-14 14:51:56 +02:00
|
|
|
<a href="/" title="{% trans 'Home' %}"><div id="logo"><img src="{% static 'images/logo.png' %}"></div></a>
|
2011-07-31 10:46:29 +02:00
|
|
|
<div id="header_title">{% get_config 'event_name' %}</div>
|
|
|
|
<div id="header_subtitle">{% get_config 'event_description' %}</div>
|
|
|
|
<div id="header_userprofile">
|
|
|
|
<ul>
|
|
|
|
{% if user.is_authenticated %}
|
|
|
|
<li>|<a href="{% url user_logout %}">{%trans "Logout" %}</a></li>
|
2012-03-22 17:30:02 +01:00
|
|
|
<li>|<a href="{% url user_settings %}">{%trans "User Settings" %}</a></li>
|
2011-10-31 20:21:19 +01:00
|
|
|
<li>{%trans "Welcome" %}, <strong>{{ user.username }}</strong></li>
|
2011-07-31 10:46:29 +02:00
|
|
|
{% else %}
|
|
|
|
<li><a href="{% url user_login %}">{%trans "Login" %}</a></li>
|
|
|
|
{% endif %}
|
|
|
|
</ul>
|
|
|
|
</div>
|
|
|
|
|
|
|
|
<div id="mainmenu">
|
|
|
|
{% block mainmenu %}
|
|
|
|
<ul>
|
2012-03-18 17:11:58 +01:00
|
|
|
{% for tab in tabs %}
|
|
|
|
{% if tab.permission %}
|
|
|
|
<li{% if tab.selected%} class="selected"{% endif %}>
|
|
|
|
<a href="{{ tab.url }}">{{ tab.title }}</a>
|
|
|
|
</li>
|
|
|
|
{% endif %}
|
|
|
|
{% endfor %}
|
2011-07-31 10:46:29 +02:00
|
|
|
</ul>
|
|
|
|
{% endblock %}
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
|
|
|
|
<div id="wrapper">
|
|
|
|
<div id="content">
|
2012-04-17 13:41:43 +02:00
|
|
|
<div id="notifications">
|
|
|
|
<div id="dummy-notification" class="notification" style="display:none">
|
|
|
|
<a class="close" href="#">
|
|
|
|
<img alt="close" title="{% trans 'Close this notification' %}" src="{% static 'images/icons/cross.png' %}">
|
|
|
|
</a>
|
|
|
|
<em></em>
|
|
|
|
</div>
|
2011-07-31 10:46:29 +02:00
|
|
|
{% for message in messages %}
|
|
|
|
<div class="notification {% if message.tags %}{{ message.tags }}{% endif %}">
|
|
|
|
<a class="close" href="#">
|
2012-04-14 14:51:56 +02:00
|
|
|
<img alt="close" title="{% trans 'Close this notification' %}" src="{% static 'images/icons/cross.png' %}">
|
2011-07-31 10:46:29 +02:00
|
|
|
</a>
|
|
|
|
<em>{{ message|safe }}</em>
|
|
|
|
</div>
|
|
|
|
{% endfor %}
|
|
|
|
<script>
|
|
|
|
$("div.notification").click(function () {
|
|
|
|
$(this).hide("fast");
|
|
|
|
});
|
|
|
|
</script>
|
2012-04-17 13:41:43 +02:00
|
|
|
</div>
|
2011-07-31 10:46:29 +02:00
|
|
|
{% block content %}
|
|
|
|
{% endblock %}
|
|
|
|
<div id="footer">
|
|
|
|
<small>
|
2012-04-15 10:36:37 +02:00
|
|
|
© Copyright 2011 | Powered by <a href="http://openslides.org">OpenSlides</a>
|
2011-07-31 10:46:29 +02:00
|
|
|
</small>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
</div> <!-- end wrapper -->
|
|
|
|
|
|
|
|
<div id="submenu">
|
|
|
|
<div class="section">
|
|
|
|
{% block submenu %}
|
|
|
|
{% endblock %}
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
</body>
|
|
|
|
</html>
|