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"> |
| 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 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 | 904bada | 2014-03-27 09:16:37 -0700 | [diff] [blame] | 15 | <script type="text/javascript" src="{% static 'log4javascript-1.4.6/log4javascript.js' %}"></script> |
| 16 | |
| 17 | |
Siobhan Tully | bfd11dc | 2013-09-03 12:59:24 -0400 | [diff] [blame] | 18 | <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 Tully | cf04fb6 | 2014-01-11 11:25:57 -0500 | [diff] [blame] | 25 | <link rel="shortcut icon" href="{% static 'favicon.png' %}"> |
Siobhan Tully | bfd11dc | 2013-09-03 12:59:24 -0400 | [diff] [blame] | 26 | </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 Baker | 904bada | 2014-03-27 09:16:37 -0700 | [diff] [blame] | 38 | <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] | 39 | {% block header %} |
| 40 | {% if not is_popup %} |
| 41 | <!-- Header --> |
| 42 | <div id="header" class="header"> |
Siobhan Tully | cf04fb6 | 2014-01-11 11:25:57 -0500 | [diff] [blame] | 43 | |
Siobhan Tully | bfd11dc | 2013-09-03 12:59:24 -0400 | [diff] [blame] | 44 | <div id="branding"> |
Siobhan Tully | cf04fb6 | 2014-01-11 11:25:57 -0500 | [diff] [blame] | 45 | {% 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 Tully | bfd11dc | 2013-09-03 12:59:24 -0400 | [diff] [blame] | 56 | </div> |
Siobhan Tully | cf04fb6 | 2014-01-11 11:25:57 -0500 | [diff] [blame] | 57 | |
Siobhan Tully | bfd11dc | 2013-09-03 12:59:24 -0400 | [diff] [blame] | 58 | {% block header_time %} |
Siobhan Tully | cf04fb6 | 2014-01-11 11:25:57 -0500 | [diff] [blame] | 59 | <div id="branding2"> |
| 60 | <!--<div class="header-content header-content-first"> |
Siobhan Tully | bfd11dc | 2013-09-03 12:59:24 -0400 | [diff] [blame] | 61 | <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 Tully | cf04fb6 | 2014-01-11 11:25:57 -0500 | [diff] [blame] | 68 | </div>--> |
| 69 | |
Siobhan Tully | bfd11dc | 2013-09-03 12:59:24 -0400 | [diff] [blame] | 70 | {% 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 Baker | 771819b | 2014-03-19 22:10:17 -0700 | [diff] [blame] | 86 | <a href="http://{{ request.get_host}}/admin/core/user/{{user.id}}">{{user.email}}</a> |
Siobhan Tully | bfd11dc | 2013-09-03 12:59:24 -0400 | [diff] [blame] | 87 | <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 Tully | cf04fb6 | 2014-01-11 11:25:57 -0500 | [diff] [blame] | 101 | |
Siobhan Tully | bfd11dc | 2013-09-03 12:59:24 -0400 | [diff] [blame] | 102 | {% block nav-global %}{% endblock %} |
Siobhan Tully | cf04fb6 | 2014-01-11 11:25:57 -0500 | [diff] [blame] | 103 | |
Siobhan Tully | bfd11dc | 2013-09-03 12:59:24 -0400 | [diff] [blame] | 104 | </div> |
Siobhan Tully | cf04fb6 | 2014-01-11 11:25:57 -0500 | [diff] [blame] | 105 | </div> |
Siobhan Tully | bfd11dc | 2013-09-03 12:59:24 -0400 | [diff] [blame] | 106 | {% 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 Baker | 771819b | 2014-03-19 22:10:17 -0700 | [diff] [blame] | 117 | <div id=openCloudTopPage> |
Scott Baker | 904bada | 2014-03-27 09:16:37 -0700 | [diff] [blame] | 118 | {% include "/opt/planetstack/templates/admin/newminidashboard.html" %} |
Scott Baker | d94d0d1 | 2014-04-25 12:50:36 -0700 | [diff] [blame] | 119 | </div> |
Scott Baker | 771819b | 2014-03-19 22:10:17 -0700 | [diff] [blame] | 120 | |
Siobhan Tully | bfd11dc | 2013-09-03 12:59:24 -0400 | [diff] [blame] | 121 | {% block breadcrumbs %} |
Siobhan Tully | cf04fb6 | 2014-01-11 11:25:57 -0500 | [diff] [blame] | 122 | <ul class="breadcrumb"> |
Siobhan Tully | bfd11dc | 2013-09-03 12:59:24 -0400 | [diff] [blame] | 123 | <li><a href="{% url 'admin:index' %}">{% trans 'Home' %}</a> |
| 124 | {% if title %} |
| 125 | <span class="divider">»</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 Baker | 904bada | 2014-03-27 09:16:37 -0700 | [diff] [blame] | 165 | <span class="clearfix"></span> |
Siobhan Tully | bfd11dc | 2013-09-03 12:59:24 -0400 | [diff] [blame] | 166 | </div> |
| 167 | {% endblock %} |
| 168 | |
| 169 | |
| 170 | {% block content-left %} |
| 171 | {% if not is_popup %} |
| 172 | <div id="suit-left" class="suit-column"> |
Siobhan Tully | cf04fb6 | 2014-01-11 11:25:57 -0500 | [diff] [blame] | 173 | |
Siobhan Tully | bfd11dc | 2013-09-03 12:59:24 -0400 | [diff] [blame] | 174 | |
| 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 Baker | 904bada | 2014-03-27 09:16:37 -0700 | [diff] [blame] | 204 | <!-- <div class="copyright"> |
Siobhan Tully | bfd11dc | 2013-09-03 12:59:24 -0400 | [diff] [blame] | 205 | {% block copyright %} |
| 206 | Copyright © 2013 DjangoSuit.com<br>Developed by <a href="http://djangosuit.com" target="_blank">DjangoSuit.com</a> |
| 207 | {% endblock %} |
Scott Baker | 904bada | 2014-03-27 09:16:37 -0700 | [diff] [blame] | 208 | </div> --> |
Siobhan Tully | bfd11dc | 2013-09-03 12:59:24 -0400 | [diff] [blame] | 209 | |
| 210 | <div class="branding">{% block footer_branding %} |
| 211 | {% with 'ADMIN_NAME'|suit_conf as admin_name %} |
| 212 | {{ admin_name }} |
| 213 | {% if admin_name == 'Django Suit' %} |
| 214 | v{{ 'VERSION'|suit_conf }} |
| 215 | {% endif %} |
| 216 | {% endwith %} |
| 217 | {% endblock %}</div> |
| 218 | </div> |
| 219 | </div> |
| 220 | {% endif %} |
| 221 | {% endblock %} |
| 222 | |
| 223 | <script src="{% static 'suit/bootstrap/js/bootstrap.min.js' %}"></script> |
| 224 | <script src="{% static 'suit/js/suit.js' %}"></script> |
Scott Baker | 771819b | 2014-03-19 22:10:17 -0700 | [diff] [blame] | 225 | <script src="{% static 'page_analytics.js' %}"></script> |
| 226 | <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 Tully | bfd11dc | 2013-09-03 12:59:24 -0400 | [diff] [blame] | 230 | {% block extrajs %}{% endblock %} |
Sapan Bhatia | ed4a954 | 2014-02-27 13:16:49 -0500 | [diff] [blame] | 231 | <script src="http://d3js.org/d3.v3.js"></script> |
Sapan Bhatia | ed4a954 | 2014-02-27 13:16:49 -0500 | [diff] [blame] | 232 | <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">×</button> |
| 237 | <h4 class="modal-title" id="myModalLabel">OpenCloud</h4> |
| 238 | </div>--> |
Scott Baker | 86a32de | 2014-03-20 15:05:39 -0700 | [diff] [blame] | 239 | <div class="modal-body" style="overflow-y:hidden; overflow-x:hidden;"> |
Sapan Bhatia | ed4a954 | 2014-02-27 13:16:49 -0500 | [diff] [blame] | 240 | <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 Baker | 771819b | 2014-03-19 22:10:17 -0700 | [diff] [blame] | 260 | <div id="graph_work" style="display:none"></div> |
Sapan Bhatia | ed4a954 | 2014-02-27 13:16:49 -0500 | [diff] [blame] | 261 | </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 Tully | bfd11dc | 2013-09-03 12:59:24 -0400 | [diff] [blame] | 276 | </body> |
| 277 | </html> |