blob: 21f7974e21e9fdd80942689883039224a89f4123 [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>
Scott Baker34f75902014-10-28 15:57:40 -07005 <meta name="csrf-token" content="{{csrf_token}}">
Siobhan Tullybfd11dc2013-09-03 12:59:24 -04006 <link rel="stylesheet" type="text/css" href="{% block stylesheet %}{% endblock %}"/>
7 <link rel="stylesheet" type="text/css" href="{% static 'suit/bootstrap/css/bootstrap.min.css' %}" media="all"/>
8 <link rel="stylesheet" type="text/css" href="{% static 'suit/css/suit.css' %}" media="all">
9 <link rel="stylesheet" type="text/css" href="{% static 'planetstack.css' %}" media="all">
10 {% block extrastyle %}{% endblock %}
11 {% if LANGUAGE_BIDI %}<link rel="stylesheet" type="text/css" href="{% block stylesheet_rtl %}{% static "admin/css/rtl.css" %}{% endblock %}"/>{% endif %}
12 <script type="text/javascript">window.__admin_media_prefix__ = "{% filter escapejs %}{% static "admin/" %}{% endfilter %}";</script>
Scott Baker771819b2014-03-19 22:10:17 -070013 <script src="{% static 'suit/js/jquery-1.9.1.min.js' %}"></script>
Scott Baker904bada2014-03-27 09:16:37 -070014 <script src="http://code.jquery.com/ui/1.10.4/jquery-ui.js"></script>
Scott Baker8c582192014-06-10 20:49:22 -070015 <link rel="stylesheet" href="http://code.jquery.com/ui/1.10.4/themes/smoothness/jquery-ui.css">
Scott Baker904bada2014-03-27 09:16:37 -070016<script type="text/javascript" src="{% static 'log4javascript-1.4.6/log4javascript.js' %}"></script>
17
18
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>
Siobhan Tullybfd11dc2013-09-03 12:59:24 -040088 <span class="user-links">
89 {% block userlinks %}
90 {% url 'django-admindocs-docroot' as docsroot %}
91 {% if docsroot %}
92 <a href="{{ docsroot }}">{% trans 'Documentation' %}</a>
93 <span class="separator">|</span>
94 {% endif %}
95 <a href="{% url 'admin:password_change' %}">{% trans 'Change password' %}</a>
96 <span class="separator">|</span>
97 <a href="{% url 'admin:logout' %}">{% trans 'Log out' %}</a>
98 </span>
99 {% endblock %}
100 </div>
101 {% endif %}
Siobhan Tullycf04fb62014-01-11 11:25:57 -0500102
Siobhan Tullybfd11dc2013-09-03 12:59:24 -0400103 {% block nav-global %}{% endblock %}
Siobhan Tullycf04fb62014-01-11 11:25:57 -0500104
Siobhan Tullybfd11dc2013-09-03 12:59:24 -0400105 </div>
Siobhan Tullycf04fb62014-01-11 11:25:57 -0500106 </div>
Siobhan Tullybfd11dc2013-09-03 12:59:24 -0400107 {% endif %}
108 <!-- END Header -->
109 {% endblock %}
110
111
112 <div class="suit-columns {{ is_popup|yesno:'one-column,two-columns' }}">
113
114 {% block content-center %}
115 <div id="suit-center" class="suit-column">
116
117 {% if not is_popup %}
Scott Baker771819b2014-03-19 22:10:17 -0700118 <div id=openCloudTopPage>
Scott Baker904bada2014-03-27 09:16:37 -0700119 {% include "/opt/planetstack/templates/admin/newminidashboard.html" %}
Scott Bakerd94d0d12014-04-25 12:50:36 -0700120 </div>
Scott Baker771819b2014-03-19 22:10:17 -0700121
Siobhan Tullybfd11dc2013-09-03 12:59:24 -0400122 {% block breadcrumbs %}
Siobhan Tullycf04fb62014-01-11 11:25:57 -0500123 <ul class="breadcrumb">
Siobhan Tullybfd11dc2013-09-03 12:59:24 -0400124 <li><a href="{% url 'admin:index' %}">{% trans 'Home' %}</a>
125 {% if title %}
126 <span class="divider">&raquo;</span>
127 </li>
128 <li class="active">
129 {{ title }}
130 {% endif %}
131 </li>
132 </ul>
133 {% endblock %}
134 {% endif %}
135
136 {% block messages %}
137 {% if messages %}
138
139 {% for message in messages %}
140 <div class="alert alert-{% firstof message.tags 'info' %}">
141 <button class="close" data-dismiss="alert">×</button>
142 <strong>
143 {% if message.tags %}{{ message.tags|capfirst }}{% else %}
144 Message{% endif %}!</strong>
145 {{ message }}
146 </div>
147 {% endfor %}
148 {% endif %}
149 {% endblock messages %}
150
151 <!-- Content -->
152 <div id="content" class="{% block coltype %}colM{% endblock %} row-fluid">
153 {% block pretitle %}{% endblock %}
154 {% block content_title %}{% if title %}
155 <h2 class="content-title">{{ title }}</h2>
156 {% endif %}{% endblock %}
157 {% block content %}
158 {% block object-tools %}{% endblock %}
159 {{ content }}
160 {% endblock %}
161 {% block sidebar_content %}
162 {% block sidebar %}{% endblock %}
163 {% endblock %}
164 </div>
165 <!-- END Content -->
Scott Baker904bada2014-03-27 09:16:37 -0700166 <span class="clearfix"></span>
Siobhan Tullybfd11dc2013-09-03 12:59:24 -0400167 </div>
168 {% endblock %}
169
170
171 {% block content-left %}
172 {% if not is_popup %}
173 <div id="suit-left" class="suit-column">
Siobhan Tullycf04fb62014-01-11 11:25:57 -0500174
Siobhan Tullybfd11dc2013-09-03 12:59:24 -0400175
176 {% include 'suit/menu.html' %}
177
178 </div>
179 {% endif %}
180 {% endblock %}
181
182 </div>
183 </div>
184 {% endblock %}
185
186 {% if not is_popup %}
187 <!-- Sticky footer push -->
188 <div id="push"></div>
189 {% endif %}
190
191</div>
192
193{% block footer %}
194 {% if not is_popup %}
195 <div id="footer" class="footer">
196 <div class="content">
197 <div class="tools">
198 {% block footer_links %}
199 <a href="http://djangosuit.com/support/" target="_blank" class="icon"><i class="icon-question-sign"></i>Support</a>
200 <a href="http://djangosuit.com/pricing/" target="_blank" class="icon"><i class="icon-bookmark"></i>Licence</a>
201 <a href="http://github.com/darklow/django-suit/issues" target="_blank" class="icon"><i class="icon-comment"></i>Report a bug</a>
202 {% endblock %}
203 </div>
204
Scott Baker904bada2014-03-27 09:16:37 -0700205 <!-- <div class="copyright">
Siobhan Tullybfd11dc2013-09-03 12:59:24 -0400206 {% block copyright %}
207 Copyright &copy; 2013 DjangoSuit.com<br>Developed by <a href="http://djangosuit.com" target="_blank">DjangoSuit.com</a>
208 {% endblock %}
Scott Baker904bada2014-03-27 09:16:37 -0700209 </div> -->
Siobhan Tullybfd11dc2013-09-03 12:59:24 -0400210
211 <div class="branding">{% block footer_branding %}
212 {% with 'ADMIN_NAME'|suit_conf as admin_name %}
213 {{ admin_name }}
214 {% if admin_name == 'Django Suit' %}
215 v{{ 'VERSION'|suit_conf }}
216 {% endif %}
217 {% endwith %}
218 {% endblock %}</div>
219 </div>
220 </div>
221 {% endif %}
222{% endblock %}
223
224 <script src="{% static 'suit/bootstrap/js/bootstrap.min.js' %}"></script>
225 <script src="{% static 'suit/js/suit.js' %}"></script>
Scott Baker771819b2014-03-19 22:10:17 -0700226 <script type="text/javascript" src="//www.google.com/jsapi"></script>
227 <script src="{% static 'planetstack_graphs.js' %}"></script>
228 <!-- src="{% static 'planetstack_graphs_old.js' %}" -->
229
Siobhan Tullybfd11dc2013-09-03 12:59:24 -0400230 {% block extrajs %}{% endblock %}
Sapan Bhatiaed4a9542014-02-27 13:16:49 -0500231<script src="http://d3js.org/d3.v3.js"></script>
Sapan Bhatiaed4a9542014-02-27 13:16:49 -0500232 <div class="modal fade hide" id="chartsModal" tabindex="-1" role="dialog" aria-labelledby="myModalLabel" aria-hidden="true">
233 <div class="modal-dialog">
234 <div class="modal-content">
235 <!--<div class="modal-header">
236 <button type="button" class="close" data-dismiss="modal" aria-hidden="true">&times;</button>
237 <h4 class="modal-title" id="myModalLabel">OpenCloud</h4>
238 </div>-->
Scott Baker86a32de2014-03-20 15:05:39 -0700239 <div class="modal-body" style="overflow-y:hidden; overflow-x:hidden;">
Sapan Bhatiaed4a9542014-02-27 13:16:49 -0500240 <div class="chartContainer">
241 <div class="row">
242 <div class=" padding">
243 </div>
244 </div>
245
246 <div class="row">
247 <div class=" heading">
248 <p id="chartHeading" class="heading">OpenCloud</p>
249 </div>
250 </div>
251 <div class="row">
252 <div class="padding"></div>
253 <div class="padding"></div>
254 </div>
255 <div class="row">
256 <div id="graph" class="graph">
257 </div>
258 </div>
259 </div>
Scott Baker771819b2014-03-19 22:10:17 -0700260 <div id="graph_work" style="display:none"></div>
Sapan Bhatiaed4a9542014-02-27 13:16:49 -0500261 </div>
262 <!--<div class="modal-footer">
263 <button type="button" class="btn btn-default" data-dismiss="modal">Close</button>
264 </div>-->
265 </div><!-- /.modal-content -->
266 </div><!-- /.modal-dialog -->
267 </div><!-- /.modal -->
268
269
270<script>
271
272
273
274
275</script>
Siobhan Tullybfd11dc2013-09-03 12:59:24 -0400276</body>
277</html>