]> git.openstreetmap.org Git - osqa.git/blob - forum/skins/default/templates/osqaadmin/djstyle_base.html
Show the svn version in new admin.
[osqa.git] / forum / skins / default / templates / osqaadmin / djstyle_base.html
1 {% load extra_tags %}
2 {% load i18n %}
3
4 <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN"
5         "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
6
7 <html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
8 <head>
9     <meta http-equiv="Content-Type" content="text/html; charset=utf-8"/>
10     <link rel="stylesheet" href="{{ settings.ADMIN_MEDIA_PREFIX }}css/base.css" type="text/css"/>
11     <link rel="stylesheet" href="{{ settings.ADMIN_MEDIA_PREFIX }}css/forms.css" type="text/css"/>
12     <link rel="stylesheet" href="{{ settings.ADMIN_MEDIA_PREFIX }}css/changelists.css" type="text/css"/>
13     <link rel="stylesheet" type="text/css" media="screen" href="{% media "/media/style/djstyle_admin.css" %}"/>
14     <script src="http://www.google.com/jsapi" type="text/javascript"></script>
15     <script type="text/javascript">
16     //<!--
17         google.load("jquery", "1.3");
18     //-->
19     </script>
20     <script type="text/javascript" src="{% media "/media/js/osqa.admin.js" %}"></script>
21     {% block adminjs %}{% endblock %}
22     <title>{% trans "OSQA administration area" %} - {% block subtitle %}{% endblock %}</title>
23 </head>
24 <body>
25 <div id="container">
26         <div id="header">
27             {% block header %}
28             <div id="branding">
29                 <h1 id="site-name"><a href="{% url index %}">{{ settings.APP_SHORT_NAME }} - {% trans "Administration Area" %}</a> </h1>
30             </div>
31             {% endblock %}
32             <div id="user-tools">
33                 {% trans "Welcome," %}
34                 <strong>{{ request.user.username }}</strong>.
35                 <a href="{% url admin_switch_interface %}?to=default">{% trans "To standard interface" %}</a> / <a href="{% url logout %}">{% trans "Log out" %}</a>
36             </div>
37         </div>
38         <div class="breadcrumbs">
39             <a href="{% url index %}">{% trans "Home" %}</a> &gt
40             <a href="{% url admin_index %}">{% trans "Dashboard" %}</a> &gt;
41             {% block pagename %}{% endblock %} - 
42             {% block description %}{% endblock %}
43         </div>
44         <div id="content" class="colMS">
45             <div id="content-main">
46                 {% block admincontent %}{% endblock %}
47             </div>
48             <div id="content-related">
49                 <div id="basic-sets-menu" class="module">
50                     <h2>{% trans "Basic settings" %}</h2>
51                     <ul>
52                         <li><a href="{% url admin_set allsets.basic.name %}">{{ allsets.basic.title }}</a></li>
53                         <li><a href="{% url admin_set allsets.users.name %}">{{ allsets.users.title }}</a></li>
54                         <li><a href="{% url admin_set allsets.email.name %}">{{ allsets.email.title }}</a></li>
55                         <li><a href="{% url admin_set allsets.paths.name %}">{{ allsets.paths.title }}</a></li>
56                         <li><a href="{% url admin_set allsets.extkeys.name %}">{{ allsets.extkeys.title }}</a></li>
57                     </ul>
58                 </div>
59                 <div id="workflow-sets-menu" class="module">
60                     <h2>{% trans "Workflow settings" %}</h2>
61                     <ul>
62                         <li><a href="{% url admin_set allsets.repgain.name %}">{{ allsets.repgain.title }}</a></li>
63                         <li><a href="{% url admin_set allsets.minrep.name %}">{{ allsets.minrep.title }}</a></li>
64                         <li><a href="{% url admin_set allsets.voting.name %}">{{ allsets.voting.title }}</a></li>
65                         <li><a href="{% url admin_set allsets.badges.name %}">{{ allsets.badges.title }}</a></li>
66                     </ul>
67                 </div>
68                 <div id="forum-sets-menu" class="module">
69                     <h2>{% trans "Forum settings" %}</h2>
70                     <ul>
71                         <li><a href="{% url admin_set allsets.form.name %}">{{ allsets.form.title }}</a></li>
72                         <li><a href="{% url admin_set allsets.moderation.name %}">{{ allsets.moderation.title }}</a></li>
73                     </ul>
74                 </div>
75                 <div id="pages-sets-menu" class="module">
76                     <h2>{% trans "Static content" %}</h2>
77                     <ul>
78                         <li><a href="{% url admin_set allsets.about.name %}">{{ allsets.about.title }}</a></li>
79                         <li><a href="{% url admin_set allsets.faq.name %}">{{ allsets.faq.title }}</a></li>
80                         <li><a href="{% url admin_set allsets.sidebar.name %}">{{ allsets.sidebar.title }}</a></li>
81                     </ul>
82                 </div>
83                 <div id="other-sets-menu" class="module">
84                     <h2>{% trans "Other settings" %}</h2>
85                     <ul>
86                     {% for set in othersets %}
87                         <li><a href="{% url admin_set set.name %}">{{ set.title }}</a></li>
88                     {% endfor %}
89                     </ul>
90                 </div>
91                 {% comment %}<div id="tools-menu" class="module">
92                     <h2>{% trans "Tools" %}</h2>
93                     <ul>
94                         <li><a href="{% url admin_statistics %}">{% trans "Statistics" %}</a></li>
95                     </ul>
96                 </div>{% endcomment %}
97             </div>
98         </div>
99         <div id="footer" class="breadcumbs">
100             <a href="http://www.osqa.net">OSQA</a> <span class="version">{{ settings.OSQA_VERSION }} ({{ settings.SVN_REVISION }})</span>
101         </div>
102     </div>
103 </body>