source: trunk/sara_cmt/sara_cmt/cluster/templates/admin/base.html @ 12300

Last change on this file since 12300 was 12300, checked in by sil, 13 years ago

Changed frontpage of cmt.hpcv.sara.nl to login-page. All CMT-pages now have a link to the documentation

File size: 3.6 KB
Line 
1<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
2<html xmlns="http://www.w3.org/1999/xhtml" lang="{{ LANGUAGE_CODE|default:"en-us" }}" xml:lang="{{ LANGUAGE_CODE|default:"en-us" }}" {% if LANGUAGE_BIDI %}dir="rtl"{% endif %}>
3<head>
4<title>{% block title %}{% endblock %}</title>
5<link rel="stylesheet" type="text/css" href="{% block stylesheet %}{% load adminmedia %}{% admin_media_prefix %}css/base.css{% endblock %}" />
6{% block extrastyle %}{% endblock %}
7<!--[if lte IE 7]><link rel="stylesheet" type="text/css" href="{% block stylesheet_ie %}{% load adminmedia %}{% admin_media_prefix %}css/ie.css{% endblock %}" /><![endif]-->
8{% if LANGUAGE_BIDI %}<link rel="stylesheet" type="text/css" href="{% block stylesheet_rtl %}{% admin_media_prefix %}css/rtl.css{% endblock %}" />{% endif %}
9<script type="text/javascript">window.__admin_media_prefix__ = "{% filter escapejs %}{% admin_media_prefix %}{% endfilter %}";</script>
10{% block extrahead %}{% endblock %}
11{% block blockbots %}<meta name="robots" content="NONE,NOARCHIVE" />{% endblock %}
12</head>
13{% load i18n %}
14
15<body class="{% if is_popup %}popup {% endif %}{% block bodyclass %}{% endblock %}">
16
17<!-- Container -->
18<div id="container">
19
20    {% if not is_popup %}
21    <!-- Header -->
22    <div id="header">
23        <div id="branding">
24        {% block branding %}{% endblock %}
25        </div>
26        {% if user.is_active and user.is_staff %}
27        <div id="user-tools">
28            {% trans 'Welcome,' %}
29            <strong>{% filter force_escape %}{% firstof user.first_name user.username %}{% endfilter %}</strong>.
30            {% block userlinks %}
31                {% url django-admindocs-docroot as docsroot %}
32                {% if docsroot %}
33                    <a href="{{ docsroot }}">{% trans 'Documentation' %}</a> /
34                {% endif %}
35                {% url admin:password_change as password_change_url %}
36                {% if password_change_url %}
37                    <a href="{{ password_change_url }}">
38                {% else %}
39                    <a href="{{ root_path }}password_change/">
40                {% endif %}
41                {% trans 'Change password' %}</a> /
42                {% url admin:logout as logout_url %}
43                {% if logout_url %}
44                    <a href="{{ logout_url }}">
45                {% else %}
46                    <a href="{{ root_path }}logout/">
47                {% endif %}
48                {% trans 'Log out' %}</a> /
49                <a href="http://cmt.hpcv.sara.nl/doc/">
50                {% trans 'Documentation' %}</a>
51            {% endblock %}
52        </div>
53        {% endif %}
54        {% block nav-global %}{% endblock %}
55    </div>
56    <!-- END Header -->
57    {% block breadcrumbs %}<div class="breadcrumbs"><a href="/">{% trans 'Home' %}</a>{% if title %} &rsaquo; {{ title }}{% endif %}</div>{% endblock %}
58    {% endif %}
59
60        {% if messages %}
61        <ul class="messagelist">{% for message in messages %}
62          <li{% if message.tags %} class="{{ message.tags }}"{% endif %}>{{ message }}</li>
63        {% endfor %}</ul>
64        {% endif %}
65
66    <!-- Content -->
67    <div id="content" class="{% block coltype %}colM{% endblock %}">
68        {% block pretitle %}{% endblock %}
69        {% block content_title %}{% if title %}<h1>{{ title }}</h1>{% endif %}{% endblock %}
70        {% block content %}
71        {% block object-tools %}{% endblock %}
72        {{ content }}
73        {% endblock %}
74        {% block sidebar %}{% endblock %}
75        <br class="clear" />
76    </div>
77    <!-- END Content -->
78
79    {% block footer %}<div id="footer"></div>{% endblock %}
80</div>
81<!-- END Container -->
82
83</body>
84</html>
Note: See TracBrowser for help on using the repository browser.