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>
|
2012-09-05 00:20:28 +02:00
|
|
|
|
<meta charset="utf-8">
|
|
|
|
|
<meta name="viewport" content="width=device-width, initial-scale=1.0">
|
2011-07-31 10:46:29 +02:00
|
|
|
|
<title>{% block title %}{% get_config 'event_name' %}{% endblock %}</title>
|
2012-09-05 00:20:28 +02:00
|
|
|
|
|
|
|
|
|
<!-- styles -->
|
2013-01-18 22:10:00 +01:00
|
|
|
|
<link href="{% static 'styles/bootstrap.min.css' %}" type="text/css" rel="stylesheet">
|
|
|
|
|
<link href="{% static 'styles/bootstrap-responsive.min.css' %}" type="text/css" rel="stylesheet">
|
2012-09-05 00:20:28 +02:00
|
|
|
|
<link href="{% static 'styles/base.css' %}" type="text/css" rel="stylesheet">
|
|
|
|
|
<link href="{% static 'img/favicon.png' %}" type="image/png" rel="shortcut icon" />
|
2013-01-05 15:29:57 +01:00
|
|
|
|
|
2011-09-03 11:42:44 +02:00
|
|
|
|
{% block header %}
|
2011-07-31 10:46:29 +02:00
|
|
|
|
{% endblock %}
|
|
|
|
|
</head>
|
|
|
|
|
<body>
|
2012-09-05 00:20:28 +02:00
|
|
|
|
<!-- Navbar -->
|
|
|
|
|
<div class="container-fluid nopadding">
|
|
|
|
|
<div class="row-fluid">
|
|
|
|
|
<div class="span12">
|
|
|
|
|
<div id="header">
|
|
|
|
|
<a href="/" class="logo" title="{% trans 'Home' %}"><img src="{% static 'img/logo.png' %}"></a>
|
|
|
|
|
<!--<a class="title" href="#">{% get_config 'event_name' %}</a>-->
|
|
|
|
|
<div class="btn-group pull-right">
|
|
|
|
|
{% if user.is_authenticated %}
|
|
|
|
|
<a href="#" data-toggle="dropdown" class="btn btn-small dropdown-toggle">
|
|
|
|
|
<i class="icon-user"></i> {{ user.username }}
|
|
|
|
|
<span class="caret"></span>
|
|
|
|
|
</a>
|
|
|
|
|
<ul class="dropdown-menu">
|
2013-01-05 15:29:57 +01:00
|
|
|
|
{% url 'user_settings' as url_usersettings %}
|
|
|
|
|
<li><a href="{% url 'user_settings' %}"><i class="icon-cog"></i> {% trans "Profile" %}</a></li>
|
|
|
|
|
<li><a href="{% url 'password_change' %}"><i class="icon-lock"></i> {% trans "Change password" %}</a></li>
|
2012-09-05 00:20:28 +02:00
|
|
|
|
<li class="divider"></li>
|
2013-01-05 15:29:57 +01:00
|
|
|
|
<li><a href="{% url 'user_logout' %}"><i class="icon-off"></i> {% trans "Logout" %}</a></li>
|
2012-09-05 00:20:28 +02:00
|
|
|
|
</ul>
|
|
|
|
|
{% else %}
|
2013-01-05 15:29:57 +01:00
|
|
|
|
<a href="{% url 'user_login' %}" class="btn">{% trans "Login" %}</a>
|
2012-09-05 00:20:28 +02:00
|
|
|
|
{% endif %}
|
|
|
|
|
</div>
|
|
|
|
|
</div> <!--/#header-->
|
|
|
|
|
</div> <!--/.span12-->
|
2011-07-31 10:46:29 +02:00
|
|
|
|
</div>
|
2012-09-05 00:20:28 +02:00
|
|
|
|
</div> <!--/.container-fluid-->
|
2011-07-31 10:46:29 +02:00
|
|
|
|
|
|
|
|
|
|
2012-09-07 21:25:18 +02:00
|
|
|
|
{% block body %}
|
2012-09-05 00:20:28 +02:00
|
|
|
|
<!-- Container -->
|
|
|
|
|
<div class="container-fluid" id="container">
|
|
|
|
|
<div class="row-fluid">
|
|
|
|
|
|
|
|
|
|
<!-- Sidebar navigation-->
|
|
|
|
|
<div class="span2 leftmenu lefticon">
|
|
|
|
|
<ul>
|
|
|
|
|
{% for tab in tabs %}
|
|
|
|
|
{% if tab.permission %}
|
|
|
|
|
<li{% if tab.selected %} class="active"{% endif %}>
|
|
|
|
|
<a href="{{ tab.url }}">
|
|
|
|
|
<span class="ico"><i class="icon-{{tab.app}}"></i></span>
|
|
|
|
|
<span class="text">{{ tab.title }}</span>
|
|
|
|
|
</a>
|
|
|
|
|
</li>
|
|
|
|
|
{% endif %}
|
|
|
|
|
{% endfor %}
|
|
|
|
|
</ul>
|
|
|
|
|
</div>
|
|
|
|
|
|
|
|
|
|
<!-- Content -->
|
|
|
|
|
<div id="content" class="span10">
|
|
|
|
|
<div class="row-fluid">
|
|
|
|
|
<div class="span12">
|
|
|
|
|
<div id="notifications">
|
|
|
|
|
<div id="dummy-notification" class="notification" style="display:none">
|
|
|
|
|
<button type="button" class="close" data-dismiss="alert">×</button>
|
|
|
|
|
</div>
|
|
|
|
|
{% for message in messages %}
|
|
|
|
|
<div class="alert {% if message.tags %}alert-{{ message.tags }}{% endif %}">
|
|
|
|
|
<button type="button" class="close" data-dismiss="alert">×</button>
|
|
|
|
|
{{ message|safe }}
|
|
|
|
|
</div>
|
|
|
|
|
{% endfor %}
|
|
|
|
|
</div>
|
|
|
|
|
|
|
|
|
|
{% block content %}
|
|
|
|
|
{% endblock %}
|
2011-07-31 10:46:29 +02:00
|
|
|
|
</div>
|
2012-09-05 00:20:28 +02:00
|
|
|
|
</div>
|
|
|
|
|
<hr>
|
|
|
|
|
<footer>
|
|
|
|
|
<small>
|
2013-01-02 23:01:43 +01:00
|
|
|
|
© Copyright 2011-2012 | Powered by <a href="http://openslides.org" target="_blank">OpenSlides</a> | {% trans "Get <a href='http://openslides.org/support' target='_blank'>professional support</a> for OpenSlides." %}
|
2012-09-05 00:20:28 +02:00
|
|
|
|
</small>
|
|
|
|
|
</footer>
|
|
|
|
|
</div><!--/content-->
|
|
|
|
|
|
|
|
|
|
</div><!--/row-->
|
|
|
|
|
</div><!--/container-fluid-->
|
|
|
|
|
|
|
|
|
|
|
2012-09-07 21:25:18 +02:00
|
|
|
|
{% endblock %}<!--/body-->
|
2012-09-05 00:20:28 +02:00
|
|
|
|
|
|
|
|
|
<!-- JavaScript (Placed at the end of the document so the pages load faster) -->
|
2013-01-18 22:10:00 +01:00
|
|
|
|
<script src="{% static 'javascript/jquery.min.js' %}" type="text/javascript"></script>
|
2012-09-05 00:20:28 +02:00
|
|
|
|
<script src="{% static 'javascript/utils.js' %}" type="text/javascript"></script>
|
|
|
|
|
<script src="{% static 'javascript/bootstrap.min.js' %}" type="text/javascript"></script>
|
2013-01-05 15:29:57 +01:00
|
|
|
|
<script type="text/javascript" src="{% url 'django.views.i18n.javascript_catalog' %}"></script>
|
2012-09-05 00:20:28 +02:00
|
|
|
|
{% block javascript %}
|
|
|
|
|
{% endblock %}
|
2011-07-31 10:46:29 +02:00
|
|
|
|
</body>
|
|
|
|
|
</html>
|