1 {% load object_permission_tags %}
6 <title>{% block title %}Ganeti Web Manager{% endblock %}
</title>
7 <link rel=
"stylesheet" type=
"text/css" href=
"{{MEDIA_URL}}/css/base.css"/>
8 <script type=
"text/javascript" src=
"{{MEDIA_URL}}/js/jquery.js"></script>
9 <script type=
"text/javascript">
10 function requireOnce(url
) {
11 if (!$("script[scr='" + url
+ "']").length
) {
12 $('head').append("<script type='text/javascript' src='" + url
+ "'><//script>");
16 {% ifnotequal LANGUAGES|length
1 %}
17 <script type=
"text/javascript" src=
"{{MEDIA_URL}}/js/L18N.js"></script>
19 {% block basehead %}{% endblock %}
20 {% block head %}{% endblock %}
24 <div id=
"body_wrapper">
25 <div id=
"header_strip"></div>
27 <a href=
"/" id=
"logo"><img src=
"{{MEDIA_URL}}/logo.png"/></a>
28 {% if LANGUAGES|length
>=
2 or user.is_authenticated %}
30 {% ifnotequal LANGUAGES|length
1 %}
<span id=
"language">{{ LANGUAGE_CODE }}
▼</span>{% endifnotequal %}
31 {% block inner_header %}{% endblock %}
32 {% ifnotequal LANGUAGES|length
1 %}
34 {% for lang in LANGUAGES %}
35 <li><a class=
"select_lang" href=
"#" title=
"{{lang.1}}" {% ifequal LANGUAGE_CODE lang
.0 %}
class=
"current"{% endifequal %}
>{{ lang
.0 }}
</a></li>
37 <form action=
"/i18n/setlang/" method=
"post" id=
"langform">
39 <input id=
"langsel" name=
"language" type=
"hidden" value=
"" />
41 <div class=
"floatfix"></div>
47 <div id=
"content_wrapper">
48 <div id=
"content_column">
49 {% block navigation %}{% endblock %}
51 {% block content %}{% endblock %}
53 <div class=
"floatfix"></div>
58 <p><a href=
"{% url about %}">About Ganeti Web Manager
</a></p>