blob: 5b355d99c91928f02ad39c97975fa8e03ff345ad [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>
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 Baker9f6b8ed2014-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 Bakerac543a72015-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 Baker9edfdc02015-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 Baker904bada2014-03-27 09:16:37 -070043 <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 -040044 {% block header %}
45 {% if not is_popup %}
46 <!-- Header -->
47 <div id="header" class="header">
Siobhan Tullycf04fb62014-01-11 11:25:57 -050048
Siobhan Tullybfd11dc2013-09-03 12:59:24 -040049 <div id="branding">
Siobhan Tullycf04fb62014-01-11 11:25:57 -050050 {% block quick-search %}
51 {% with 'SEARCH_URL'|suit_conf as search_url %}
52 {% if search_url %}
53 <form class="form-search nav-quick-search" autocomplete="off" action="{% if '/' in search_url %}{{ search_url }}{% else %}{% url search_url %}{% endif %}" method="GET">
54 <i class="input-icon icon-search"></i>
55 <input type="text" name="q" class="input-medium search-query" id="quick-search">
56 <input type="submit" class="submit" value="">
57 </form>
58 {% endif %}
59 {% endwith %}
60 {% endblock %}
Siobhan Tullybfd11dc2013-09-03 12:59:24 -040061 </div>
Siobhan Tullycf04fb62014-01-11 11:25:57 -050062
Siobhan Tullybfd11dc2013-09-03 12:59:24 -040063 {% block header_time %}
Siobhan Tullycf04fb62014-01-11 11:25:57 -050064 <div id="branding2">
65 <!--<div class="header-content header-content-first">
Siobhan Tullybfd11dc2013-09-03 12:59:24 -040066 <div class="header-column icon">
67 <i class="icon-time"></i>
68 </div>
69 <div class="header-column">
70 <span class="date"> {% suit_date %}</span><br>
71 <span class="time" id="clock">{% suit_time %}</span>
72 </div>
Siobhan Tullycf04fb62014-01-11 11:25:57 -050073 </div>-->
74
Siobhan Tullybfd11dc2013-09-03 12:59:24 -040075 {% endblock %}
76
77 {% block header_content %}
78 <!--<div class="header-content">
79 <div class="header-column icon">
80 <i class="icon-comment"></i>
81 </div>
82 <div class="header-column">
83 <a href="" class="grey"><b>2</b> new messages</a>
84 </div>
85 </div>-->
86 {% endblock %}
87
88 {% if user.is_active and user.is_staff %}
89 <div id="user-tools">
90 {% trans 'Welcome,' %}
Scott Baker771819b2014-03-19 22:10:17 -070091 <a href="http://{{ request.get_host}}/admin/core/user/{{user.id}}">{{user.email}}</a>
Scott Bakerac543a72015-01-27 15:29:41 -080092 <span id="observer-status"></span>
Siobhan Tullybfd11dc2013-09-03 12:59:24 -040093 <span class="user-links">
94 {% block userlinks %}
95 {% url 'django-admindocs-docroot' as docsroot %}
96 {% if docsroot %}
Scott Baker2e6efd22015-01-30 12:10:57 -080097 <a href="http://open-cloud.github.io/">{% trans 'Documentation' %}</a>
Siobhan Tullybfd11dc2013-09-03 12:59:24 -040098 <span class="separator">|</span>
99 {% endif %}
100 <a href="{% url 'admin:password_change' %}">{% trans 'Change password' %}</a>
101 <span class="separator">|</span>
102 <a href="{% url 'admin:logout' %}">{% trans 'Log out' %}</a>
103 </span>
104 {% endblock %}
105 </div>
106 {% endif %}
Siobhan Tullycf04fb62014-01-11 11:25:57 -0500107
Siobhan Tullybfd11dc2013-09-03 12:59:24 -0400108 {% block nav-global %}{% endblock %}
Siobhan Tullycf04fb62014-01-11 11:25:57 -0500109
Siobhan Tullybfd11dc2013-09-03 12:59:24 -0400110 </div>
Siobhan Tullycf04fb62014-01-11 11:25:57 -0500111 </div>
Siobhan Tullybfd11dc2013-09-03 12:59:24 -0400112 {% endif %}
113 <!-- END Header -->
114 {% endblock %}
115
116
117 <div class="suit-columns {{ is_popup|yesno:'one-column,two-columns' }}">
118
119 {% block content-center %}
120 <div id="suit-center" class="suit-column">
121
122 {% if not is_popup %}
Scott Baker771819b2014-03-19 22:10:17 -0700123 <div id=openCloudTopPage>
Scott Bakerf09eebb2015-02-04 16:34:18 -0800124 {% include "admin/newminidashboard.html" %}
Scott Bakerd94d0d12014-04-25 12:50:36 -0700125 </div>
Scott Baker771819b2014-03-19 22:10:17 -0700126
Siobhan Tullybfd11dc2013-09-03 12:59:24 -0400127 {% block breadcrumbs %}
Siobhan Tullycf04fb62014-01-11 11:25:57 -0500128 <ul class="breadcrumb">
Siobhan Tullybfd11dc2013-09-03 12:59:24 -0400129 <li><a href="{% url 'admin:index' %}">{% trans 'Home' %}</a>
130 {% if title %}
131 <span class="divider">&raquo;</span>
132 </li>
133 <li class="active">
134 {{ title }}
135 {% endif %}
136 </li>
137 </ul>
138 {% endblock %}
139 {% endif %}
140
141 {% block messages %}
142 {% if messages %}
143
144 {% for message in messages %}
145 <div class="alert alert-{% firstof message.tags 'info' %}">
146 <button class="close" data-dismiss="alert">×</button>
147 <strong>
148 {% if message.tags %}{{ message.tags|capfirst }}{% else %}
149 Message{% endif %}!</strong>
150 {{ message }}
151 </div>
152 {% endfor %}
153 {% endif %}
154 {% endblock messages %}
155
156 <!-- Content -->
157 <div id="content" class="{% block coltype %}colM{% endblock %} row-fluid">
158 {% block pretitle %}{% endblock %}
159 {% block content_title %}{% if title %}
160 <h2 class="content-title">{{ title }}</h2>
161 {% endif %}{% endblock %}
162 {% block content %}
163 {% block object-tools %}{% endblock %}
164 {{ content }}
165 {% endblock %}
166 {% block sidebar_content %}
167 {% block sidebar %}{% endblock %}
168 {% endblock %}
169 </div>
170 <!-- END Content -->
Scott Baker904bada2014-03-27 09:16:37 -0700171 <span class="clearfix"></span>
Siobhan Tullybfd11dc2013-09-03 12:59:24 -0400172 </div>
173 {% endblock %}
174
175
176 {% block content-left %}
177 {% if not is_popup %}
178 <div id="suit-left" class="suit-column">
Siobhan Tullycf04fb62014-01-11 11:25:57 -0500179
Siobhan Tullybfd11dc2013-09-03 12:59:24 -0400180
181 {% include 'suit/menu.html' %}
182
183 </div>
184 {% endif %}
185 {% endblock %}
186
187 </div>
188 </div>
189 {% endblock %}
190
191 {% if not is_popup %}
192 <!-- Sticky footer push -->
193 <div id="push"></div>
194 {% endif %}
195
196</div>
197
198{% block footer %}
199 {% if not is_popup %}
200 <div id="footer" class="footer">
201 <div class="content">
202 <div class="tools">
203 {% block footer_links %}
204 <a href="http://djangosuit.com/support/" target="_blank" class="icon"><i class="icon-question-sign"></i>Support</a>
205 <a href="http://djangosuit.com/pricing/" target="_blank" class="icon"><i class="icon-bookmark"></i>Licence</a>
206 <a href="http://github.com/darklow/django-suit/issues" target="_blank" class="icon"><i class="icon-comment"></i>Report a bug</a>
207 {% endblock %}
208 </div>
209
Scott Baker0f4472a2014-11-12 17:15:58 -0800210 <div class="statusMsg" id="statusMsg">
Scott Baker624a0a02014-11-05 16:21:44 -0800211 <!-- this is a placeholder for xoslib views to display status messages -->
212 </div>
213
Scott Baker904bada2014-03-27 09:16:37 -0700214 <!-- <div class="copyright">
Siobhan Tullybfd11dc2013-09-03 12:59:24 -0400215 {% block copyright %}
216 Copyright &copy; 2013 DjangoSuit.com<br>Developed by <a href="http://djangosuit.com" target="_blank">DjangoSuit.com</a>
217 {% endblock %}
Scott Baker904bada2014-03-27 09:16:37 -0700218 </div> -->
Siobhan Tullybfd11dc2013-09-03 12:59:24 -0400219
220 <div class="branding">{% block footer_branding %}
221 {% with 'ADMIN_NAME'|suit_conf as admin_name %}
222 {{ admin_name }}
223 {% if admin_name == 'Django Suit' %}
224 v{{ 'VERSION'|suit_conf }}
225 {% endif %}
226 {% endwith %}
227 {% endblock %}</div>
228 </div>
229 </div>
230 {% endif %}
231{% endblock %}
232
233 <script src="{% static 'suit/bootstrap/js/bootstrap.min.js' %}"></script>
234 <script src="{% static 'suit/js/suit.js' %}"></script>
Scott Baker771819b2014-03-19 22:10:17 -0700235 <script type="text/javascript" src="//www.google.com/jsapi"></script>
236 <script src="{% static 'planetstack_graphs.js' %}"></script>
237 <!-- src="{% static 'planetstack_graphs_old.js' %}" -->
238
Siobhan Tullybfd11dc2013-09-03 12:59:24 -0400239 {% block extrajs %}{% endblock %}
Sapan Bhatiaed4a9542014-02-27 13:16:49 -0500240<script src="http://d3js.org/d3.v3.js"></script>
Sapan Bhatiaed4a9542014-02-27 13:16:49 -0500241 <div class="modal fade hide" id="chartsModal" tabindex="-1" role="dialog" aria-labelledby="myModalLabel" aria-hidden="true">
242 <div class="modal-dialog">
243 <div class="modal-content">
244 <!--<div class="modal-header">
245 <button type="button" class="close" data-dismiss="modal" aria-hidden="true">&times;</button>
246 <h4 class="modal-title" id="myModalLabel">OpenCloud</h4>
247 </div>-->
Scott Baker86a32de2014-03-20 15:05:39 -0700248 <div class="modal-body" style="overflow-y:hidden; overflow-x:hidden;">
Sapan Bhatiaed4a9542014-02-27 13:16:49 -0500249 <div class="chartContainer">
250 <div class="row">
251 <div class=" padding">
252 </div>
253 </div>
254
255 <div class="row">
256 <div class=" heading">
257 <p id="chartHeading" class="heading">OpenCloud</p>
258 </div>
259 </div>
260 <div class="row">
261 <div class="padding"></div>
262 <div class="padding"></div>
263 </div>
264 <div class="row">
265 <div id="graph" class="graph">
266 </div>
267 </div>
268 </div>
Scott Baker771819b2014-03-19 22:10:17 -0700269 <div id="graph_work" style="display:none"></div>
Sapan Bhatiaed4a9542014-02-27 13:16:49 -0500270 </div>
271 <!--<div class="modal-footer">
272 <button type="button" class="btn btn-default" data-dismiss="modal">Close</button>
273 </div>-->
274 </div><!-- /.modal-content -->
275 </div><!-- /.modal-dialog -->
276 </div><!-- /.modal -->
277
278
279<script>
280
281
282
283
284</script>
Siobhan Tullybfd11dc2013-09-03 12:59:24 -0400285</body>
286</html>