blob: 49c6791769e754cdb545edc691c7e98abd6b55ff [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 Baker904bada2014-03-27 09:16:37 -070017
Siobhan Tullybfd11dc2013-09-03 12:59:24 -040018 <script type="text/javascript">var Suit = { $: $.noConflict() }; if (!$) $ = Suit.$; </script>
19 {% if 'SHOW_REQUIRED_ASTERISK'|suit_conf %}
20 <style type="text/css">.required:after { content: '*'; margin: 0 0 0 5px; position: absolute; color: #ccc;}</style>
21 {% endif %}
22 {% block extrahead %}{% endblock %}
23 {% block blockbots %}
24 <meta name="robots" content="NONE,NOARCHIVE"/>{% endblock %}
Siobhan Tullycf04fb62014-01-11 11:25:57 -050025 <link rel="shortcut icon" href="{% static 'favicon.png' %}">
Siobhan Tullybfd11dc2013-09-03 12:59:24 -040026</head>
27{% load i18n %}
28
29<body class="{% if is_popup %}popup {% endif %}{% block bodyclass %}{% endblock %}">
30
31<!-- Sticky footer wrap -->
32<div id="wrap">
33
34 <!-- Container -->
35 {% block container %}
36 <div id="container">
37
Scott Baker904bada2014-03-27 09:16:37 -070038 <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 -040039 {% block header %}
40 {% if not is_popup %}
41 <!-- Header -->
42 <div id="header" class="header">
Siobhan Tullycf04fb62014-01-11 11:25:57 -050043
Siobhan Tullybfd11dc2013-09-03 12:59:24 -040044 <div id="branding">
Siobhan Tullycf04fb62014-01-11 11:25:57 -050045 {% block quick-search %}
46 {% with 'SEARCH_URL'|suit_conf as search_url %}
47 {% if search_url %}
48 <form class="form-search nav-quick-search" autocomplete="off" action="{% if '/' in search_url %}{{ search_url }}{% else %}{% url search_url %}{% endif %}" method="GET">
49 <i class="input-icon icon-search"></i>
50 <input type="text" name="q" class="input-medium search-query" id="quick-search">
51 <input type="submit" class="submit" value="">
52 </form>
53 {% endif %}
54 {% endwith %}
55 {% endblock %}
Siobhan Tullybfd11dc2013-09-03 12:59:24 -040056 </div>
Siobhan Tullycf04fb62014-01-11 11:25:57 -050057
Siobhan Tullybfd11dc2013-09-03 12:59:24 -040058 {% block header_time %}
Siobhan Tullycf04fb62014-01-11 11:25:57 -050059 <div id="branding2">
60 <!--<div class="header-content header-content-first">
Siobhan Tullybfd11dc2013-09-03 12:59:24 -040061 <div class="header-column icon">
62 <i class="icon-time"></i>
63 </div>
64 <div class="header-column">
65 <span class="date"> {% suit_date %}</span><br>
66 <span class="time" id="clock">{% suit_time %}</span>
67 </div>
Siobhan Tullycf04fb62014-01-11 11:25:57 -050068 </div>-->
69
Siobhan Tullybfd11dc2013-09-03 12:59:24 -040070 {% endblock %}
71
72 {% block header_content %}
73 <!--<div class="header-content">
74 <div class="header-column icon">
75 <i class="icon-comment"></i>
76 </div>
77 <div class="header-column">
78 <a href="" class="grey"><b>2</b> new messages</a>
79 </div>
80 </div>-->
81 {% endblock %}
82
83 {% if user.is_active and user.is_staff %}
84 <div id="user-tools">
85 {% trans 'Welcome,' %}
Scott Baker771819b2014-03-19 22:10:17 -070086 <a href="http://{{ request.get_host}}/admin/core/user/{{user.id}}">{{user.email}}</a>
Siobhan Tullybfd11dc2013-09-03 12:59:24 -040087 <span class="user-links">
88 {% block userlinks %}
89 {% url 'django-admindocs-docroot' as docsroot %}
90 {% if docsroot %}
91 <a href="{{ docsroot }}">{% trans 'Documentation' %}</a>
92 <span class="separator">|</span>
93 {% endif %}
94 <a href="{% url 'admin:password_change' %}">{% trans 'Change password' %}</a>
95 <span class="separator">|</span>
96 <a href="{% url 'admin:logout' %}">{% trans 'Log out' %}</a>
97 </span>
98 {% endblock %}
99 </div>
100 {% endif %}
Siobhan Tullycf04fb62014-01-11 11:25:57 -0500101
Siobhan Tullybfd11dc2013-09-03 12:59:24 -0400102 {% block nav-global %}{% endblock %}
Siobhan Tullycf04fb62014-01-11 11:25:57 -0500103
Siobhan Tullybfd11dc2013-09-03 12:59:24 -0400104 </div>
Siobhan Tullycf04fb62014-01-11 11:25:57 -0500105 </div>
Siobhan Tullybfd11dc2013-09-03 12:59:24 -0400106 {% endif %}
107 <!-- END Header -->
108 {% endblock %}
109
110
111 <div class="suit-columns {{ is_popup|yesno:'one-column,two-columns' }}">
112
113 {% block content-center %}
114 <div id="suit-center" class="suit-column">
115
116 {% if not is_popup %}
Scott Baker771819b2014-03-19 22:10:17 -0700117 <div id=openCloudTopPage>
Scott Baker904bada2014-03-27 09:16:37 -0700118 {% include "/opt/planetstack/templates/admin/newminidashboard.html" %}
Scott Bakerd94d0d12014-04-25 12:50:36 -0700119 </div>
Scott Baker771819b2014-03-19 22:10:17 -0700120
Siobhan Tullybfd11dc2013-09-03 12:59:24 -0400121 {% block breadcrumbs %}
Siobhan Tullycf04fb62014-01-11 11:25:57 -0500122 <ul class="breadcrumb">
Siobhan Tullybfd11dc2013-09-03 12:59:24 -0400123 <li><a href="{% url 'admin:index' %}">{% trans 'Home' %}</a>
124 {% if title %}
125 <span class="divider">&raquo;</span>
126 </li>
127 <li class="active">
128 {{ title }}
129 {% endif %}
130 </li>
131 </ul>
132 {% endblock %}
133 {% endif %}
134
135 {% block messages %}
136 {% if messages %}
137
138 {% for message in messages %}
139 <div class="alert alert-{% firstof message.tags 'info' %}">
140 <button class="close" data-dismiss="alert">×</button>
141 <strong>
142 {% if message.tags %}{{ message.tags|capfirst }}{% else %}
143 Message{% endif %}!</strong>
144 {{ message }}
145 </div>
146 {% endfor %}
147 {% endif %}
148 {% endblock messages %}
149
150 <!-- Content -->
151 <div id="content" class="{% block coltype %}colM{% endblock %} row-fluid">
152 {% block pretitle %}{% endblock %}
153 {% block content_title %}{% if title %}
154 <h2 class="content-title">{{ title }}</h2>
155 {% endif %}{% endblock %}
156 {% block content %}
157 {% block object-tools %}{% endblock %}
158 {{ content }}
159 {% endblock %}
160 {% block sidebar_content %}
161 {% block sidebar %}{% endblock %}
162 {% endblock %}
163 </div>
164 <!-- END Content -->
Scott Baker904bada2014-03-27 09:16:37 -0700165 <span class="clearfix"></span>
Siobhan Tullybfd11dc2013-09-03 12:59:24 -0400166 </div>
167 {% endblock %}
168
169
170 {% block content-left %}
171 {% if not is_popup %}
172 <div id="suit-left" class="suit-column">
Siobhan Tullycf04fb62014-01-11 11:25:57 -0500173
Siobhan Tullybfd11dc2013-09-03 12:59:24 -0400174
175 {% include 'suit/menu.html' %}
176
177 </div>
178 {% endif %}
179 {% endblock %}
180
181 </div>
182 </div>
183 {% endblock %}
184
185 {% if not is_popup %}
186 <!-- Sticky footer push -->
187 <div id="push"></div>
188 {% endif %}
189
190</div>
191
192{% block footer %}
193 {% if not is_popup %}
194 <div id="footer" class="footer">
195 <div class="content">
196 <div class="tools">
197 {% block footer_links %}
198 <a href="http://djangosuit.com/support/" target="_blank" class="icon"><i class="icon-question-sign"></i>Support</a>
199 <a href="http://djangosuit.com/pricing/" target="_blank" class="icon"><i class="icon-bookmark"></i>Licence</a>
200 <a href="http://github.com/darklow/django-suit/issues" target="_blank" class="icon"><i class="icon-comment"></i>Report a bug</a>
201 {% endblock %}
202 </div>
203
Scott Baker0f4472a2014-11-12 17:15:58 -0800204 <div class="statusMsg" id="statusMsg">
Scott Baker624a0a02014-11-05 16:21:44 -0800205 <!-- this is a placeholder for xoslib views to display status messages -->
206 </div>
207
Scott Baker904bada2014-03-27 09:16:37 -0700208 <!-- <div class="copyright">
Siobhan Tullybfd11dc2013-09-03 12:59:24 -0400209 {% block copyright %}
210 Copyright &copy; 2013 DjangoSuit.com<br>Developed by <a href="http://djangosuit.com" target="_blank">DjangoSuit.com</a>
211 {% endblock %}
Scott Baker904bada2014-03-27 09:16:37 -0700212 </div> -->
Siobhan Tullybfd11dc2013-09-03 12:59:24 -0400213
214 <div class="branding">{% block footer_branding %}
215 {% with 'ADMIN_NAME'|suit_conf as admin_name %}
216 {{ admin_name }}
217 {% if admin_name == 'Django Suit' %}
218 v{{ 'VERSION'|suit_conf }}
219 {% endif %}
220 {% endwith %}
221 {% endblock %}</div>
222 </div>
223 </div>
224 {% endif %}
225{% endblock %}
226
227 <script src="{% static 'suit/bootstrap/js/bootstrap.min.js' %}"></script>
228 <script src="{% static 'suit/js/suit.js' %}"></script>
Scott Baker771819b2014-03-19 22:10:17 -0700229 <script type="text/javascript" src="//www.google.com/jsapi"></script>
230 <script src="{% static 'planetstack_graphs.js' %}"></script>
231 <!-- src="{% static 'planetstack_graphs_old.js' %}" -->
232
Siobhan Tullybfd11dc2013-09-03 12:59:24 -0400233 {% block extrajs %}{% endblock %}
Sapan Bhatiaed4a9542014-02-27 13:16:49 -0500234<script src="http://d3js.org/d3.v3.js"></script>
Sapan Bhatiaed4a9542014-02-27 13:16:49 -0500235 <div class="modal fade hide" id="chartsModal" tabindex="-1" role="dialog" aria-labelledby="myModalLabel" aria-hidden="true">
236 <div class="modal-dialog">
237 <div class="modal-content">
238 <!--<div class="modal-header">
239 <button type="button" class="close" data-dismiss="modal" aria-hidden="true">&times;</button>
240 <h4 class="modal-title" id="myModalLabel">OpenCloud</h4>
241 </div>-->
Scott Baker86a32de2014-03-20 15:05:39 -0700242 <div class="modal-body" style="overflow-y:hidden; overflow-x:hidden;">
Sapan Bhatiaed4a9542014-02-27 13:16:49 -0500243 <div class="chartContainer">
244 <div class="row">
245 <div class=" padding">
246 </div>
247 </div>
248
249 <div class="row">
250 <div class=" heading">
251 <p id="chartHeading" class="heading">OpenCloud</p>
252 </div>
253 </div>
254 <div class="row">
255 <div class="padding"></div>
256 <div class="padding"></div>
257 </div>
258 <div class="row">
259 <div id="graph" class="graph">
260 </div>
261 </div>
262 </div>
Scott Baker771819b2014-03-19 22:10:17 -0700263 <div id="graph_work" style="display:none"></div>
Sapan Bhatiaed4a9542014-02-27 13:16:49 -0500264 </div>
265 <!--<div class="modal-footer">
266 <button type="button" class="btn btn-default" data-dismiss="modal">Close</button>
267 </div>-->
268 </div><!-- /.modal-content -->
269 </div><!-- /.modal-dialog -->
270 </div><!-- /.modal -->
271
272
273<script>
274
275
276
277
278</script>
Siobhan Tullybfd11dc2013-09-03 12:59:24 -0400279</body>
280</html>