|
0
|
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 }}" xml:lang="{{ LANGUAGE_CODE }}" {% 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 %} |
|
29
|
9 |
<script type="text/javascript">window.__admin_media_prefix__ = "{% filter escapejs %}{% admin_media_prefix %}{% endfilter %}";</script> |
|
0
|
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> |
|
29
|
26 |
{% if user.is_active and user.is_staff %} |
|
0
|
27 |
<div id="user-tools"> |
|
|
28 |
{% trans 'Welcome,' %} |
|
29
|
29 |
<strong>{% filter force_escape %}{% firstof user.first_name user.username %}{% endfilter %}</strong>. |
|
0
|
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 |
{% endblock %} |
|
|
50 |
</div> |
|
|
51 |
{% endif %} |
|
|
52 |
{% block nav-global %}{% endblock %} |
|
|
53 |
</div> |
|
|
54 |
<!-- END Header --> |
|
|
55 |
{% block breadcrumbs %}<div class="breadcrumbs"><a href="/">{% trans 'Home' %}</a>{% if title %} › {{ title }}{% endif %}</div>{% endblock %} |
|
|
56 |
{% endif %} |
|
|
57 |
|
|
|
58 |
{% if messages %} |
|
|
59 |
<ul class="messagelist">{% for message in messages %}<li>{{ message }}</li>{% endfor %}</ul> |
|
|
60 |
{% endif %} |
|
|
61 |
|
|
|
62 |
<!-- Content --> |
|
|
63 |
<div id="content" class="{% block coltype %}colM{% endblock %}"> |
|
|
64 |
{% block pretitle %}{% endblock %} |
|
|
65 |
{% block content_title %}{% if title %}<h1>{{ title }}</h1>{% endif %}{% endblock %} |
|
|
66 |
{% block content %} |
|
|
67 |
{% block object-tools %}{% endblock %} |
|
|
68 |
{{ content }} |
|
|
69 |
{% endblock %} |
|
|
70 |
{% block sidebar %}{% endblock %} |
|
|
71 |
<br class="clear" /> |
|
|
72 |
</div> |
|
|
73 |
<!-- END Content --> |
|
|
74 |
|
|
|
75 |
{% block footer %}<div id="footer"></div>{% endblock %} |
|
|
76 |
</div> |
|
|
77 |
<!-- END Container --> |
|
|
78 |
|
|
|
79 |
</body> |
|
|
80 |
</html> |