1 {% load admin_static %}{% load suit_tags %}{% load url from future %}<!DOCTYPE html>
2 <html lang="{{ LANGUAGE_CODE|default:"en-us" }}" {% if LANGUAGE_BIDI %}dir="rtl"{% endif %}>
4 <title>{% block title %} {%if title %} {{ title }} | {% endif %} {{ 'ADMIN_NAME'|suit_conf }}{% endblock %}</title>
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>
12 <script src="{% static 'suit/js/jquery-1.9.1.min.js' %}"></script>
13 <script src="http://code.jquery.com/ui/1.10.4/jquery-ui.js"></script>
14 <link rel="stylesheet" href="http://code.jquery.com/ui/1.10.4/themes/smoothness/jquery-ui.css">
15 <script type="text/javascript" src="{% static 'log4javascript-1.4.6/log4javascript.js' %}"></script>
16 <script type="text/javascript" src="{% static 'uploadTextarea.js' %}"></script>
17 <script type="text/javascript" src="{% static 'observer_status.js' %}"></script>
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>
23 {% block extrahead %}{% endblock %}
25 <meta name="robots" content="NONE,NOARCHIVE"/>{% endblock %}
26 <link rel="shortcut icon" href="{% static 'favicon.png' %}">
30 <body class="{% if is_popup %}popup {% endif %}{% block bodyclass %}{% endblock %}">
32 <!-- Sticky footer wrap -->
39 <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>
43 <div id="header" class="header">
46 {% block quick-search %}
47 {% with 'SEARCH_URL'|suit_conf as 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="">
59 {% block header_time %}
61 <!--<div class="header-content header-content-first">
62 <div class="header-column icon">
63 <i class="icon-time"></i>
65 <div class="header-column">
66 <span class="date"> {% suit_date %}</span><br>
67 <span class="time" id="clock">{% suit_time %}</span>
73 {% block header_content %}
74 <!--<div class="header-content">
75 <div class="header-column icon">
76 <i class="icon-comment"></i>
78 <div class="header-column">
79 <a href="" class="grey"><b>2</b> new messages</a>
84 {% if user.is_active and user.is_staff %}
86 {% trans 'Welcome,' %}
87 <a href="http://{{ request.get_host}}/admin/core/user/{{user.id}}">{{user.email}}</a>
88 <span id="observer-status"></span>
89 <span class="user-links">
91 {% url 'django-admindocs-docroot' as docsroot %}
93 <a href="{{ docsroot }}">{% trans 'Documentation' %}</a>
94 <span class="separator">|</span>
96 <a href="{% url 'admin:password_change' %}">{% trans 'Change password' %}</a>
97 <span class="separator">|</span>
98 <a href="{% url 'admin:logout' %}">{% trans 'Log out' %}</a>
104 {% block nav-global %}{% endblock %}
113 <div class="suit-columns {{ is_popup|yesno:'one-column,two-columns' }}">
115 {% block content-center %}
116 <div id="suit-center" class="suit-column">
118 {% if not is_popup %}
119 <div id=openCloudTopPage>
120 {% include "/opt/planetstack/templates/admin/newminidashboard.html" %}
123 {% block breadcrumbs %}
124 <ul class="breadcrumb">
125 <li><a href="{% url 'admin:index' %}">{% trans 'Home' %}</a>
127 <span class="divider">»</span>
140 {% for message in messages %}
141 <div class="alert alert-{% firstof message.tags 'info' %}">
142 <button class="close" data-dismiss="alert">×</button>
144 {% if message.tags %}{{ message.tags|capfirst }}{% else %}
145 Message{% endif %}!</strong>
150 {% endblock messages %}
153 <div id="content" class="{% block coltype %}colM{% endblock %} row-fluid">
154 {% block pretitle %}{% endblock %}
155 {% block content_title %}{% if title %}
156 <h2 class="content-title">{{ title }}</h2>
157 {% endif %}{% endblock %}
159 {% block object-tools %}{% endblock %}
162 {% block sidebar_content %}
163 {% block sidebar %}{% endblock %}
167 <span class="clearfix"></span>
172 {% block content-left %}
173 {% if not is_popup %}
174 <div id="suit-left" class="suit-column">
177 {% include 'suit/menu.html' %}
187 {% if not is_popup %}
188 <!-- Sticky footer push -->
189 <div id="push"></div>
195 {% if not is_popup %}
196 <div id="footer" class="footer">
197 <div class="content">
199 {% block footer_links %}
200 <a href="http://djangosuit.com/support/" target="_blank" class="icon"><i class="icon-question-sign"></i>Support</a>
201 <a href="http://djangosuit.com/pricing/" target="_blank" class="icon"><i class="icon-bookmark"></i>Licence</a>
202 <a href="http://github.com/darklow/django-suit/issues" target="_blank" class="icon"><i class="icon-comment"></i>Report a bug</a>
206 <div class="statusMsg" id="statusMsg">
207 <!-- this is a placeholder for xoslib views to display status messages -->
210 <!-- <div class="copyright">
211 {% block copyright %}
212 Copyright © 2013 DjangoSuit.com<br>Developed by <a href="http://djangosuit.com" target="_blank">DjangoSuit.com</a>
216 <div class="branding">{% block footer_branding %}
217 {% with 'ADMIN_NAME'|suit_conf as admin_name %}
219 {% if admin_name == 'Django Suit' %}
220 v{{ 'VERSION'|suit_conf }}
229 <script src="{% static 'suit/bootstrap/js/bootstrap.min.js' %}"></script>
230 <script src="{% static 'suit/js/suit.js' %}"></script>
231 <script type="text/javascript" src="//www.google.com/jsapi"></script>
232 <script src="{% static 'planetstack_graphs.js' %}"></script>
233 <!-- src="{% static 'planetstack_graphs_old.js' %}" -->
235 {% block extrajs %}{% endblock %}
236 <script src="http://d3js.org/d3.v3.js"></script>
237 <div class="modal fade hide" id="chartsModal" tabindex="-1" role="dialog" aria-labelledby="myModalLabel" aria-hidden="true">
238 <div class="modal-dialog">
239 <div class="modal-content">
240 <!--<div class="modal-header">
241 <button type="button" class="close" data-dismiss="modal" aria-hidden="true">×</button>
242 <h4 class="modal-title" id="myModalLabel">OpenCloud</h4>
244 <div class="modal-body" style="overflow-y:hidden; overflow-x:hidden;">
245 <div class="chartContainer">
247 <div class=" padding">
252 <div class=" heading">
253 <p id="chartHeading" class="heading">OpenCloud</p>
257 <div class="padding"></div>
258 <div class="padding"></div>
261 <div id="graph" class="graph">
265 <div id="graph_work" style="display:none"></div>
267 <!--<div class="modal-footer">
268 <button type="button" class="btn btn-default" data-dismiss="modal">Close</button>
270 </div><!-- /.modal-content -->
271 </div><!-- /.modal-dialog -->
272 </div><!-- /.modal -->