-
Notifications
You must be signed in to change notification settings - Fork 13
/
main_template.xml
42 lines (40 loc) · 1.37 KB
/
main_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
<html>
<head>
<script type="text/html" id="main_content">
<![CDATA[
<div class="row">
<div class="span12">
<h1>XAC <small>Xen Api Console</small></h1>
</div>
</div>
<div class="page-header"></div>
<div class="row">
<div class="span12">
{{^pools}}
<h3>No pools connected</h3>
<p>To connect to a XenServer or XCP pool, please click on
'login' in the navbar</p>
{{/pools}}
{{#pools}}
<h3>Currently connected pools</h3>
<p>To connect to more pools, please click on 'login' in the
navbar</p>
<table class="table table-condensed table-striped table-bordered">
<thead><tr>
<th class="nav-header" style="display:table-cell">Master hostname</th>
<th class="nav-header" style="display:table-cell">Master address</th>
<th class="nav-header" style="display:table-cell">Pool size</th>
<th class="nav-header" style="display:table-cell">Connection status</th>
<th class="nav-header" style="display:table-cell">Auto connect</th>
</tr></thead>
<tbody>
{{#pool}}
<tr><td>{{master_address}}</td><td>{{master_ip}}</td><td>{{nhosts}}</td><td>{{state}}</td><td><input type="checkbox" data-pool="{{pool}}" checked="{{autoconnect}}"/></td></tr>
{{/pool}}
</tbody>
</table>
{{/pools}}
]]>
</script>
</head>
</html>