-
Notifications
You must be signed in to change notification settings - Fork 13
/
monitor_template.xml
71 lines (63 loc) · 2.07 KB
/
monitor_template.xml
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
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
<html>
<head>
<script type="text/html" id="monitor_content">
<![CDATA[
<div class="row">
<div class="span2" id="db_classes_container">
<div id="monitor_views">
<ul class="nav nav-list">
<li class="nav-header">Host</li>
<li class="active"><a href="#" id="monitor_host_overview">Overview</a></li>
<li><a id="monitor_host_cpu" href="#">CPU</a></li>
<li><a id="monitor_host_network" href="#">Network</a></li>
<li><a id="monitor_host_storage" href="#">Storage</a></li>
<li><a id="monitor_host_other" href="#">Other</a></li>
<li class="nav-header">VM</li>
<li><a id="monitor_vm_cpu" href="#">CPU</a></li>
<li><a id="monitor_vm_network" href="#">Network</a></li>
<li><a id="monitor_vm_storage" href="#">Storage</a></li>
<li><a id="monitor_vm_other" href="#">Other</a></li>
</ul>
</div>
</div>
<div class="span10" id="graphmainspan">
</div>
</div>
]]>
</script>
<script type="text/html" id="m_host_overview_tmpl">
<![CDATA[
<div class="span9 well">
<p><h2>{{hostname}}<small class="muted">{{hostuuid}}</small></h2></p>
<div class="btn-group">
<button class="btn">Change</button>
<button class="btn dropdown-toggle" data-toggle="dropdown">
<span class="caret"></span>
</button>
<ul class="dropdown-menu hostdropdown">
{{#hosts}}
<li><a data-hostuuid="{{uuid}}" data-hostname="{{name}}">{{name}}</a></li>
{{/hosts}}
</ul>
</div>
</div>
<div class="span4">
<h4>CPU</h4>
<div class="graphcontainersmall"><div class="graph"></div></div>
</div>
<div class="span4 offset1">
<h4>Memory</h4>
<div class="graphcontainersmall"><div class="graph"></div></div>
</div>
<div class="span4">
<h4>Network</h4>
<div class="graphcontainersmall"><div class="graph"></div></div>
</div>
<div class="span4 offset1">
<h4>XAPI stats</h4>
<div class="graphcontainersmall"><div class="graph"></div></div>
</div>
]]>
</script>
</head>
</html>