-
Notifications
You must be signed in to change notification settings - Fork 30
/
index.html
50 lines (50 loc) · 2.1 KB
/
index.html
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
<!DOCTYPE html>
<html>
<head>
<title>Graphitus - Dashboard Index</title>
<META http-equiv="Content-Type" content="text/html; charset=utf-8">
<script type="text/javascript" src="//cdnjs.cloudflare.com/ajax/libs/jquery/2.0.3/jquery.min.js"></script>
<script type="text/javascript" src="//cdnjs.cloudflare.com/ajax/libs/jqueryui/1.10.3/jquery-ui.min.js"></script>
<script type="text/javascript" src="//cdnjs.cloudflare.com/ajax/libs/underscore.js/1.5.2/underscore-min.js"></script>
<script type="text/javascript" src="//cdnjs.cloudflare.com/ajax/libs/masonry/3.1.1/masonry.pkgd.js"></script>
<script type="text/javascript" src="js/common.js"></script>
<script type="text/javascript" src="js/index.js"></script>
<script src="//netdna.bootstrapcdn.com/twitter-bootstrap/2.2.1/js/bootstrap.min.js"></script>
<link href="//netdna.bootstrapcdn.com/twitter-bootstrap/2.2.1/css/bootstrap-combined.min.css" rel="stylesheet">
<link rel="stylesheet" href="css/graphitus.css" type="text/css" media="all" />
<script type="text/javascript">
$(document).ready(function() {
loadGraphitusConfig(loadDashboards);
});
</script>
<script type="text/template" id="tmpl-dashboards-menu">
<% if(isLeaf){ %>
<li><a href="dashboard.html?id=<%= path %>"><%= name %></a></li>
<% }else{ %>
<% var isRoot = (depth === 0); %>
<% if(isRoot){ %><div class="box"><% }; %>
<li class="nav-header"><% if(isRoot){ %><h5><% }; %><%=name%><% if(isRoot){ %></h5><% }; %></li>
<ul class="nav nav-list">
<% for (node in dashboardsRoot) { %>
<%= generateDashboardsMenu(node, path + "." + node, dashboardsRoot[node], depth++) %>
<% } %>
</ul>
<% if(isRoot){ %></div><% } %>
<% } %>
</script>
</head>
<body>
<div class="well" style="height: 38px;padding-top: 0px;">
<div class="page-header">
<h1><em>graphitus</em> <small>dashboards</small></h1>
</div>
</div>
<center>
<div id="loader" class="progress progress-striped active" style="width: 50%">
<div class="bar" style="width: 100%;"></div>
</div>
</center>
<div id="dashboards" class="container-fluid">
</div>
</body>
</html>