1 {% load admin_static %}{% load suit_tags %}{% load url from future %}<!DOCTYPE html>
2 <html lang="{{ LANGUAGE_CODE|default:"en-us" }}" {% if LANGUAGE_BIDI %}dir="rtl"{% endif %}>
4 <title>{% block title %}{{ title }} | {{ 'ADMIN_NAME'|suit_conf }}{% endblock %}</title>
5 <link rel="stylesheet" type="text/css" href="{% block stylesheet %}{% endblock %}"/>
6 <link rel="stylesheet" type="text/css" href="{% static 'suit/bootstrap/css/bootstrap.min.css' %}" media="all"/>
7 <link rel="stylesheet" type="text/css" href="{% static 'suit/css/suit.css' %}" media="all">
8 <link rel="stylesheet" type="text/css" href="{% static 'planetstack.css' %}" media="all">
9 {% block extrastyle %}{% endblock %}
10 {% if LANGUAGE_BIDI %}<link rel="stylesheet" type="text/css" href="{% block stylesheet_rtl %}{% static "admin/css/rtl.css" %}{% endblock %}"/>{% endif %}
11 <script type="text/javascript">window.__admin_media_prefix__ = "{% filter escapejs %}{% static "admin/" %}{% endfilter %}";</script>
12 <script src="{% static 'suit/js/jquery-1.8.3.min.js' %}"></script>
13 <script type="text/javascript">var Suit = { $: $.noConflict() }; if (!$) $ = Suit.$; </script>
14 {% if 'SHOW_REQUIRED_ASTERISK'|suit_conf %}
15 <style type="text/css">.required:after { content: '*'; margin: 0 0 0 5px; position: absolute; color: #ccc;}</style>
17 {% block extrahead %}{% endblock %}
19 <meta name="robots" content="NONE,NOARCHIVE"/>{% endblock %}
23 <body class="{% if is_popup %}popup {% endif %}{% block bodyclass %}{% endblock %}">
25 <!-- Sticky footer wrap -->
35 <div id="header" class="header">
37 <a href="{% url 'admin:index' %}"><h1 id="site-name">{% block branding %}{{ 'ADMIN_NAME'|suit_conf }}{% endblock %}</h1></a>
40 {% block header_time %}
41 <div class="header-content header-content-first">
42 <div class="header-column icon">
43 <i class="icon-time"></i>
45 <div class="header-column">
46 <span class="date"> {% suit_date %}</span><br>
47 <span class="time" id="clock">{% suit_time %}</span>
52 {% block header_content %}
53 <!--<div class="header-content">
54 <div class="header-column icon">
55 <i class="icon-comment"></i>
57 <div class="header-column">
58 <a href="" class="grey"><b>2</b> new messages</a>
63 {% if user.is_active and user.is_staff %}
65 {% trans 'Welcome,' %}
67 {% filter force_escape %}
68 {% firstof user.first_name user.username %}{% endfilter %}</strong>.
69 <span class="user-links">
71 {% url 'django-admindocs-docroot' as docsroot %}
73 <a href="{{ docsroot }}">{% trans 'Documentation' %}</a>
74 <span class="separator">|</span>
76 <a href="{% url 'admin:password_change' %}">{% trans 'Change password' %}</a>
77 <span class="separator">|</span>
78 <a href="{% url 'admin:logout' %}">{% trans 'Log out' %}</a>
83 {% block nav-global %}{% endblock %}
90 <div class="suit-columns {{ is_popup|yesno:'one-column,two-columns' }}">
92 {% block content-center %}
93 <div id="suit-center" class="suit-column">
96 {% block breadcrumbs %}
97 <ul class="breadcrumb">
98 <li><a href="{% url 'admin:index' %}">{% trans 'Home' %}</a>
100 <span class="divider">»</span>
113 {% for message in messages %}
114 <div class="alert alert-{% firstof message.tags 'info' %}">
115 <button class="close" data-dismiss="alert">×</button>
117 {% if message.tags %}{{ message.tags|capfirst }}{% else %}
118 Message{% endif %}!</strong>
123 {% endblock messages %}
126 <div id="content" class="{% block coltype %}colM{% endblock %} row-fluid">
127 {% block pretitle %}{% endblock %}
128 {% block content_title %}{% if title %}
129 <h2 class="content-title">{{ title }}</h2>
130 {% endif %}{% endblock %}
132 {% block object-tools %}{% endblock %}
135 {% block sidebar_content %}
136 {% block sidebar %}{% endblock %}
144 {% block content-left %}
145 {% if not is_popup %}
146 <div id="suit-left" class="suit-column">
147 {% block quick-search %}
148 {% with 'SEARCH_URL'|suit_conf as search_url %}
150 <form class="form-search nav-quick-search" autocomplete="off" action="{% if '/' in search_url %}{{ search_url }}{% else %}{% url search_url %}{% endif %}" method="GET">
151 <input type="text" name="q" class="input-medium search-query" id="quick-search">
152 <i class="input-icon icon-search"></i>
153 <input type="submit" class="submit" value="">
159 {% include 'suit/menu.html' %}
169 {% if not is_popup %}
170 <!-- Sticky footer push -->
171 <div id="push"></div>
177 {% if not is_popup %}
178 <div id="footer" class="footer">
179 <div class="content">
181 {% block footer_links %}
182 <a href="http://djangosuit.com/support/" target="_blank" class="icon"><i class="icon-question-sign"></i>Support</a>
183 <a href="http://djangosuit.com/pricing/" target="_blank" class="icon"><i class="icon-bookmark"></i>Licence</a>
184 <a href="http://github.com/darklow/django-suit/issues" target="_blank" class="icon"><i class="icon-comment"></i>Report a bug</a>
188 <div class="copyright">
189 {% block copyright %}
190 Copyright © 2013 DjangoSuit.com<br>Developed by <a href="http://djangosuit.com" target="_blank">DjangoSuit.com</a>
194 <div class="branding">{% block footer_branding %}
195 {% with 'ADMIN_NAME'|suit_conf as admin_name %}
197 {% if admin_name == 'Django Suit' %}
198 v{{ 'VERSION'|suit_conf }}
207 <script src="{% static 'suit/bootstrap/js/bootstrap.min.js' %}"></script>
208 <script src="{% static 'suit/js/suit.js' %}"></script>
209 {% block extrajs %}{% endblock %}