blob: 1fb5638e365fe9d307826cdb26c7953254e3b0c3 [file] [log] [blame]
Scott Bakerf85896d2014-11-04 09:33:33 -08001{% load admin_static %}{% load suit_tags %}{% load i18n %}
2
3 <a href="{% url 'admin:index' %}"><h1 id="site-name"><img class="logo" height="70" width="259" src="{% static 'open-cloud-login-themed-light.png' %}"/></h1></a>
4 {% block header %}
5 {% if not is_popup %}
6 <!-- Header -->
7 <div id="header" class="header">
8
9 <div id="branding">
10 {% block quick-search %}
11 {% with 'SEARCH_URL'|suit_conf as search_url %}
12 {% if search_url %}
13 <form class="form-search nav-quick-search" autocomplete="off" action="{% if '/' in search_url %}{{ search_url }}{% else %}{% url search_url %}{% endif %}" method="GET">
14 <i class="input-icon icon-search"></i>
15 <input type="text" name="q" class="input-medium search-query" id="quick-search">
16 <input type="submit" class="submit" value="">
17 </form>
18 {% endif %}
19 {% endwith %}
20 {% endblock %}
21 </div>
22
23 {% block header_time %}
24 <div id="branding2">
25 <!--<div class="header-content header-content-first">
26 <div class="header-column icon">
27 <i class="icon-time"></i>
28 </div>
29 <div class="header-column">
30 <span class="date"> {% suit_date %}</span><br>
31 <span class="time" id="clock">{% suit_time %}</span>
32 </div>
33 </div>-->
34
35 {% endblock %}
36
37 {% block header_content %}
38 <!--<div class="header-content">
39 <div class="header-column icon">
40 <i class="icon-comment"></i>
41 </div>
42 <div class="header-column">
43 <a href="" class="grey"><b>2</b> new messages</a>
44 </div>
45 </div>-->
46 {% endblock %}
47
48 {% if user.is_active and user.is_staff %}
49 <div id="user-tools">
50 {% trans 'Welcome,' %}
51 <a href="http://{{ request.get_host}}/admin/core/user/{{user.id}}">{{user.email}}</a>
52 <span class="user-links">
53 {% block userlinks %}
54 {% url 'django-admindocs-docroot' as docsroot %}
55 {% if docsroot %}
56 <a href="{{ docsroot }}">{% trans 'Documentation' %}</a>
57 <span class="separator">|</span>
58 {% endif %}
59 <a href="{% url 'admin:password_change' %}">{% trans 'Change password' %}</a>
60 <span class="separator">|</span>
61 <a href="{% url 'admin:logout' %}">{% trans 'Log out' %}</a>
62 </span>
63 {% endblock %}
64 </div>
65 {% endif %}
66
67 {% block nav-global %}{% endblock %}
68
69 </div>
70 </div>
71 {% endif %}
72 <!-- END Header -->
73 {% endblock %}