1 {% extends
"base.html" %}
7 <link rel=
"stylesheet" type=
"text/css" href=
"{{STATIC_URL}}/css/jquery-ui.css"/>
8 <link rel=
"stylesheet" type=
"text/css" href=
"{{STATIC_URL}}/css/content.css"/>
10 <!-- Make main column line up with background when not showing main menu -->
11 {% if not user.is_authenticated %}
12 <style type=
"text/css"> #content-wrapper
{padding-left:140px} </style>
15 <!-- Include Javascript -->
16 <script type=
"text/javascript" src=
"{{STATIC_URL}}/js/jquery-ui.min.js"></script>
17 <script type=
"text/javascript" src=
"{{STATIC_URL}}/js/jquery.qtip.js"></script>
18 <script type=
"text/javascript" src=
"{{STATIC_URL}}/js/ajax_csrf_protection.js"></script>
21 {% block inner_header %}
22 {% ifnotequal LANGUAGES|length
1 %}|{% endifnotequal %}
23 {% if user.is_authenticated %}
24 {% trans
"You are logged in as" %}
<a href=
"{% url profile %}">
25 {{user.username}}
</a>,
26 <a href=
"{% url logout %}">{% trans
"Logout" %}
</a>
28 <a href=
"{% url login %}">{% trans
"Login" %}
</a>
32 {% block navigation %}
33 {% if user.is_authenticated %}
34 <div id=
"mainmenu" class=
"menu">
36 <li><a href=
"{% url index %}">{% trans
"Overview" %}
</a></li>
37 {% shot main_menu %}{% endshot %}
38 {% if user.is_superuser %}
39 <li><h3>{% trans
"Admin" %}
</h3></li>
40 {% shot admin_menu %}{% endshot %}
41 <li><a href=
"{% url user-list %}">{% trans
"Users" %}
</a></li>
42 <li><a href=
"{% url group-list %}">{% trans
"Groups" %}
</a></li>