blob: dd8ab755237d4e9e5b189bd5de07ad525747bb94 [file] [log] [blame]
Scott Baker771819b2014-03-19 22:10:17 -07001{% load admin_static %}{% load suit_tags %}{% load url from future %}<!DOCTYPE html>
Siobhan Tullybfd11dc2013-09-03 12:59:24 -04002<html lang="{{ LANGUAGE_CODE|default:"en-us" }}" {% if LANGUAGE_BIDI %}dir="rtl"{% endif %}>
3<head>
Siobhan Tullycf04fb62014-01-11 11:25:57 -05004 <title>{% block title %} {%if title %} {{ title }} | {% endif %} {{ 'ADMIN_NAME'|suit_conf }}{% endblock %}</title>
Siobhan Tullybfd11dc2013-09-03 12:59:24 -04005 <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>
Scott Baker771819b2014-03-19 22:10:17 -070012 <script src="{% static 'suit/js/jquery-1.9.1.min.js' %}"></script>
Scott Baker904bada2014-03-27 09:16:37 -070013 <script src="http://code.jquery.com/ui/1.10.4/jquery-ui.js"></script>
14<script type="text/javascript" src="{% static 'log4javascript-1.4.6/log4javascript.js' %}"></script>
15
16
Siobhan Tullybfd11dc2013-09-03 12:59:24 -040017 <script type="text/javascript">var Suit = { $: $.noConflict() }; if (!$) $ = Suit.$; </script>
18 {% if 'SHOW_REQUIRED_ASTERISK'|suit_conf %}
19 <style type="text/css">.required:after { content: '*'; margin: 0 0 0 5px; position: absolute; color: #ccc;}</style>
20 {% endif %}
21 {% block extrahead %}{% endblock %}
22 {% block blockbots %}
23 <meta name="robots" content="NONE,NOARCHIVE"/>{% endblock %}
Siobhan Tullycf04fb62014-01-11 11:25:57 -050024 <link rel="shortcut icon" href="{% static 'favicon.png' %}">
Siobhan Tullybfd11dc2013-09-03 12:59:24 -040025</head>
26{% load i18n %}
27
28<body class="{% if is_popup %}popup {% endif %}{% block bodyclass %}{% endblock %}">
29
30<!-- Sticky footer wrap -->
31<div id="wrap">
32
33 <!-- Container -->
34 {% block container %}
35 <div id="container">
36
Scott Baker904bada2014-03-27 09:16:37 -070037 <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>
Siobhan Tullybfd11dc2013-09-03 12:59:24 -040038 {% block header %}
39 {% if not is_popup %}
40 <!-- Header -->
41 <div id="header" class="header">
Siobhan Tullycf04fb62014-01-11 11:25:57 -050042
Siobhan Tullybfd11dc2013-09-03 12:59:24 -040043 <div id="branding">
Siobhan Tullycf04fb62014-01-11 11:25:57 -050044 {% block quick-search %}
45 {% with 'SEARCH_URL'|suit_conf as search_url %}
46 {% if search_url %}
47 <form class="form-search nav-quick-search" autocomplete="off" action="{% if '/' in search_url %}{{ search_url }}{% else %}{% url search_url %}{% endif %}" method="GET">
48 <i class="input-icon icon-search"></i>
49 <input type="text" name="q" class="input-medium search-query" id="quick-search">
50 <input type="submit" class="submit" value="">
51 </form>
52 {% endif %}
53 {% endwith %}
54 {% endblock %}
Siobhan Tullybfd11dc2013-09-03 12:59:24 -040055 </div>
Siobhan Tullycf04fb62014-01-11 11:25:57 -050056
Siobhan Tullybfd11dc2013-09-03 12:59:24 -040057 {% block header_time %}
Siobhan Tullycf04fb62014-01-11 11:25:57 -050058 <div id="branding2">
59 <!--<div class="header-content header-content-first">
Siobhan Tullybfd11dc2013-09-03 12:59:24 -040060 <div class="header-column icon">
61 <i class="icon-time"></i>
62 </div>
63 <div class="header-column">
64 <span class="date"> {% suit_date %}</span><br>
65 <span class="time" id="clock">{% suit_time %}</span>
66 </div>
Siobhan Tullycf04fb62014-01-11 11:25:57 -050067 </div>-->
68
Siobhan Tullybfd11dc2013-09-03 12:59:24 -040069 {% endblock %}
70
71 {% block header_content %}
72 <!--<div class="header-content">
73 <div class="header-column icon">
74 <i class="icon-comment"></i>
75 </div>
76 <div class="header-column">
77 <a href="" class="grey"><b>2</b> new messages</a>
78 </div>
79 </div>-->
80 {% endblock %}
81
82 {% if user.is_active and user.is_staff %}
83 <div id="user-tools">
84 {% trans 'Welcome,' %}
Scott Baker771819b2014-03-19 22:10:17 -070085 <a href="http://{{ request.get_host}}/admin/core/user/{{user.id}}">{{user.email}}</a>
Siobhan Tullybfd11dc2013-09-03 12:59:24 -040086 <span class="user-links">
87 {% block userlinks %}
88 {% url 'django-admindocs-docroot' as docsroot %}
89 {% if docsroot %}
90 <a href="{{ docsroot }}">{% trans 'Documentation' %}</a>
91 <span class="separator">|</span>
92 {% endif %}
93 <a href="{% url 'admin:password_change' %}">{% trans 'Change password' %}</a>
94 <span class="separator">|</span>
95 <a href="{% url 'admin:logout' %}">{% trans 'Log out' %}</a>
96 </span>
97 {% endblock %}
98 </div>
99 {% endif %}
Siobhan Tullycf04fb62014-01-11 11:25:57 -0500100
Siobhan Tullybfd11dc2013-09-03 12:59:24 -0400101 {% block nav-global %}{% endblock %}
Siobhan Tullycf04fb62014-01-11 11:25:57 -0500102
Siobhan Tullybfd11dc2013-09-03 12:59:24 -0400103 </div>
Siobhan Tullycf04fb62014-01-11 11:25:57 -0500104 </div>
Siobhan Tullybfd11dc2013-09-03 12:59:24 -0400105 {% endif %}
106 <!-- END Header -->
107 {% endblock %}
108
109
110 <div class="suit-columns {{ is_popup|yesno:'one-column,two-columns' }}">
111
112 {% block content-center %}
113 <div id="suit-center" class="suit-column">
114
115 {% if not is_popup %}
Scott Baker771819b2014-03-19 22:10:17 -0700116 <div id=openCloudTopPage>
Scott Baker904bada2014-03-27 09:16:37 -0700117 {% include "/opt/planetstack/templates/admin/newminidashboard.html" %}
Scott Bakerd94d0d12014-04-25 12:50:36 -0700118 </div>
Scott Baker771819b2014-03-19 22:10:17 -0700119
Siobhan Tullybfd11dc2013-09-03 12:59:24 -0400120 {% block breadcrumbs %}
Siobhan Tullycf04fb62014-01-11 11:25:57 -0500121 <ul class="breadcrumb">
Siobhan Tullybfd11dc2013-09-03 12:59:24 -0400122 <li><a href="{% url 'admin:index' %}">{% trans 'Home' %}</a>
123 {% if title %}
124 <span class="divider">&raquo;</span>
125 </li>
126 <li class="active">
127 {{ title }}
128 {% endif %}
129 </li>
130 </ul>
131 {% endblock %}
132 {% endif %}
133
134 {% block messages %}
135 {% if messages %}
136
137 {% for message in messages %}
138 <div class="alert alert-{% firstof message.tags 'info' %}">
139 <button class="close" data-dismiss="alert">×</button>
140 <strong>
141 {% if message.tags %}{{ message.tags|capfirst }}{% else %}
142 Message{% endif %}!</strong>
143 {{ message }}
144 </div>
145 {% endfor %}
146 {% endif %}
147 {% endblock messages %}
148
149 <!-- Content -->
150 <div id="content" class="{% block coltype %}colM{% endblock %} row-fluid">
151 {% block pretitle %}{% endblock %}
152 {% block content_title %}{% if title %}
153 <h2 class="content-title">{{ title }}</h2>
154 {% endif %}{% endblock %}
155 {% block content %}
156 {% block object-tools %}{% endblock %}
157 {{ content }}
158 {% endblock %}
159 {% block sidebar_content %}
160 {% block sidebar %}{% endblock %}
161 {% endblock %}
162 </div>
163 <!-- END Content -->
Scott Baker904bada2014-03-27 09:16:37 -0700164 <span class="clearfix"></span>
Siobhan Tullybfd11dc2013-09-03 12:59:24 -0400165 </div>
166 {% endblock %}
167
168
169 {% block content-left %}
170 {% if not is_popup %}
171 <div id="suit-left" class="suit-column">
Siobhan Tullycf04fb62014-01-11 11:25:57 -0500172
Siobhan Tullybfd11dc2013-09-03 12:59:24 -0400173
174 {% include 'suit/menu.html' %}
175
176 </div>
177 {% endif %}
178 {% endblock %}
179
180 </div>
181 </div>
182 {% endblock %}
183
184 {% if not is_popup %}
185 <!-- Sticky footer push -->
186 <div id="push"></div>
187 {% endif %}
188
189</div>
190
191{% block footer %}
192 {% if not is_popup %}
193 <div id="footer" class="footer">
194 <div class="content">
195 <div class="tools">
196 {% block footer_links %}
197 <a href="http://djangosuit.com/support/" target="_blank" class="icon"><i class="icon-question-sign"></i>Support</a>
198 <a href="http://djangosuit.com/pricing/" target="_blank" class="icon"><i class="icon-bookmark"></i>Licence</a>
199 <a href="http://github.com/darklow/django-suit/issues" target="_blank" class="icon"><i class="icon-comment"></i>Report a bug</a>
200 {% endblock %}
201 </div>
202
Scott Baker904bada2014-03-27 09:16:37 -0700203 <!-- <div class="copyright">
Siobhan Tullybfd11dc2013-09-03 12:59:24 -0400204 {% block copyright %}
205 Copyright &copy; 2013 DjangoSuit.com<br>Developed by <a href="http://djangosuit.com" target="_blank">DjangoSuit.com</a>
206 {% endblock %}
Scott Baker904bada2014-03-27 09:16:37 -0700207 </div> -->
Siobhan Tullybfd11dc2013-09-03 12:59:24 -0400208
209 <div class="branding">{% block footer_branding %}
210 {% with 'ADMIN_NAME'|suit_conf as admin_name %}
211 {{ admin_name }}
212 {% if admin_name == 'Django Suit' %}
213 v{{ 'VERSION'|suit_conf }}
214 {% endif %}
215 {% endwith %}
216 {% endblock %}</div>
217 </div>
218 </div>
219 {% endif %}
220{% endblock %}
221
222 <script src="{% static 'suit/bootstrap/js/bootstrap.min.js' %}"></script>
223 <script src="{% static 'suit/js/suit.js' %}"></script>
Scott Baker771819b2014-03-19 22:10:17 -0700224 <script src="{% static 'page_analytics.js' %}"></script>
225 <script type="text/javascript" src="//www.google.com/jsapi"></script>
226 <script src="{% static 'planetstack_graphs.js' %}"></script>
227 <!-- src="{% static 'planetstack_graphs_old.js' %}" -->
228
Siobhan Tullybfd11dc2013-09-03 12:59:24 -0400229 {% block extrajs %}{% endblock %}
Sapan Bhatiaed4a9542014-02-27 13:16:49 -0500230<script src="http://d3js.org/d3.v3.js"></script>
Sapan Bhatiaed4a9542014-02-27 13:16:49 -0500231 <div class="modal fade hide" id="chartsModal" tabindex="-1" role="dialog" aria-labelledby="myModalLabel" aria-hidden="true">
232 <div class="modal-dialog">
233 <div class="modal-content">
234 <!--<div class="modal-header">
235 <button type="button" class="close" data-dismiss="modal" aria-hidden="true">&times;</button>
236 <h4 class="modal-title" id="myModalLabel">OpenCloud</h4>
237 </div>-->
Scott Baker86a32de2014-03-20 15:05:39 -0700238 <div class="modal-body" style="overflow-y:hidden; overflow-x:hidden;">
Sapan Bhatiaed4a9542014-02-27 13:16:49 -0500239 <div class="chartContainer">
240 <div class="row">
241 <div class=" padding">
242 </div>
243 </div>
244
245 <div class="row">
246 <div class=" heading">
247 <p id="chartHeading" class="heading">OpenCloud</p>
248 </div>
249 </div>
250 <div class="row">
251 <div class="padding"></div>
252 <div class="padding"></div>
253 </div>
254 <div class="row">
255 <div id="graph" class="graph">
256 </div>
257 </div>
258 </div>
Scott Baker771819b2014-03-19 22:10:17 -0700259 <div id="graph_work" style="display:none"></div>
Sapan Bhatiaed4a9542014-02-27 13:16:49 -0500260 </div>
261 <!--<div class="modal-footer">
262 <button type="button" class="btn btn-default" data-dismiss="modal">Close</button>
263 </div>-->
264 </div><!-- /.modal-content -->
265 </div><!-- /.modal-dialog -->
266 </div><!-- /.modal -->
267
268
269<script>
270
271
272
273
274</script>
Siobhan Tullybfd11dc2013-09-03 12:59:24 -0400275</body>
276</html>