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
|
|
|
|
|
2013-05-30 14:41:22 +02:00
|
|
|
|
<!DOCTYPE html>
|
|
|
|
|
<html lang="{{LANGUAGE_CODE}}">
|
2011-07-31 10:46:29 +02:00
|
|
|
|
<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-02-16 16:19:20 +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" />
|
|
|
|
|
<link href="{% static 'styles/base.css' %}" type="text/css" rel="stylesheet" />
|
2012-09-05 00:20:28 +02:00
|
|
|
|
<link href="{% static 'img/favicon.png' %}" type="image/png" rel="shortcut icon" />
|
2013-02-16 16:19:20 +01:00
|
|
|
|
{% for stylefile in extra_stylefiles %}
|
|
|
|
|
<link href="{% static stylefile %}" type="text/css" rel="stylesheet" />
|
|
|
|
|
{% endfor %}
|
|
|
|
|
{% block header %}{% endblock %}
|
2011-07-31 10:46:29 +02:00
|
|
|
|
</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">
|
2013-05-30 14:41:22 +02:00
|
|
|
|
<a href="/" class="logo" title="{% trans 'Home' %}"><img src="{% static 'img/logo.png' %}" alt="{% trans 'Logo' %}" /></a>
|
2013-04-25 12:37:44 +02:00
|
|
|
|
<span class="title optional">{% get_config 'event_name' %} – {% get_config 'event_description' %}</span>
|
2013-01-31 10:19:56 +01:00
|
|
|
|
{% block loginbutton %}
|
2013-09-08 14:44:41 +02:00
|
|
|
|
<div class="pull-right">
|
|
|
|
|
<!-- Search field -->
|
2013-11-06 00:11:13 +01:00
|
|
|
|
<form class="navbar-search" action="{% url 'search' %}" method="get">
|
2013-09-08 14:44:41 +02:00
|
|
|
|
<div class="input-append">
|
2013-11-06 00:11:13 +01:00
|
|
|
|
<input type="text" id="id_q" name="q" class="input-medium" placeholder="{% trans 'Search' %}">
|
2013-09-08 14:44:41 +02:00
|
|
|
|
<button type="submit" class="btn"><i class="icon-search"></i></button>
|
|
|
|
|
</div>
|
|
|
|
|
</form>
|
|
|
|
|
|
|
|
|
|
<!-- login/logout button -->
|
2013-10-19 22:16:43 +02:00
|
|
|
|
<div class="btn-group">
|
2013-09-08 14:44:41 +02:00
|
|
|
|
{% if user.is_authenticated %}
|
|
|
|
|
<a href="#" data-toggle="dropdown" class="btn dropdown-toggle">
|
|
|
|
|
<i class="icon-user"></i> {{ user.username }}
|
|
|
|
|
<span class="caret"></span>
|
|
|
|
|
</a>
|
2013-10-28 21:42:16 +01:00
|
|
|
|
<ul class="dropdown-menu pull-right">
|
2013-09-08 14:44:41 +02:00
|
|
|
|
<li><a href="{% url 'user_settings' %}"><i class="icon-cog"></i> {% trans "Edit profile" %}</a></li>
|
|
|
|
|
<li><a href="{% url 'password_change' %}"><i class="icon-lock"></i> {% trans "Change password" %}</a></li>
|
|
|
|
|
<li class="divider"></li>
|
|
|
|
|
<li><a href="{% url 'user_logout' %}"><i class="icon-off"></i> {% trans "Logout" %}</a></li>
|
|
|
|
|
</ul>
|
|
|
|
|
{% else %}
|
|
|
|
|
<a href="{% url 'user_login' %}" class="btn"><i class="icon-login"></i> {% trans "Login" %}</a>
|
|
|
|
|
{% endif %}
|
|
|
|
|
</div>
|
2012-09-05 00:20:28 +02:00
|
|
|
|
</div>
|
2013-01-31 10:19:56 +01:00
|
|
|
|
{% endblock %}
|
2012-09-05 00:20:28 +02:00
|
|
|
|
</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 %}>
|
2013-04-22 19:59:05 +02:00
|
|
|
|
<a href="{{ tab.url }}" class="tooltip-right">
|
2013-02-16 16:19:20 +01:00
|
|
|
|
<span class="ico"><i class="icon-{{ tab.app }}"></i></span>
|
2012-09-05 00:20:28 +02:00
|
|
|
|
<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">
|
2013-02-05 21:33:07 +01:00
|
|
|
|
<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>
|
2012-09-05 00:20:28 +02:00
|
|
|
|
|
|
|
|
|
{% block content %}
|
|
|
|
|
{% endblock %}
|
2011-07-31 10:46:29 +02:00
|
|
|
|
</div>
|
2012-09-05 00:20:28 +02:00
|
|
|
|
</div>
|
2013-02-16 16:19:20 +01:00
|
|
|
|
<hr />
|
2012-09-05 00:20:28 +02:00
|
|
|
|
<footer>
|
|
|
|
|
<small>
|
2013-04-25 12:37:44 +02:00
|
|
|
|
© Copyright 2011–2013 | Powered by <a href="http://openslides.org" target="_blank">OpenSlides</a> | <a href="{% url 'core_version' %}">Version</a>
|
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/bootstrap.min.js' %}" type="text/javascript"></script>
|
2013-02-05 21:33:07 +01:00
|
|
|
|
<script src="{% static 'javascript/utils.js' %}" type="text/javascript"></script>
|
|
|
|
|
<script src="{% url 'django.views.i18n.javascript_catalog' %}" type="text/javascript"></script>
|
2013-03-01 17:13:12 +01:00
|
|
|
|
{% for javascript in extra_javascript %}
|
|
|
|
|
<script src="{% static javascript %}" type="text/javascript"></script>
|
|
|
|
|
{% endfor %}
|
2013-02-16 16:19:20 +01:00
|
|
|
|
{% block javascript %}{% endblock %}
|
2011-07-31 10:46:29 +02:00
|
|
|
|
</body>
|
|
|
|
|
</html>
|