blob: 29823a565f7cd29f248ac90b85e97e5a13586e87 [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 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
32<!-- Sticky footer wrap -->
33<div id="wrap">
34
35 <!-- Container -->
36 {% block container %}
37 <div id="container">
38
Scott Baker904bada2014-03-27 09:16:37 -070039 <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 -040040 {% block header %}
41 {% if not is_popup %}
42 <!-- Header -->
43 <div id="header" class="header">
Siobhan Tullycf04fb62014-01-11 11:25:57 -050044
Siobhan Tullybfd11dc2013-09-03 12:59:24 -040045 <div id="branding">
Siobhan Tullycf04fb62014-01-11 11:25:57 -050046 {% block quick-search %}
47 {% with 'SEARCH_URL'|suit_conf as search_url %}
48 {% if search_url %}
49 <form class="form-search nav-quick-search" autocomplete="off" action="{% if '/' in search_url %}{{ search_url }}{% else %}{% url search_url %}{% endif %}" method="GET">
50 <i class="input-icon icon-search"></i>
51 <input type="text" name="q" class="input-medium search-query" id="quick-search">
52 <input type="submit" class="submit" value="">
53 </form>
54 {% endif %}
55 {% endwith %}
56 {% endblock %}
Siobhan Tullybfd11dc2013-09-03 12:59:24 -040057 </div>
Siobhan Tullycf04fb62014-01-11 11:25:57 -050058
Siobhan Tullybfd11dc2013-09-03 12:59:24 -040059 {% block header_time %}
Siobhan Tullycf04fb62014-01-11 11:25:57 -050060 <div id="branding2">
61 <!--<div class="header-content header-content-first">
Siobhan Tullybfd11dc2013-09-03 12:59:24 -040062 <div class="header-column icon">
63 <i class="icon-time"></i>
64 </div>
65 <div class="header-column">
66 <span class="date"> {% suit_date %}</span><br>
67 <span class="time" id="clock">{% suit_time %}</span>
68 </div>
Siobhan Tullycf04fb62014-01-11 11:25:57 -050069 </div>-->
70
Siobhan Tullybfd11dc2013-09-03 12:59:24 -040071 {% endblock %}
72
73 {% block header_content %}
74 <!--<div class="header-content">
75 <div class="header-column icon">
76 <i class="icon-comment"></i>
77 </div>
78 <div class="header-column">
79 <a href="" class="grey"><b>2</b> new messages</a>
80 </div>
81 </div>-->
82 {% endblock %}
83
84 {% if user.is_active and user.is_staff %}
85 <div id="user-tools">
86 {% trans 'Welcome,' %}
Scott Baker771819b2014-03-19 22:10:17 -070087 <a href="http://{{ request.get_host}}/admin/core/user/{{user.id}}">{{user.email}}</a>
Scott Bakere3d6faf2015-01-27 15:29:41 -080088 <span id="observer-status"></span>
Siobhan Tullybfd11dc2013-09-03 12:59:24 -040089 <span class="user-links">
90 {% block userlinks %}
91 {% url 'django-admindocs-docroot' as docsroot %}
92 {% if docsroot %}
Scott Bakeraf80a722015-01-30 12:10:57 -080093 <a href="http://open-cloud.github.io/">{% trans 'Documentation' %}</a>
Siobhan Tullybfd11dc2013-09-03 12:59:24 -040094 <span class="separator">|</span>
95 {% endif %}
96 <a href="{% url 'admin:password_change' %}">{% trans 'Change password' %}</a>
97 <span class="separator">|</span>
98 <a href="{% url 'admin:logout' %}">{% trans 'Log out' %}</a>
99 </span>
100 {% endblock %}
101 </div>
102 {% endif %}
Siobhan Tullycf04fb62014-01-11 11:25:57 -0500103
Siobhan Tullybfd11dc2013-09-03 12:59:24 -0400104 {% block nav-global %}{% endblock %}
Siobhan Tullycf04fb62014-01-11 11:25:57 -0500105
Siobhan Tullybfd11dc2013-09-03 12:59:24 -0400106 </div>
Siobhan Tullycf04fb62014-01-11 11:25:57 -0500107 </div>
Siobhan Tullybfd11dc2013-09-03 12:59:24 -0400108 {% endif %}
109 <!-- END Header -->
110 {% endblock %}
111
112
113 <div class="suit-columns {{ is_popup|yesno:'one-column,two-columns' }}">
114
115 {% block content-center %}
116 <div id="suit-center" class="suit-column">
117
118 {% if not is_popup %}
Scott Baker771819b2014-03-19 22:10:17 -0700119 <div id=openCloudTopPage>
Scott Baker25df4362015-02-04 16:34:18 -0800120 {% include "admin/newminidashboard.html" %}
Scott Bakerd94d0d12014-04-25 12:50:36 -0700121 </div>
Scott Baker771819b2014-03-19 22:10:17 -0700122
Siobhan Tullybfd11dc2013-09-03 12:59:24 -0400123 {% block breadcrumbs %}
Siobhan Tullycf04fb62014-01-11 11:25:57 -0500124 <ul class="breadcrumb">
Siobhan Tullybfd11dc2013-09-03 12:59:24 -0400125 <li><a href="{% url 'admin:index' %}">{% trans 'Home' %}</a>
126 {% if title %}
127 <span class="divider">&raquo;</span>
128 </li>
129 <li class="active">
130 {{ title }}
131 {% endif %}
132 </li>
133 </ul>
134 {% endblock %}
135 {% endif %}
136
137 {% block messages %}
138 {% if messages %}
139
140 {% for message in messages %}
141 <div class="alert alert-{% firstof message.tags 'info' %}">
142 <button class="close" data-dismiss="alert">×</button>
143 <strong>
144 {% if message.tags %}{{ message.tags|capfirst }}{% else %}
145 Message{% endif %}!</strong>
146 {{ message }}
147 </div>
148 {% endfor %}
149 {% endif %}
150 {% endblock messages %}
151
152 <!-- Content -->
153 <div id="content" class="{% block coltype %}colM{% endblock %} row-fluid">
154 {% block pretitle %}{% endblock %}
155 {% block content_title %}{% if title %}
156 <h2 class="content-title">{{ title }}</h2>
157 {% endif %}{% endblock %}
158 {% block content %}
159 {% block object-tools %}{% endblock %}
160 {{ content }}
161 {% endblock %}
162 {% block sidebar_content %}
163 {% block sidebar %}{% endblock %}
164 {% endblock %}
165 </div>
166 <!-- END Content -->
Scott Baker904bada2014-03-27 09:16:37 -0700167 <span class="clearfix"></span>
Siobhan Tullybfd11dc2013-09-03 12:59:24 -0400168 </div>
169 {% endblock %}
170
171
172 {% block content-left %}
173 {% if not is_popup %}
174 <div id="suit-left" class="suit-column">
Siobhan Tullycf04fb62014-01-11 11:25:57 -0500175
Siobhan Tullybfd11dc2013-09-03 12:59:24 -0400176
177 {% include 'suit/menu.html' %}
178
179 </div>
180 {% endif %}
181 {% endblock %}
182
183 </div>
184 </div>
185 {% endblock %}
186
187 {% if not is_popup %}
188 <!-- Sticky footer push -->
189 <div id="push"></div>
190 {% endif %}
191
192</div>
193
194{% block footer %}
195 {% if not is_popup %}
196 <div id="footer" class="footer">
197 <div class="content">
198 <div class="tools">
199 {% block footer_links %}
200 <a href="http://djangosuit.com/support/" target="_blank" class="icon"><i class="icon-question-sign"></i>Support</a>
201 <a href="http://djangosuit.com/pricing/" target="_blank" class="icon"><i class="icon-bookmark"></i>Licence</a>
202 <a href="http://github.com/darklow/django-suit/issues" target="_blank" class="icon"><i class="icon-comment"></i>Report a bug</a>
203 {% endblock %}
204 </div>
205
Scott Bakerd61d6212014-11-12 17:15:58 -0800206 <div class="statusMsg" id="statusMsg">
Scott Baker35ae76a2014-11-05 16:21:44 -0800207 <!-- this is a placeholder for xoslib views to display status messages -->
208 </div>
209
Scott Baker904bada2014-03-27 09:16:37 -0700210 <!-- <div class="copyright">
Siobhan Tullybfd11dc2013-09-03 12:59:24 -0400211 {% block copyright %}
212 Copyright &copy; 2013 DjangoSuit.com<br>Developed by <a href="http://djangosuit.com" target="_blank">DjangoSuit.com</a>
213 {% endblock %}
Scott Baker904bada2014-03-27 09:16:37 -0700214 </div> -->
Siobhan Tullybfd11dc2013-09-03 12:59:24 -0400215
216 <div class="branding">{% block footer_branding %}
217 {% with 'ADMIN_NAME'|suit_conf as admin_name %}
218 {{ admin_name }}
219 {% if admin_name == 'Django Suit' %}
220 v{{ 'VERSION'|suit_conf }}
221 {% endif %}
222 {% endwith %}
223 {% endblock %}</div>
224 </div>
225 </div>
226 {% endif %}
227{% endblock %}
228
229 <script src="{% static 'suit/bootstrap/js/bootstrap.min.js' %}"></script>
230 <script src="{% static 'suit/js/suit.js' %}"></script>
Scott Baker771819b2014-03-19 22:10:17 -0700231 <script type="text/javascript" src="//www.google.com/jsapi"></script>
232 <script src="{% static 'planetstack_graphs.js' %}"></script>
233 <!-- src="{% static 'planetstack_graphs_old.js' %}" -->
234
Siobhan Tullybfd11dc2013-09-03 12:59:24 -0400235 {% block extrajs %}{% endblock %}
Sapan Bhatiaed4a9542014-02-27 13:16:49 -0500236<script src="http://d3js.org/d3.v3.js"></script>
Sapan Bhatiaed4a9542014-02-27 13:16:49 -0500237 <div class="modal fade hide" id="chartsModal" tabindex="-1" role="dialog" aria-labelledby="myModalLabel" aria-hidden="true">
238 <div class="modal-dialog">
239 <div class="modal-content">
240 <!--<div class="modal-header">
241 <button type="button" class="close" data-dismiss="modal" aria-hidden="true">&times;</button>
242 <h4 class="modal-title" id="myModalLabel">OpenCloud</h4>
243 </div>-->
Scott Baker86a32de2014-03-20 15:05:39 -0700244 <div class="modal-body" style="overflow-y:hidden; overflow-x:hidden;">
Sapan Bhatiaed4a9542014-02-27 13:16:49 -0500245 <div class="chartContainer">
246 <div class="row">
247 <div class=" padding">
248 </div>
249 </div>
250
251 <div class="row">
252 <div class=" heading">
253 <p id="chartHeading" class="heading">OpenCloud</p>
254 </div>
255 </div>
256 <div class="row">
257 <div class="padding"></div>
258 <div class="padding"></div>
259 </div>
260 <div class="row">
261 <div id="graph" class="graph">
262 </div>
263 </div>
264 </div>
Scott Baker771819b2014-03-19 22:10:17 -0700265 <div id="graph_work" style="display:none"></div>
Sapan Bhatiaed4a9542014-02-27 13:16:49 -0500266 </div>
267 <!--<div class="modal-footer">
268 <button type="button" class="btn btn-default" data-dismiss="modal">Close</button>
269 </div>-->
270 </div><!-- /.modal-content -->
271 </div><!-- /.modal-dialog -->
272 </div><!-- /.modal -->
273
274
275<script>
276
277
278
279
280</script>
Siobhan Tullybfd11dc2013-09-03 12:59:24 -0400281</body>
282</html>