Merge tag '0.10.2'
[ganeti_webmgr.git] / muddle / templates / base.html
blobcb3b8088613bcd4187141681fe521505621c6f0c
1 <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN"
2 "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
3 <?xml version="1.0" encoding="UTF-8"?>
5 <html xmlns="http://www.w3.org/1999/xhtml">
8 <!--
9 Copyright (C) 2009-2011 Oregon State University
11 Permission is hereby granted, free of charge, to any person obtaining a copy
12 of this software and associated documentation files (the "Software"), to deal
13 in the Software without restriction, including without limitation the rights
14 to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
15 copies of the Software, and to permit persons to whom the Software is
16 furnished to do so, subject to the following conditions:
18 The above copyright notice and this permission notice shall be included in
19 all copies or substantial portions of the Software.
21 THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
22 IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
23 FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
24 AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
25 LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
26 OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
27 THE SOFTWARE.
28 -->
30 <head>
31 <script type="text/javascript" src="http://ajax.googleapis.com/ajax/libs/jquery/1.4/jquery.min.js"></script>
33 {% block head %}
34 <link rel="stylesheet" type="text/css" href="../static/css/base.css" />
35 {% endblock %}
36 <head>
37 <body>
38 <div id="headerContainer">
39 {% block header %}
41 <div id="title_bar">
42 <a href="#">Muddle {{VERSION}}</a>
43 </div>
45 <div id="mainmenu">
46 <span class="mainmenuitem"><a class="mainmenuitem" href="{{ROOT}}/plugins">Plugins</a></span>
47 {% if user.is_authenticated %}
48 <span class="mainmenuitem lastmenuitem"><a class="mainmenuitem" href="{{ROOT}}/accounts/logout">Logout</a></span>
49 {% else %}
50 <span class="mainmenuitem lastmenuitem"><a class="mainmenuitem" href="{{ROOT}}/accounts/login">Login</a></span>
51 {% endif %}
52 </div>
53 <div id="submenu">
54 {% block submenu %}
55 {% endblock %}
56 </div>
57 {% endblock %}
58 </div>
60 <div id="errors">
61 {% block errors %}
62 {% endblock %}
63 </div>
65 <div id="content">
66 {% block content %}
67 {% endblock %}
68 </div>
70 </body>
71 </html>