blob: 832752274ac981cf43f751f76dace0b4263045b1 [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">
Scott Baker06868952015-02-18 15:15:58 -08008 <link rel="stylesheet" type="text/css" href="{% static 'xos.css' %}" media="all">
Siobhan Tullybfd11dc2013-09-03 12:59:24 -04009 {% 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>
Scott Baker8c582192014-06-10 20:49:22 -070014 <link rel="stylesheet" href="http://code.jquery.com/ui/1.10.4/themes/smoothness/jquery-ui.css">
Scott Baker69e045d2014-11-17 23:44:03 -080015 <script type="text/javascript" src="{% static 'log4javascript-1.4.6/log4javascript.js' %}"></script>
16 <script type="text/javascript" src="{% static 'uploadTextarea.js' %}"></script>
Scott Bakere3d6faf2015-01-27 15:29:41 -080017 <script type="text/javascript" src="{% static 'observer_status.js' %}"></script>
Scott Baker904bada2014-03-27 09:16:37 -070018
Siobhan Tullybfd11dc2013-09-03 12:59:24 -040019 <script type="text/javascript">var Suit = { $: $.noConflict() }; if (!$) $ = Suit.$; </script>
20 {% if 'SHOW_REQUIRED_ASTERISK'|suit_conf %}
21 <style type="text/css">.required:after { content: '*'; margin: 0 0 0 5px; position: absolute; color: #ccc;}</style>
22 {% endif %}
23 {% block extrahead %}{% endblock %}
24 {% block blockbots %}
25 <meta name="robots" content="NONE,NOARCHIVE"/>{% endblock %}
Siobhan Tullycf04fb62014-01-11 11:25:57 -050026 <link rel="shortcut icon" href="{% static 'favicon.png' %}">
Siobhan Tullybfd11dc2013-09-03 12:59:24 -040027</head>
28{% load i18n %}
29
30<body class="{% if is_popup %}popup {% endif %}{% block bodyclass %}{% endblock %}">
31
Scott Baker2cead242015-02-11 15:54:44 -080032<div id="dialog-placeholder">
33<!-- This is a placeholder for dialog boxes, like the observer calendar -->
34</div>
35
Siobhan Tullybfd11dc2013-09-03 12:59:24 -040036<!-- Sticky footer wrap -->
37<div id="wrap">
38
39 <!-- Container -->
40 {% block container %}
41 <div id="container">
42
Scott Bakerd5db1a62015-05-15 11:12:03 -070043 {% block logo %}
44 <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>
45 {% endblock %}
Siobhan Tullybfd11dc2013-09-03 12:59:24 -040046 {% block header %}
47 {% if not is_popup %}
48 <!-- Header -->
49 <div id="header" class="header">
Siobhan Tullycf04fb62014-01-11 11:25:57 -050050
Siobhan Tullybfd11dc2013-09-03 12:59:24 -040051 <div id="branding">
Siobhan Tullycf04fb62014-01-11 11:25:57 -050052 {% block quick-search %}
53 {% with 'SEARCH_URL'|suit_conf as search_url %}
54 {% if search_url %}
55 <form class="form-search nav-quick-search" autocomplete="off" action="{% if '/' in search_url %}{{ search_url }}{% else %}{% url search_url %}{% endif %}" method="GET">
56 <i class="input-icon icon-search"></i>
57 <input type="text" name="q" class="input-medium search-query" id="quick-search">
58 <input type="submit" class="submit" value="">
59 </form>
60 {% endif %}
61 {% endwith %}
62 {% endblock %}
Siobhan Tullybfd11dc2013-09-03 12:59:24 -040063 </div>
Siobhan Tullycf04fb62014-01-11 11:25:57 -050064
Siobhan Tullybfd11dc2013-09-03 12:59:24 -040065 {% block header_time %}
Siobhan Tullycf04fb62014-01-11 11:25:57 -050066 <div id="branding2">
67 <!--<div class="header-content header-content-first">
Siobhan Tullybfd11dc2013-09-03 12:59:24 -040068 <div class="header-column icon">
69 <i class="icon-time"></i>
70 </div>
71 <div class="header-column">
72 <span class="date"> {% suit_date %}</span><br>
73 <span class="time" id="clock">{% suit_time %}</span>
74 </div>
Siobhan Tullycf04fb62014-01-11 11:25:57 -050075 </div>-->
76
Siobhan Tullybfd11dc2013-09-03 12:59:24 -040077 {% endblock %}
78
79 {% block header_content %}
80 <!--<div class="header-content">
81 <div class="header-column icon">
82 <i class="icon-comment"></i>
83 </div>
84 <div class="header-column">
85 <a href="" class="grey"><b>2</b> new messages</a>
86 </div>
87 </div>-->
88 {% endblock %}
89
90 {% if user.is_active and user.is_staff %}
91 <div id="user-tools">
92 {% trans 'Welcome,' %}
Scott Baker771819b2014-03-19 22:10:17 -070093 <a href="http://{{ request.get_host}}/admin/core/user/{{user.id}}">{{user.email}}</a>
Scott Bakere3d6faf2015-01-27 15:29:41 -080094 <span id="observer-status"></span>
Siobhan Tullybfd11dc2013-09-03 12:59:24 -040095 <span class="user-links">
96 {% block userlinks %}
97 {% url 'django-admindocs-docroot' as docsroot %}
98 {% if docsroot %}
Scott Bakerab849e52015-05-27 13:07:05 -070099 <a href="http://guide.xosproject.org/">{% trans 'Documentation' %}</a>
Siobhan Tullybfd11dc2013-09-03 12:59:24 -0400100 <span class="separator">|</span>
101 {% endif %}
102 <a href="{% url 'admin:password_change' %}">{% trans 'Change password' %}</a>
103 <span class="separator">|</span>
104 <a href="{% url 'admin:logout' %}">{% trans 'Log out' %}</a>
105 </span>
106 {% endblock %}
107 </div>
108 {% endif %}
Siobhan Tullycf04fb62014-01-11 11:25:57 -0500109
Siobhan Tullybfd11dc2013-09-03 12:59:24 -0400110 {% block nav-global %}{% endblock %}
Siobhan Tullycf04fb62014-01-11 11:25:57 -0500111
Siobhan Tullybfd11dc2013-09-03 12:59:24 -0400112 </div>
Siobhan Tullycf04fb62014-01-11 11:25:57 -0500113 </div>
Siobhan Tullybfd11dc2013-09-03 12:59:24 -0400114 {% endif %}
115 <!-- END Header -->
116 {% endblock %}
117
118
119 <div class="suit-columns {{ is_popup|yesno:'one-column,two-columns' }}">
120
121 {% block content-center %}
122 <div id="suit-center" class="suit-column">
123
124 {% if not is_popup %}
Scott Bakerd5db1a62015-05-15 11:12:03 -0700125 {% block minidash %}
Scott Baker771819b2014-03-19 22:10:17 -0700126 <div id=openCloudTopPage>
Scott Baker25df4362015-02-04 16:34:18 -0800127 {% include "admin/newminidashboard.html" %}
Scott Bakerd94d0d12014-04-25 12:50:36 -0700128 </div>
Scott Bakerd5db1a62015-05-15 11:12:03 -0700129 {% endblock %}
Scott Baker771819b2014-03-19 22:10:17 -0700130
Siobhan Tullybfd11dc2013-09-03 12:59:24 -0400131 {% block breadcrumbs %}
Siobhan Tullycf04fb62014-01-11 11:25:57 -0500132 <ul class="breadcrumb">
Siobhan Tullybfd11dc2013-09-03 12:59:24 -0400133 <li><a href="{% url 'admin:index' %}">{% trans 'Home' %}</a>
134 {% if title %}
135 <span class="divider">&raquo;</span>
136 </li>
137 <li class="active">
138 {{ title }}
139 {% endif %}
140 </li>
141 </ul>
142 {% endblock %}
143 {% endif %}
144
145 {% block messages %}
146 {% if messages %}
147
148 {% for message in messages %}
149 <div class="alert alert-{% firstof message.tags 'info' %}">
150 <button class="close" data-dismiss="alert">×</button>
151 <strong>
152 {% if message.tags %}{{ message.tags|capfirst }}{% else %}
153 Message{% endif %}!</strong>
154 {{ message }}
155 </div>
156 {% endfor %}
157 {% endif %}
158 {% endblock messages %}
159
160 <!-- Content -->
161 <div id="content" class="{% block coltype %}colM{% endblock %} row-fluid">
162 {% block pretitle %}{% endblock %}
163 {% block content_title %}{% if title %}
164 <h2 class="content-title">{{ title }}</h2>
165 {% endif %}{% endblock %}
166 {% block content %}
167 {% block object-tools %}{% endblock %}
168 {{ content }}
169 {% endblock %}
170 {% block sidebar_content %}
171 {% block sidebar %}{% endblock %}
172 {% endblock %}
173 </div>
174 <!-- END Content -->
Scott Baker904bada2014-03-27 09:16:37 -0700175 <span class="clearfix"></span>
Siobhan Tullybfd11dc2013-09-03 12:59:24 -0400176 </div>
177 {% endblock %}
178
179
180 {% block content-left %}
Scott Bakerec6456e2015-05-15 09:56:53 -0700181 {% if not user.is_appuser %}
182 {% if not is_popup %}
183 <div id="suit-left" class="suit-column">
Siobhan Tullybfd11dc2013-09-03 12:59:24 -0400184
Siobhan Tullybfd11dc2013-09-03 12:59:24 -0400185
Scott Bakerec6456e2015-05-15 09:56:53 -0700186 {% include 'suit/menu.html' %}
187
188 </div>
189 {% endif %}
Siobhan Tullybfd11dc2013-09-03 12:59:24 -0400190 {% endif %}
191 {% endblock %}
192
193 </div>
194 </div>
195 {% endblock %}
196
197 {% if not is_popup %}
198 <!-- Sticky footer push -->
199 <div id="push"></div>
200 {% endif %}
201
202</div>
203
204{% block footer %}
205 {% if not is_popup %}
206 <div id="footer" class="footer">
207 <div class="content">
208 <div class="tools">
209 {% block footer_links %}
210 <a href="http://djangosuit.com/support/" target="_blank" class="icon"><i class="icon-question-sign"></i>Support</a>
211 <a href="http://djangosuit.com/pricing/" target="_blank" class="icon"><i class="icon-bookmark"></i>Licence</a>
212 <a href="http://github.com/darklow/django-suit/issues" target="_blank" class="icon"><i class="icon-comment"></i>Report a bug</a>
213 {% endblock %}
214 </div>
215
Scott Bakerd61d6212014-11-12 17:15:58 -0800216 <div class="statusMsg" id="statusMsg">
Scott Baker35ae76a2014-11-05 16:21:44 -0800217 <!-- this is a placeholder for xoslib views to display status messages -->
218 </div>
219
Scott Baker904bada2014-03-27 09:16:37 -0700220 <!-- <div class="copyright">
Siobhan Tullybfd11dc2013-09-03 12:59:24 -0400221 {% block copyright %}
222 Copyright &copy; 2013 DjangoSuit.com<br>Developed by <a href="http://djangosuit.com" target="_blank">DjangoSuit.com</a>
223 {% endblock %}
Scott Baker904bada2014-03-27 09:16:37 -0700224 </div> -->
Siobhan Tullybfd11dc2013-09-03 12:59:24 -0400225
226 <div class="branding">{% block footer_branding %}
227 {% with 'ADMIN_NAME'|suit_conf as admin_name %}
228 {{ admin_name }}
229 {% if admin_name == 'Django Suit' %}
230 v{{ 'VERSION'|suit_conf }}
231 {% endif %}
232 {% endwith %}
233 {% endblock %}</div>
234 </div>
235 </div>
236 {% endif %}
237{% endblock %}
238
239 <script src="{% static 'suit/bootstrap/js/bootstrap.min.js' %}"></script>
240 <script src="{% static 'suit/js/suit.js' %}"></script>
Scott Baker771819b2014-03-19 22:10:17 -0700241 <script type="text/javascript" src="//www.google.com/jsapi"></script>
Scott Bakerb9987122015-02-18 16:57:10 -0800242 <!-- src="{% static 'xos_graphs.js' %}" -->
Scott Baker771819b2014-03-19 22:10:17 -0700243
Siobhan Tullybfd11dc2013-09-03 12:59:24 -0400244 {% block extrajs %}{% endblock %}
Sapan Bhatiaed4a9542014-02-27 13:16:49 -0500245<script src="http://d3js.org/d3.v3.js"></script>
Sapan Bhatiaed4a9542014-02-27 13:16:49 -0500246 <div class="modal fade hide" id="chartsModal" tabindex="-1" role="dialog" aria-labelledby="myModalLabel" aria-hidden="true">
247 <div class="modal-dialog">
248 <div class="modal-content">
249 <!--<div class="modal-header">
250 <button type="button" class="close" data-dismiss="modal" aria-hidden="true">&times;</button>
251 <h4 class="modal-title" id="myModalLabel">OpenCloud</h4>
252 </div>-->
Scott Baker86a32de2014-03-20 15:05:39 -0700253 <div class="modal-body" style="overflow-y:hidden; overflow-x:hidden;">
Sapan Bhatiaed4a9542014-02-27 13:16:49 -0500254 <div class="chartContainer">
255 <div class="row">
256 <div class=" padding">
257 </div>
258 </div>
259
260 <div class="row">
261 <div class=" heading">
262 <p id="chartHeading" class="heading">OpenCloud</p>
263 </div>
264 </div>
265 <div class="row">
266 <div class="padding"></div>
267 <div class="padding"></div>
268 </div>
269 <div class="row">
270 <div id="graph" class="graph">
271 </div>
272 </div>
273 </div>
Scott Baker771819b2014-03-19 22:10:17 -0700274 <div id="graph_work" style="display:none"></div>
Sapan Bhatiaed4a9542014-02-27 13:16:49 -0500275 </div>
276 <!--<div class="modal-footer">
277 <button type="button" class="btn btn-default" data-dismiss="modal">Close</button>
278 </div>-->
279 </div><!-- /.modal-content -->
280 </div><!-- /.modal-dialog -->
281 </div><!-- /.modal -->
282
283
284<script>
285
286
287
288
289</script>
Siobhan Tullybfd11dc2013-09-03 12:59:24 -0400290</body>
291</html>