-{% load admin_static %}{% load suit_tags %}{% load url from future %}<!DOCTYPE html>
+{% load admin_static %}{% load suit_tags %}{% load url from future %}<!DOCTYPE html>
<html lang="{{ LANGUAGE_CODE|default:"en-us" }}" {% if LANGUAGE_BIDI %}dir="rtl"{% endif %}>
<head>
<title>{% block title %} {%if title %} {{ title }} | {% endif %} {{ 'ADMIN_NAME'|suit_conf }}{% endblock %}</title>
{% block extrastyle %}{% endblock %}
{% if LANGUAGE_BIDI %}<link rel="stylesheet" type="text/css" href="{% block stylesheet_rtl %}{% static "admin/css/rtl.css" %}{% endblock %}"/>{% endif %}
<script type="text/javascript">window.__admin_media_prefix__ = "{% filter escapejs %}{% static "admin/" %}{% endfilter %}";</script>
- <script src="{% static 'suit/js/jquery-1.8.3.min.js' %}"></script>
+ <script src="{% static 'suit/js/jquery-1.9.1.min.js' %}"></script>
+ <script src="http://code.jquery.com/ui/1.10.4/jquery-ui.js"></script>
+ <link rel="stylesheet" href="http://code.jquery.com/ui/1.10.4/themes/smoothness/jquery-ui.css">
+<script type="text/javascript" src="{% static 'log4javascript-1.4.6/log4javascript.js' %}"></script>
+
+
<script type="text/javascript">var Suit = { $: $.noConflict() }; if (!$) $ = Suit.$; </script>
{% if 'SHOW_REQUIRED_ASTERISK'|suit_conf %}
<style type="text/css">.required:after { content: '*'; margin: 0 0 0 5px; position: absolute; color: #ccc;}</style>
{% block container %}
<div id="container">
+ <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>
{% block header %}
{% if not is_popup %}
<!-- Header -->
<div id="header" class="header">
<div id="branding">
- <table width="100%">
- <tr>
- <td width="70%">
- <!-- <a href="{% url 'admin:index' %}"><h1 id="site-name">{% block branding %}{{ 'ADMIN_NAME'|suit_conf }}{% endblock %}</h1></a>-->
- <a href="{% url 'admin:index' %}"><h1 id="site-name"><img src="{% static 'open-cloud-themed.png' %}"/></h1></a>
- </td>
- <td width="30%">
{% block quick-search %}
{% with 'SEARCH_URL'|suit_conf as search_url %}
{% if search_url %}
{% endif %}
{% endwith %}
{% endblock %}
- </td>
- </tr>
- </table>
</div>
{% block header_time %}
{% if user.is_active and user.is_staff %}
<div id="user-tools">
{% trans 'Welcome,' %}
- <strong>
- {% filter force_escape %}
- {% firstof user.first_name user.username %}{% endfilter %}</strong>.
+ <a href="http://{{ request.get_host}}/admin/core/user/{{user.id}}">{{user.email}}</a>
<span class="user-links">
{% block userlinks %}
{% url 'django-admindocs-docroot' as docsroot %}
<div id="suit-center" class="suit-column">
{% if not is_popup %}
+ <div id=openCloudTopPage>
+ {% include "/opt/planetstack/templates/admin/newminidashboard.html" %}
+ </div>
+
{% block breadcrumbs %}
<ul class="breadcrumb">
<li><a href="{% url 'admin:index' %}">{% trans 'Home' %}</a>
</li>
</ul>
{% endblock %}
- <div class="hide">{{ app_label|capfirst|escape }}</div>
- <div class="hide selectedMainNav">{{ opts.verbose_name_plural|capfirst }}</div>
- <div class="hide currentOriginalNode">{{ original|truncatewords:"18" }}</div>
-
-
- <label class="nodetextbox nodesLabel" style="display: none;" > </label>
- <label class="nodelabel nodesValue" style="display: none;" ></label>
- <span class="nodesCnt hide"></span>
- <label class="nodetextbox cpuLabel" style="display: none;" ></label>
- <label class="nodelabel cpuValue" style="display: none;" ></label>
- <span class="cpuCnt hide"></span>
- <label class="nodetextbox bandwidthLabel" style="display: none;" ></label>
- <label class="nodelabel bandwidthValue" style="width:60px;display: none;"></label>
- <span class="bandUsage hide"></span>
{% endif %}
{% block messages %}
{% endblock %}
</div>
<!-- END Content -->
+ <span class="clearfix"></span>
</div>
{% endblock %}
{% endblock %}
</div>
- <div class="copyright">
+ <!-- <div class="copyright">
{% block copyright %}
Copyright © 2013 DjangoSuit.com<br>Developed by <a href="http://djangosuit.com" target="_blank">DjangoSuit.com</a>
{% endblock %}
- </div>
+ </div> -->
<div class="branding">{% block footer_branding %}
{% with 'ADMIN_NAME'|suit_conf as admin_name %}
<script src="{% static 'suit/bootstrap/js/bootstrap.min.js' %}"></script>
<script src="{% static 'suit/js/suit.js' %}"></script>
- <script src="{% static 'main.js' %}"></script>
+ <script src="{% static 'page_analytics.js' %}"></script>
+ <script type="text/javascript" src="//www.google.com/jsapi"></script>
+ <script src="{% static 'planetstack_graphs.js' %}"></script>
+ <!-- src="{% static 'planetstack_graphs_old.js' %}" -->
+
{% block extrajs %}{% endblock %}
<script src="http://d3js.org/d3.v3.js"></script>
-
<div class="modal fade hide" id="chartsModal" tabindex="-1" role="dialog" aria-labelledby="myModalLabel" aria-hidden="true">
<div class="modal-dialog">
<div class="modal-content">
<button type="button" class="close" data-dismiss="modal" aria-hidden="true">×</button>
<h4 class="modal-title" id="myModalLabel">OpenCloud</h4>
</div>-->
- <div class="modal-body">
+ <div class="modal-body" style="overflow-y:hidden; overflow-x:hidden;">
<div class="chartContainer">
<div class="row">
<div class=" padding">
</div>
</div>
</div>
+ <div id="graph_work" style="display:none"></div>
</div>
<!--<div class="modal-footer">
<button type="button" class="btn btn-default" data-dismiss="modal">Close</button>