4 <title>{% block title %}Ganeti Web Manager{% endblock %}
</title>
5 <link rel=
"stylesheet" type=
"text/css" href=
"{{STATIC_URL}}/css/base.css"/>
6 <script type=
"text/javascript" src=
"{{STATIC_URL}}/js/jquery.js"></script>
7 <script type=
"text/javascript">
8 function requireOnce(url
) {
9 if (!$("script[src='" + url
+ "']").length
) {
10 $('head').append("<script type='text/javascript' src='" + url
+ "'><//script>");
14 {% ifnotequal LANGUAGES|length
1 %}
15 <script type=
"text/javascript" src=
"{{STATIC_URL}}/js/L18N.js"></script>
17 {% block basehead %}{% endblock %}
18 {% block head %}{% endblock %}
22 <div id=
"body_wrapper">
23 <div id=
"header_strip"></div>
25 <a href=
"/" id=
"logo"><img src=
"{{STATIC_URL}}/logo.png"/></a>
26 {% if LANGUAGES|length
>=
2 or user.is_authenticated %}
28 {% ifnotequal LANGUAGES|length
1 %}
<span id=
"language">{{ LANGUAGE_CODE }}
▼</span>{% endifnotequal %}
29 {% block inner_header %}{% endblock %}
30 {% ifnotequal LANGUAGES|length
1 %}
32 {% for lang in LANGUAGES %}
33 <li><a class=
"select_lang" href=
"#" title=
"{{lang.1}}" {% ifequal LANGUAGE_CODE lang
.0 %}
class=
"current"{% endifequal %}
>{{ lang
.0 }}
</a></li>
35 <form action=
"/i18n/setlang/" method=
"post" id=
"langform">
37 <input id=
"langsel" name=
"language" type=
"hidden" value=
"" />
39 <div class=
"floatfix"></div>
45 <div id=
"content_wrapper">
46 <div id=
"content_column">
47 {% block navigation %}{% endblock %}
49 {% block content %}{% endblock %}
51 <div class=
"floatfix"></div>
56 <p><a href=
"{{ SITE_ROOT }}/about">About Ganeti Web Manager
</a></p>