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> |
| 14 | <script type="text/javascript" src="{% static 'log4javascript-1.4.6/log4javascript.js' %}"></script> |
| 15 | |
| 16 | |
Siobhan Tully | bfd11dc | 2013-09-03 12:59:24 -0400 | [diff] [blame] | 17 | <script type="text/javascript">var Suit = { $: $.noConflict() }; if (!$) $ = Suit.$; </script> |
| 18 | {% if 'SHOW_REQUIRED_ASTERISK'|suit_conf %} |
| 19 | <style type="text/css">.required:after { content: '*'; margin: 0 0 0 5px; position: absolute; color: #ccc;}</style> |
| 20 | {% endif %} |
| 21 | {% block extrahead %}{% endblock %} |
| 22 | {% block blockbots %} |
| 23 | <meta name="robots" content="NONE,NOARCHIVE"/>{% endblock %} |
Siobhan Tully | cf04fb6 | 2014-01-11 11:25:57 -0500 | [diff] [blame] | 24 | <link rel="shortcut icon" href="{% static 'favicon.png' %}"> |
Siobhan Tully | bfd11dc | 2013-09-03 12:59:24 -0400 | [diff] [blame] | 25 | </head> |
| 26 | {% load i18n %} |
| 27 | |
| 28 | <body class="{% if is_popup %}popup {% endif %}{% block bodyclass %}{% endblock %}"> |
| 29 | |
| 30 | <!-- Sticky footer wrap --> |
| 31 | <div id="wrap"> |
| 32 | |
| 33 | <!-- Container --> |
| 34 | {% block container %} |
| 35 | <div id="container"> |
| 36 | |
Scott Baker | 904bada | 2014-03-27 09:16:37 -0700 | [diff] [blame] | 37 | <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] | 38 | {% block header %} |
| 39 | {% if not is_popup %} |
| 40 | <!-- Header --> |
| 41 | <div id="header" class="header"> |
Siobhan Tully | cf04fb6 | 2014-01-11 11:25:57 -0500 | [diff] [blame] | 42 | |
Siobhan Tully | bfd11dc | 2013-09-03 12:59:24 -0400 | [diff] [blame] | 43 | <div id="branding"> |
Siobhan Tully | cf04fb6 | 2014-01-11 11:25:57 -0500 | [diff] [blame] | 44 | {% block quick-search %} |
| 45 | {% with 'SEARCH_URL'|suit_conf as search_url %} |
| 46 | {% if search_url %} |
| 47 | <form class="form-search nav-quick-search" autocomplete="off" action="{% if '/' in search_url %}{{ search_url }}{% else %}{% url search_url %}{% endif %}" method="GET"> |
| 48 | <i class="input-icon icon-search"></i> |
| 49 | <input type="text" name="q" class="input-medium search-query" id="quick-search"> |
| 50 | <input type="submit" class="submit" value=""> |
| 51 | </form> |
| 52 | {% endif %} |
| 53 | {% endwith %} |
| 54 | {% endblock %} |
Siobhan Tully | bfd11dc | 2013-09-03 12:59:24 -0400 | [diff] [blame] | 55 | </div> |
Siobhan Tully | cf04fb6 | 2014-01-11 11:25:57 -0500 | [diff] [blame] | 56 | |
Siobhan Tully | bfd11dc | 2013-09-03 12:59:24 -0400 | [diff] [blame] | 57 | {% block header_time %} |
Siobhan Tully | cf04fb6 | 2014-01-11 11:25:57 -0500 | [diff] [blame] | 58 | <div id="branding2"> |
| 59 | <!--<div class="header-content header-content-first"> |
Siobhan Tully | bfd11dc | 2013-09-03 12:59:24 -0400 | [diff] [blame] | 60 | <div class="header-column icon"> |
| 61 | <i class="icon-time"></i> |
| 62 | </div> |
| 63 | <div class="header-column"> |
| 64 | <span class="date"> {% suit_date %}</span><br> |
| 65 | <span class="time" id="clock">{% suit_time %}</span> |
| 66 | </div> |
Siobhan Tully | cf04fb6 | 2014-01-11 11:25:57 -0500 | [diff] [blame] | 67 | </div>--> |
| 68 | |
Siobhan Tully | bfd11dc | 2013-09-03 12:59:24 -0400 | [diff] [blame] | 69 | {% endblock %} |
| 70 | |
| 71 | {% block header_content %} |
| 72 | <!--<div class="header-content"> |
| 73 | <div class="header-column icon"> |
| 74 | <i class="icon-comment"></i> |
| 75 | </div> |
| 76 | <div class="header-column"> |
| 77 | <a href="" class="grey"><b>2</b> new messages</a> |
| 78 | </div> |
| 79 | </div>--> |
| 80 | {% endblock %} |
| 81 | |
| 82 | {% if user.is_active and user.is_staff %} |
| 83 | <div id="user-tools"> |
| 84 | {% trans 'Welcome,' %} |
Scott Baker | 771819b | 2014-03-19 22:10:17 -0700 | [diff] [blame] | 85 | <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] | 86 | <span class="user-links"> |
| 87 | {% block userlinks %} |
| 88 | {% url 'django-admindocs-docroot' as docsroot %} |
| 89 | {% if docsroot %} |
| 90 | <a href="{{ docsroot }}">{% trans 'Documentation' %}</a> |
| 91 | <span class="separator">|</span> |
| 92 | {% endif %} |
| 93 | <a href="{% url 'admin:password_change' %}">{% trans 'Change password' %}</a> |
| 94 | <span class="separator">|</span> |
| 95 | <a href="{% url 'admin:logout' %}">{% trans 'Log out' %}</a> |
| 96 | </span> |
| 97 | {% endblock %} |
| 98 | </div> |
| 99 | {% endif %} |
Siobhan Tully | cf04fb6 | 2014-01-11 11:25:57 -0500 | [diff] [blame] | 100 | |
Siobhan Tully | bfd11dc | 2013-09-03 12:59:24 -0400 | [diff] [blame] | 101 | {% block nav-global %}{% endblock %} |
Siobhan Tully | cf04fb6 | 2014-01-11 11:25:57 -0500 | [diff] [blame] | 102 | |
Siobhan Tully | bfd11dc | 2013-09-03 12:59:24 -0400 | [diff] [blame] | 103 | </div> |
Siobhan Tully | cf04fb6 | 2014-01-11 11:25:57 -0500 | [diff] [blame] | 104 | </div> |
Siobhan Tully | bfd11dc | 2013-09-03 12:59:24 -0400 | [diff] [blame] | 105 | {% endif %} |
| 106 | <!-- END Header --> |
| 107 | {% endblock %} |
| 108 | |
| 109 | |
| 110 | <div class="suit-columns {{ is_popup|yesno:'one-column,two-columns' }}"> |
| 111 | |
| 112 | {% block content-center %} |
| 113 | <div id="suit-center" class="suit-column"> |
| 114 | |
| 115 | {% if not is_popup %} |
Scott Baker | 771819b | 2014-03-19 22:10:17 -0700 | [diff] [blame] | 116 | <div id=openCloudTopPage> |
Scott Baker | 904bada | 2014-03-27 09:16:37 -0700 | [diff] [blame] | 117 | {% include "/opt/planetstack/templates/admin/newminidashboard.html" %} |
Scott Baker | d94d0d1 | 2014-04-25 12:50:36 -0700 | [diff] [blame^] | 118 | </div> |
Scott Baker | 771819b | 2014-03-19 22:10:17 -0700 | [diff] [blame] | 119 | |
Siobhan Tully | bfd11dc | 2013-09-03 12:59:24 -0400 | [diff] [blame] | 120 | {% block breadcrumbs %} |
Siobhan Tully | cf04fb6 | 2014-01-11 11:25:57 -0500 | [diff] [blame] | 121 | <ul class="breadcrumb"> |
Siobhan Tully | bfd11dc | 2013-09-03 12:59:24 -0400 | [diff] [blame] | 122 | <li><a href="{% url 'admin:index' %}">{% trans 'Home' %}</a> |
| 123 | {% if title %} |
| 124 | <span class="divider">»</span> |
| 125 | </li> |
| 126 | <li class="active"> |
| 127 | {{ title }} |
| 128 | {% endif %} |
| 129 | </li> |
| 130 | </ul> |
| 131 | {% endblock %} |
| 132 | {% endif %} |
| 133 | |
| 134 | {% block messages %} |
| 135 | {% if messages %} |
| 136 | |
| 137 | {% for message in messages %} |
| 138 | <div class="alert alert-{% firstof message.tags 'info' %}"> |
| 139 | <button class="close" data-dismiss="alert">×</button> |
| 140 | <strong> |
| 141 | {% if message.tags %}{{ message.tags|capfirst }}{% else %} |
| 142 | Message{% endif %}!</strong> |
| 143 | {{ message }} |
| 144 | </div> |
| 145 | {% endfor %} |
| 146 | {% endif %} |
| 147 | {% endblock messages %} |
| 148 | |
| 149 | <!-- Content --> |
| 150 | <div id="content" class="{% block coltype %}colM{% endblock %} row-fluid"> |
| 151 | {% block pretitle %}{% endblock %} |
| 152 | {% block content_title %}{% if title %} |
| 153 | <h2 class="content-title">{{ title }}</h2> |
| 154 | {% endif %}{% endblock %} |
| 155 | {% block content %} |
| 156 | {% block object-tools %}{% endblock %} |
| 157 | {{ content }} |
| 158 | {% endblock %} |
| 159 | {% block sidebar_content %} |
| 160 | {% block sidebar %}{% endblock %} |
| 161 | {% endblock %} |
| 162 | </div> |
| 163 | <!-- END Content --> |
Scott Baker | 904bada | 2014-03-27 09:16:37 -0700 | [diff] [blame] | 164 | <span class="clearfix"></span> |
Siobhan Tully | bfd11dc | 2013-09-03 12:59:24 -0400 | [diff] [blame] | 165 | </div> |
| 166 | {% endblock %} |
| 167 | |
| 168 | |
| 169 | {% block content-left %} |
| 170 | {% if not is_popup %} |
| 171 | <div id="suit-left" class="suit-column"> |
Siobhan Tully | cf04fb6 | 2014-01-11 11:25:57 -0500 | [diff] [blame] | 172 | |
Siobhan Tully | bfd11dc | 2013-09-03 12:59:24 -0400 | [diff] [blame] | 173 | |
| 174 | {% include 'suit/menu.html' %} |
| 175 | |
| 176 | </div> |
| 177 | {% endif %} |
| 178 | {% endblock %} |
| 179 | |
| 180 | </div> |
| 181 | </div> |
| 182 | {% endblock %} |
| 183 | |
| 184 | {% if not is_popup %} |
| 185 | <!-- Sticky footer push --> |
| 186 | <div id="push"></div> |
| 187 | {% endif %} |
| 188 | |
| 189 | </div> |
| 190 | |
| 191 | {% block footer %} |
| 192 | {% if not is_popup %} |
| 193 | <div id="footer" class="footer"> |
| 194 | <div class="content"> |
| 195 | <div class="tools"> |
| 196 | {% block footer_links %} |
| 197 | <a href="http://djangosuit.com/support/" target="_blank" class="icon"><i class="icon-question-sign"></i>Support</a> |
| 198 | <a href="http://djangosuit.com/pricing/" target="_blank" class="icon"><i class="icon-bookmark"></i>Licence</a> |
| 199 | <a href="http://github.com/darklow/django-suit/issues" target="_blank" class="icon"><i class="icon-comment"></i>Report a bug</a> |
| 200 | {% endblock %} |
| 201 | </div> |
| 202 | |
Scott Baker | 904bada | 2014-03-27 09:16:37 -0700 | [diff] [blame] | 203 | <!-- <div class="copyright"> |
Siobhan Tully | bfd11dc | 2013-09-03 12:59:24 -0400 | [diff] [blame] | 204 | {% block copyright %} |
| 205 | Copyright © 2013 DjangoSuit.com<br>Developed by <a href="http://djangosuit.com" target="_blank">DjangoSuit.com</a> |
| 206 | {% endblock %} |
Scott Baker | 904bada | 2014-03-27 09:16:37 -0700 | [diff] [blame] | 207 | </div> --> |
Siobhan Tully | bfd11dc | 2013-09-03 12:59:24 -0400 | [diff] [blame] | 208 | |
| 209 | <div class="branding">{% block footer_branding %} |
| 210 | {% with 'ADMIN_NAME'|suit_conf as admin_name %} |
| 211 | {{ admin_name }} |
| 212 | {% if admin_name == 'Django Suit' %} |
| 213 | v{{ 'VERSION'|suit_conf }} |
| 214 | {% endif %} |
| 215 | {% endwith %} |
| 216 | {% endblock %}</div> |
| 217 | </div> |
| 218 | </div> |
| 219 | {% endif %} |
| 220 | {% endblock %} |
| 221 | |
| 222 | <script src="{% static 'suit/bootstrap/js/bootstrap.min.js' %}"></script> |
| 223 | <script src="{% static 'suit/js/suit.js' %}"></script> |
Scott Baker | 771819b | 2014-03-19 22:10:17 -0700 | [diff] [blame] | 224 | <script src="{% static 'page_analytics.js' %}"></script> |
| 225 | <script type="text/javascript" src="//www.google.com/jsapi"></script> |
| 226 | <script src="{% static 'planetstack_graphs.js' %}"></script> |
| 227 | <!-- src="{% static 'planetstack_graphs_old.js' %}" --> |
| 228 | |
Siobhan Tully | bfd11dc | 2013-09-03 12:59:24 -0400 | [diff] [blame] | 229 | {% block extrajs %}{% endblock %} |
Sapan Bhatia | ed4a954 | 2014-02-27 13:16:49 -0500 | [diff] [blame] | 230 | <script src="http://d3js.org/d3.v3.js"></script> |
Sapan Bhatia | ed4a954 | 2014-02-27 13:16:49 -0500 | [diff] [blame] | 231 | <div class="modal fade hide" id="chartsModal" tabindex="-1" role="dialog" aria-labelledby="myModalLabel" aria-hidden="true"> |
| 232 | <div class="modal-dialog"> |
| 233 | <div class="modal-content"> |
| 234 | <!--<div class="modal-header"> |
| 235 | <button type="button" class="close" data-dismiss="modal" aria-hidden="true">×</button> |
| 236 | <h4 class="modal-title" id="myModalLabel">OpenCloud</h4> |
| 237 | </div>--> |
Scott Baker | 86a32de | 2014-03-20 15:05:39 -0700 | [diff] [blame] | 238 | <div class="modal-body" style="overflow-y:hidden; overflow-x:hidden;"> |
Sapan Bhatia | ed4a954 | 2014-02-27 13:16:49 -0500 | [diff] [blame] | 239 | <div class="chartContainer"> |
| 240 | <div class="row"> |
| 241 | <div class=" padding"> |
| 242 | </div> |
| 243 | </div> |
| 244 | |
| 245 | <div class="row"> |
| 246 | <div class=" heading"> |
| 247 | <p id="chartHeading" class="heading">OpenCloud</p> |
| 248 | </div> |
| 249 | </div> |
| 250 | <div class="row"> |
| 251 | <div class="padding"></div> |
| 252 | <div class="padding"></div> |
| 253 | </div> |
| 254 | <div class="row"> |
| 255 | <div id="graph" class="graph"> |
| 256 | </div> |
| 257 | </div> |
| 258 | </div> |
Scott Baker | 771819b | 2014-03-19 22:10:17 -0700 | [diff] [blame] | 259 | <div id="graph_work" style="display:none"></div> |
Sapan Bhatia | ed4a954 | 2014-02-27 13:16:49 -0500 | [diff] [blame] | 260 | </div> |
| 261 | <!--<div class="modal-footer"> |
| 262 | <button type="button" class="btn btn-default" data-dismiss="modal">Close</button> |
| 263 | </div>--> |
| 264 | </div><!-- /.modal-content --> |
| 265 | </div><!-- /.modal-dialog --> |
| 266 | </div><!-- /.modal --> |
| 267 | |
| 268 | |
| 269 | <script> |
| 270 | |
| 271 | |
| 272 | |
| 273 | |
| 274 | </script> |
Siobhan Tully | bfd11dc | 2013-09-03 12:59:24 -0400 | [diff] [blame] | 275 | </body> |
| 276 | </html> |