Scott Baker | 771819b | 2014-03-19 22:10:17 -0700 | [diff] [blame] | 1 | {% load admin_static %}{% load suit_tags %}{% load url from future %}<!DOCTYPE html> |
Siobhan Tully | bfd11dc | 2013-09-03 12:59:24 -0400 | [diff] [blame] | 2 | <html lang="{{ LANGUAGE_CODE|default:"en-us" }}" {% if LANGUAGE_BIDI %}dir="rtl"{% endif %}> |
| 3 | <head> |
Siobhan Tully | cf04fb6 | 2014-01-11 11:25:57 -0500 | [diff] [blame] | 4 | <title>{% block title %} {%if title %} {{ title }} | {% endif %} {{ 'ADMIN_NAME'|suit_conf }}{% endblock %}</title> |
Siobhan Tully | bfd11dc | 2013-09-03 12:59:24 -0400 | [diff] [blame] | 5 | <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 Baker | 97468b7 | 2015-02-18 15:15:58 -0800 | [diff] [blame] | 8 | <link rel="stylesheet" type="text/css" href="{% static 'xos.css' %}" media="all"> |
Siobhan Tully | bfd11dc | 2013-09-03 12:59:24 -0400 | [diff] [blame] | 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 Baker | 771819b | 2014-03-19 22:10:17 -0700 | [diff] [blame] | 12 | <script src="{% static 'suit/js/jquery-1.9.1.min.js' %}"></script> |
Scott Baker | 904bada | 2014-03-27 09:16:37 -0700 | [diff] [blame] | 13 | <script src="http://code.jquery.com/ui/1.10.4/jquery-ui.js"></script> |
Scott Baker | 8c58219 | 2014-06-10 20:49:22 -0700 | [diff] [blame] | 14 | <link rel="stylesheet" href="http://code.jquery.com/ui/1.10.4/themes/smoothness/jquery-ui.css"> |
Scott Baker | 9f6b8ed | 2014-11-17 23:44:03 -0800 | [diff] [blame] | 15 | <script type="text/javascript" src="{% static 'log4javascript-1.4.6/log4javascript.js' %}"></script> |
| 16 | <script type="text/javascript" src="{% static 'uploadTextarea.js' %}"></script> |
Scott Baker | ac543a7 | 2015-01-27 15:29:41 -0800 | [diff] [blame] | 17 | <script type="text/javascript" src="{% static 'observer_status.js' %}"></script> |
Scott Baker | 904bada | 2014-03-27 09:16:37 -0700 | [diff] [blame] | 18 | |
Siobhan Tully | bfd11dc | 2013-09-03 12:59:24 -0400 | [diff] [blame] | 19 | <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 Tully | cf04fb6 | 2014-01-11 11:25:57 -0500 | [diff] [blame] | 26 | <link rel="shortcut icon" href="{% static 'favicon.png' %}"> |
Siobhan Tully | bfd11dc | 2013-09-03 12:59:24 -0400 | [diff] [blame] | 27 | </head> |
| 28 | {% load i18n %} |
| 29 | |
| 30 | <body class="{% if is_popup %}popup {% endif %}{% block bodyclass %}{% endblock %}"> |
| 31 | |
Scott Baker | 9edfdc0 | 2015-02-11 15:54:44 -0800 | [diff] [blame] | 32 | <div id="dialog-placeholder"> |
| 33 | <!-- This is a placeholder for dialog boxes, like the observer calendar --> |
| 34 | </div> |
| 35 | |
Siobhan Tully | bfd11dc | 2013-09-03 12:59:24 -0400 | [diff] [blame] | 36 | <!-- Sticky footer wrap --> |
| 37 | <div id="wrap"> |
| 38 | |
| 39 | <!-- Container --> |
| 40 | {% block container %} |
| 41 | <div id="container"> |
| 42 | |
Scott Baker | 904bada | 2014-03-27 09:16:37 -0700 | [diff] [blame] | 43 | <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 Tully | bfd11dc | 2013-09-03 12:59:24 -0400 | [diff] [blame] | 44 | {% block header %} |
| 45 | {% if not is_popup %} |
| 46 | <!-- Header --> |
| 47 | <div id="header" class="header"> |
Siobhan Tully | cf04fb6 | 2014-01-11 11:25:57 -0500 | [diff] [blame] | 48 | |
Siobhan Tully | bfd11dc | 2013-09-03 12:59:24 -0400 | [diff] [blame] | 49 | <div id="branding"> |
Siobhan Tully | cf04fb6 | 2014-01-11 11:25:57 -0500 | [diff] [blame] | 50 | {% 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 Tully | bfd11dc | 2013-09-03 12:59:24 -0400 | [diff] [blame] | 61 | </div> |
Siobhan Tully | cf04fb6 | 2014-01-11 11:25:57 -0500 | [diff] [blame] | 62 | |
Siobhan Tully | bfd11dc | 2013-09-03 12:59:24 -0400 | [diff] [blame] | 63 | {% block header_time %} |
Siobhan Tully | cf04fb6 | 2014-01-11 11:25:57 -0500 | [diff] [blame] | 64 | <div id="branding2"> |
| 65 | <!--<div class="header-content header-content-first"> |
Siobhan Tully | bfd11dc | 2013-09-03 12:59:24 -0400 | [diff] [blame] | 66 | <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 Tully | cf04fb6 | 2014-01-11 11:25:57 -0500 | [diff] [blame] | 73 | </div>--> |
| 74 | |
Siobhan Tully | bfd11dc | 2013-09-03 12:59:24 -0400 | [diff] [blame] | 75 | {% 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 Baker | 771819b | 2014-03-19 22:10:17 -0700 | [diff] [blame] | 91 | <a href="http://{{ request.get_host}}/admin/core/user/{{user.id}}">{{user.email}}</a> |
Scott Baker | ac543a7 | 2015-01-27 15:29:41 -0800 | [diff] [blame] | 92 | <span id="observer-status"></span> |
Siobhan Tully | bfd11dc | 2013-09-03 12:59:24 -0400 | [diff] [blame] | 93 | <span class="user-links"> |
| 94 | {% block userlinks %} |
| 95 | {% url 'django-admindocs-docroot' as docsroot %} |
| 96 | {% if docsroot %} |
Scott Baker | 2e6efd2 | 2015-01-30 12:10:57 -0800 | [diff] [blame] | 97 | <a href="http://open-cloud.github.io/">{% trans 'Documentation' %}</a> |
Siobhan Tully | bfd11dc | 2013-09-03 12:59:24 -0400 | [diff] [blame] | 98 | <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 Tully | cf04fb6 | 2014-01-11 11:25:57 -0500 | [diff] [blame] | 107 | |
Siobhan Tully | bfd11dc | 2013-09-03 12:59:24 -0400 | [diff] [blame] | 108 | {% block nav-global %}{% endblock %} |
Siobhan Tully | cf04fb6 | 2014-01-11 11:25:57 -0500 | [diff] [blame] | 109 | |
Siobhan Tully | bfd11dc | 2013-09-03 12:59:24 -0400 | [diff] [blame] | 110 | </div> |
Siobhan Tully | cf04fb6 | 2014-01-11 11:25:57 -0500 | [diff] [blame] | 111 | </div> |
Siobhan Tully | bfd11dc | 2013-09-03 12:59:24 -0400 | [diff] [blame] | 112 | {% 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 Baker | 771819b | 2014-03-19 22:10:17 -0700 | [diff] [blame] | 123 | <div id=openCloudTopPage> |
Scott Baker | f09eebb | 2015-02-04 16:34:18 -0800 | [diff] [blame] | 124 | {% include "admin/newminidashboard.html" %} |
Scott Baker | d94d0d1 | 2014-04-25 12:50:36 -0700 | [diff] [blame] | 125 | </div> |
Scott Baker | 771819b | 2014-03-19 22:10:17 -0700 | [diff] [blame] | 126 | |
Siobhan Tully | bfd11dc | 2013-09-03 12:59:24 -0400 | [diff] [blame] | 127 | {% block breadcrumbs %} |
Siobhan Tully | cf04fb6 | 2014-01-11 11:25:57 -0500 | [diff] [blame] | 128 | <ul class="breadcrumb"> |
Siobhan Tully | bfd11dc | 2013-09-03 12:59:24 -0400 | [diff] [blame] | 129 | <li><a href="{% url 'admin:index' %}">{% trans 'Home' %}</a> |
| 130 | {% if title %} |
| 131 | <span class="divider">»</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 Baker | 904bada | 2014-03-27 09:16:37 -0700 | [diff] [blame] | 171 | <span class="clearfix"></span> |
Siobhan Tully | bfd11dc | 2013-09-03 12:59:24 -0400 | [diff] [blame] | 172 | </div> |
| 173 | {% endblock %} |
| 174 | |
| 175 | |
| 176 | {% block content-left %} |
| 177 | {% if not is_popup %} |
| 178 | <div id="suit-left" class="suit-column"> |
Siobhan Tully | cf04fb6 | 2014-01-11 11:25:57 -0500 | [diff] [blame] | 179 | |
Siobhan Tully | bfd11dc | 2013-09-03 12:59:24 -0400 | [diff] [blame] | 180 | |
| 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 Baker | 0f4472a | 2014-11-12 17:15:58 -0800 | [diff] [blame] | 210 | <div class="statusMsg" id="statusMsg"> |
Scott Baker | 624a0a0 | 2014-11-05 16:21:44 -0800 | [diff] [blame] | 211 | <!-- this is a placeholder for xoslib views to display status messages --> |
| 212 | </div> |
| 213 | |
Scott Baker | 904bada | 2014-03-27 09:16:37 -0700 | [diff] [blame] | 214 | <!-- <div class="copyright"> |
Siobhan Tully | bfd11dc | 2013-09-03 12:59:24 -0400 | [diff] [blame] | 215 | {% block copyright %} |
| 216 | Copyright © 2013 DjangoSuit.com<br>Developed by <a href="http://djangosuit.com" target="_blank">DjangoSuit.com</a> |
| 217 | {% endblock %} |
Scott Baker | 904bada | 2014-03-27 09:16:37 -0700 | [diff] [blame] | 218 | </div> --> |
Siobhan Tully | bfd11dc | 2013-09-03 12:59:24 -0400 | [diff] [blame] | 219 | |
| 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 Baker | 771819b | 2014-03-19 22:10:17 -0700 | [diff] [blame] | 235 | <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 Tully | bfd11dc | 2013-09-03 12:59:24 -0400 | [diff] [blame] | 239 | {% block extrajs %}{% endblock %} |
Sapan Bhatia | ed4a954 | 2014-02-27 13:16:49 -0500 | [diff] [blame] | 240 | <script src="http://d3js.org/d3.v3.js"></script> |
Sapan Bhatia | ed4a954 | 2014-02-27 13:16:49 -0500 | [diff] [blame] | 241 | <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">×</button> |
| 246 | <h4 class="modal-title" id="myModalLabel">OpenCloud</h4> |
| 247 | </div>--> |
Scott Baker | 86a32de | 2014-03-20 15:05:39 -0700 | [diff] [blame] | 248 | <div class="modal-body" style="overflow-y:hidden; overflow-x:hidden;"> |
Sapan Bhatia | ed4a954 | 2014-02-27 13:16:49 -0500 | [diff] [blame] | 249 | <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 Baker | 771819b | 2014-03-19 22:10:17 -0700 | [diff] [blame] | 269 | <div id="graph_work" style="display:none"></div> |
Sapan Bhatia | ed4a954 | 2014-02-27 13:16:49 -0500 | [diff] [blame] | 270 | </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 Tully | bfd11dc | 2013-09-03 12:59:24 -0400 | [diff] [blame] | 285 | </body> |
| 286 | </html> |