]> git.openstreetmap.org Git - osqa.git/blob - forum/skins/default/templates/osqaadmin/djstyle_base.html
Remove footer link to squatted domain
[osqa.git] / forum / skins / default / templates / osqaadmin / djstyle_base.html
1 {% load extra_tags extra_filters i18n admin_static %}
2
3 <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN"
4         "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
5
6 <html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
7 <head>
8     <meta http-equiv="Content-Type" content="text/html; charset=utf-8"/>
9     <link rel="stylesheet" href="{% static 'admin/css/base.css' %}" type="text/css"/>
10     <link rel="stylesheet" href="{% static 'admin/css/forms.css' %}" type="text/css"/>
11     <link rel="stylesheet" href="{% static 'admin/css/changelists.css' %}" type="text/css"/>
12     <!--[if lte IE 7]><link rel="stylesheet" type="text/css" href="{% static 'admin/css/ie.css' %}" /><![endif]-->
13     <link rel="stylesheet" type="text/css" media="screen" href="{% media "/media/style/djstyle_admin.css" %}"/>
14     <script src="https://cdnjs.cloudflare.com/ajax/libs/jquery/1.4.4/jquery.min.js" integrity="sha512-tcexmm0PBc+jOn9UwbgHVpjZIleEKXif1MCkzgNfVjhXKDxwYumrCOxhZ5tIaXHz2DpEE14hfjFn5J+tpaFSCg==" crossorigin="anonymous"></script>
15     <script type="text/javascript" src="{% media "/media/js/osqa.admin.js" %}"></script>
16     {% block adminjs %}{% endblock %}
17     <title>{% trans "OSQA administration area" %} - {% block subtitle %}{% endblock %}</title>
18 </head>
19 <body>
20 <div id="container" class="change-list">
21         <div id="header">
22             {% block header %}
23             <div id="branding">
24                 <h1 id="site-name">{{ settings.APP_SHORT_NAME }} - {% trans "Administration Area" %} </h1>
25             </div>
26             {% endblock %}
27             <div id="user-tools">
28                 {% trans "Welcome," %}
29                 <strong>{{ request.user.username }}</strong>.
30                 <a href="{% url "admin_switch_interface" %}?to=default">{% trans "To standard interface" %}</a>
31                 / <a href="{% url "index" %}">{% trans "Back to home page" %}</a>
32                 / <a href="{% url "logout" %}">{% trans "Log out" %}</a>
33             </div>
34         </div>
35         <div class="breadcrumbs">
36             <a href="{% url "index" %}">{% trans "Home" %}</a> &gt;
37             <a href="{% url "admin_index" %}">{% trans "Dashboard" %}</a> &gt;
38             {% block pagename %}{% endblock %} - 
39             {% block description %}{% endblock %}
40         </div>
41         <div id="content" class="{% if hide_navigation %}flex{% else %}colMS{% endif %}">
42             <div id="content-main">
43             {% autoescape off %}
44                 {% for message in user_messages %}
45                     <p class="admin_message">{{ message }}</p>
46                 {% endfor %}
47             {% endautoescape %}
48                 {% block admincontent %}{% endblock %}
49             </div>
50             {% if hide_navigation %}
51
52             {% else %}
53             <div id="content-related">
54                 {% if unsaved %}
55                 <div id="changes-box" class="module">
56                     <h2>{% trans "Unpublished changes" %}</h2>
57                     <p>
58                         <img src="{% static 'admin/img/admin/icon_alert.gif' %}" />
59                         {% trans "Items marked with this icon have unpublished changes." %}
60                     </p>
61                 </div>
62                 {% endif %}
63                 <div id="basic-sets-menu" class="module">
64                     <h2>{% trans "Basic settings" %}</h2>
65                     <ul>
66                         <li><a href="{% url "admin_set" allsets.basic.name %}">{{ allsets.basic.title }}</a></li>
67                         <li><a href="{% url "admin_set" allsets.users.name %}">{{ allsets.users.title }}</a></li>
68                         <li><a href="{% url "admin_set" allsets.email.name %}">{{ allsets.email.title }}</a></li>
69                         <li><a href="{% url "admin_set" allsets.paths.name %}">{{ allsets.paths.title }}</a></li>
70                         <li><a href="{% url "admin_set" allsets.urls.name %}">{{ allsets.urls.title }}</a></li>
71                         <li><a href="{% url "admin_set" allsets.extkeys.name %}">{{ allsets.extkeys.title }}</a></li>
72                     </ul>
73                 </div>
74                 <div id="workflow-sets-menu" class="module">
75                     <h2>{% trans "Workflow settings" %}</h2>
76                     <ul>
77                         <li><a href="{% url "admin_set" allsets.repgain.name %}">{{ allsets.repgain.title }}</a></li>
78                         <li><a href="{% url "admin_set" allsets.minrep.name %}">{{ allsets.minrep.title }}</a></li>
79                         <li><a href="{% url "admin_set" allsets.voting.name %}">{{ allsets.voting.title }}</a></li>
80                         <li><a href="{% url "admin_set" allsets.accept.name %}">{{ allsets.accept.title }}</a></li>
81                         <li><a href="{% url "admin_set" allsets.badges.name %}">{{ allsets.badges.title }}</a></li>
82                     </ul>
83                 </div>
84                 <div id="forum-sets-menu" class="module">
85                     <h2>{% trans "Forum settings" %}</h2>
86                     <ul>
87                         <li><a href="{% url "admin_set" allsets.form.name %}">{{ allsets.form.title }}</a></li>
88                         <li><a href="{% url "admin_set" allsets.view.name %}">{{ allsets.view.title }}</a></li>
89                         <li><a href="{% url "admin_set" allsets.moderation.name %}">{{ allsets.moderation.title }}</a></li>
90                     </ul>
91                 </div>
92                 <div id="pages-sets-menu" class="module">
93                     <h2>{% trans "Static content" %}</h2>
94                     <ul>
95                         <li><a href="{% url "admin_static_pages" %}">{% trans "Custom Pages" %}</a></li>
96                         <li><a href="{% url "admin_set" allsets.about.name %}">{{ allsets.about.title }}</a></li>
97                         <li><a href="{% url "admin_set" allsets.faq.name %}">{{ allsets.faq.title }}</a></li>
98                         <li><a href="{% url "admin_set" allsets.sidebar.name %}">{{ allsets.sidebar.title }}</a></li>
99                         <li>
100                             <a href="{% url "admin_set" allsets.css.name %}">{{ allsets.css.title }}</a>
101                             {% if "css"|contained_in:unsaved %}<img width="12" height="12" src="{% static 'admin/img/admin/icon_alert.gif' %}" alt="{% trans "Unsaved changes" %}" />{% endif %}
102                         </li>
103                         <li>
104                             <a href="{% url "admin_set" allsets.headandfoot.name %}">{{ allsets.headandfoot.title }}</a>
105                             {% if "headandfoot"|contained_in:unsaved %}<img width="12" height="12" src="{% static 'admin/img/admin/icon_alert.gif' %}" alt="{% trans "Unsaved changes" %}" />{% endif %}
106                         </li>
107                         <li>
108                             <a href="{% url "admin_set" allsets.head.name %}">{{ allsets.head.title }}</a>
109                             {% if "head"|contained_in:unsaved %}<img width="12" height="12" src="{% static 'admin/img/admin/icon_alert.gif' %}" alt="{% trans "Unsaved changes" %}" />{% endif %}
110                         </li>
111                     </ul>
112                 </div>
113                 <div id="other-sets-menu" class="module">
114                     <h2>{% trans "Other settings" %}</h2>
115                     <ul>
116                     {% for set in othersets %}
117                         <li>
118                             <a href="{% url "admin_set" set.name %}">{{ set.title }}</a>
119                             {% if set.name|contained_in:unsaved %}<img width="12" height="12" src="{% static 'admin/img/admin/icon_alert.gif' %}" alt="{% trans "Unsaved changes" %}" />{% endif %}
120                         </li>
121                     {% endfor %}
122                     </ul>
123                 </div>
124                 <div id="tools-menu" class="module">
125                     <h2>{% trans "Tools" %}</h2>
126                     <ul>
127                         <li><a href="{% url "admin_maintenance" %}">{% trans "Maintenance mode" %}</a></li>
128                         <li><a href="{% url "admin_flagged_posts" %}">{% trans "Flagged Posts" %}</a></li>
129                         {% for name,tool in tools %}
130                             <li><a href="{% url "admin_tools" name %}">{{ tool }}</a></li>
131                         {% endfor %}
132                     </ul>
133                 </div>
134             </div>
135             {% endif %}
136         </div>
137         <div id="footer" class="breadcumbs">
138             <a href="http://www.osqa.net">OSQA</a> <span class="version">{{ settings.OSQA_VERSION }} ({{ settings.VCS_REVISION }})</span>
139         </div>
140     </div>
141 </body>