blob: 19b022c2dece2a83f496472f499bb7bf836d0c00 [file] [log] [blame]
Siobhan Tullycf04fb62014-01-11 11:25:57 -05001{% extends "admin/base.html" %}
2{% load admin_static %}
3
Scott Baker9b862d62014-05-19 10:37:29 -07004{% block extrahead %}
5
Scott Baker771819b2014-03-19 22:10:17 -07006<link rel="stylesheet" href="http://ajax.aspnetcdn.com/ajax/jquery.dataTables/1.9.0/css/jquery.dataTables.css">
7<link rel="stylesheet" type="text/css" href="{% static 'suit/css/suit.css' %}" media="all">
8<link rel="stylesheet" type="text/css" href="http://ajax.aspnetcdn.com/ajax/jquery.dataTables/1.9.0/css/jquery.dataTables_themeroller.css">
9<link rel="stylesheet" type="text/css" href="{% static 'planetstack.css' %}" media="all">
10<link rel="stylesheet" href="http://code.jquery.com/ui/1.10.4/themes/smoothness/jquery-ui.css">
Siobhan Tullye18b3442014-02-23 14:23:34 -050011
Siobhan Tullye18b3442014-02-23 14:23:34 -050012<link rel="stylesheet" href="http://cdn.leafletjs.com/leaflet-0.7.2/leaflet.css" />
13<script src="http://cdn.leafletjs.com/leaflet-0.7.2/leaflet.js"></script>
14
Siobhan Tullye18b3442014-02-23 14:23:34 -050015
Scott Baker771819b2014-03-19 22:10:17 -070016<!-- no need to include jquery here as it's already included by base.html. Including it multiple times will break mtuity statistics. -->
17<!-- src="http://code.jquery.com/jquery-1.9.1.js" -->
18
19<script src="http://code.jquery.com/ui/1.10.4/jquery-ui.js"></script>
20<script src="http://ajax.aspnetcdn.com/ajax/jquery.dataTables/1.9.4/jquery.dataTables.min.js"></script>
21<script type="text/javascript" src="{% static 'log4javascript-1.4.6/log4javascript.js' %}"></script>
22<script src="{% static 'js/Leaflet.MakiMarkers.js' %}" > </script>
Scott Baker9b862d62014-05-19 10:37:29 -070023
Scott Baker771819b2014-03-19 22:10:17 -070024<script>
25 $(function() {
Scott Bakercd013972014-03-27 10:42:16 -070026 $( "#hometabs" ).tabs({active: 0, //event: "mouseover"
Scott Baker771819b2014-03-19 22:10:17 -070027 //collapsible: true
28 });
29 });
30</script>
Scott Baker94160132014-05-18 18:49:20 -070031
32<script>
33var consoleAppender = new log4javascript.BrowserConsoleAppender();
34var patternLayout = new log4javascript.PatternLayout("%d{HH:mm:ss,SSS} %l{s:l} %-5p - %m{1}%n");
35consoleAppender.setLayout(patternLayout);
36//var log = log4javascript.getDefaultLogger();
37var log = log4javascript.getRootLogger();
38log.addAppender(consoleAppender);
39log.setLevel(log4javascript.Level.ERROR);
40</script>
41
Siobhan Tullye18b3442014-02-23 14:23:34 -050042<script>
Siobhan Tully06d2c032014-02-23 23:48:52 -050043
Scott Baker771819b2014-03-19 22:10:17 -070044function confirmDialog(title,msg) {
45 var dialog = $('<div>'+msg+'</div>');
46 var def = $.Deferred();
47
48 $(dialog).dialog({
49 resizable: false,
50 title: title,
51 autoOpen: true,
52 modal: true,
53 dialogClass: "dashboard-hpc-sliver",
54 buttons: {
55 'OK': function() {
56 def.resolve();
57 log.debug("Chose to add a sliver");
58 $( this ).dialog( "close" );
59 },
60 'Cancel': function() {
61 def.reject();
62 $( this ).dialog( "close" );
63 }
64 },
65 close: {
66 }
67 });
68 return def.promise();
69}
70
71 </script>
72
Scott Baker9b862d62014-05-19 10:37:29 -070073{% endblock %}
74
75{% block content %}
Scott Bakercd013972014-03-27 10:42:16 -070076<!-- <div id="hometabs" class="inner-center-column ui-tabs ui-widget ui-widget-content ui-corner-all"> -->
77<div id="hometabs" >
78 <ul id="suit_form_tabs" class="nav nav-tabs nav-tabs-suit" data-tab-prefix="suit-tab">
79 <li><a href="#tabs-1">Developer View</a></li>
Scott Baker771819b2014-03-19 22:10:17 -070080 <li><a href="#tabs-2">CDN Operations </a></li>
81 <li><a href="#tabs-3">Historical</a></li>
Scott Bakercd013972014-03-27 10:42:16 -070082 <li><a href="#tabs-4">Slice Interactions</a></li>
83 <li><a href="#tabs-5">Tenant</a></li>
Scott Baker94160132014-05-18 18:49:20 -070084 <li><a href="#tabs-6">CDN Nodes</a></lib>
Scott Baker771819b2014-03-19 22:10:17 -070085 </ul>
86<div id="tabs-1">
Scott Baker94160132014-05-18 18:49:20 -070087{% include "/opt/planetstack/templates/admin/dashboard/developer.html" %}
Scott Baker771819b2014-03-19 22:10:17 -070088</div>
89<div id="tabs-2">
Scott Baker94160132014-05-18 18:49:20 -070090{% include "/opt/planetstack/templates/admin/dashboard/cdnoperations.html" %}
Scott Baker771819b2014-03-19 22:10:17 -070091</div>
92<div id="tabs-3">
93{% include "/opt/planetstack/templates/admin/dashboard/hpc_historical.html" %}
94</div>
Scott Bakercd013972014-03-27 10:42:16 -070095<div id="tabs-4">
96{% include "/opt/planetstack/templates/admin/dashboard/slice_interactions.html" %}
97</div>
98<div id="tabs-5">
Scott Baker537d8232014-04-08 23:40:56 -070099{% include "/opt/planetstack/templates/admin/dashboard/tenant.html" %}
Scott Bakercd013972014-03-27 10:42:16 -0700100</div>
Scott Baker94160132014-05-18 18:49:20 -0700101<div id="tabs-6">
102{% include "/opt/planetstack/templates/admin/dashboard/cdn_nodes.html" %}
103</div>
Scott Baker771819b2014-03-19 22:10:17 -0700104</div>
105
Siobhan Tully90040c22014-01-13 23:47:24 -0500106{% endblock %}