root / snf-app / synnefo / admin / templates / index.html @ 54ae949d
History | View | Annotate | Download (1 kB)
1 |
{% extends "base.html" %} |
---|---|
2 |
|
3 |
{% block body %} |
4 |
<div class="row"> |
5 |
<div class="span6 columns"> |
6 |
<table>
|
7 |
<thead>
|
8 |
<tr>
|
9 |
<th>Image</th> |
10 |
<th># of VMs</th> |
11 |
</tr>
|
12 |
</thead>
|
13 |
<tbody>
|
14 |
{% for count, image in images %} |
15 |
<tr>
|
16 |
<td>{{ image }}</td> |
17 |
<td>{{ count }}</td> |
18 |
</tr>
|
19 |
{% endfor %} |
20 |
</tbody>
|
21 |
</table>
|
22 |
</div>
|
23 |
<div class="span5 columns offset1"> |
24 |
<ul class="unstyled"> |
25 |
<li><strong>{{ stats.users }}</strong> Users</li> |
26 |
<li><strong>{{ stats.flavors }}</strong> Flavors</li> |
27 |
<li><strong>{{ stats.images }}</strong> Images</li> |
28 |
<li><strong>{{ stats.vms }}</strong> VMs</li> |
29 |
<li><strong>{{ stats.networks }}</strong> Networks</li> |
30 |
</ul>
|
31 |
<ul class="unstyled"> |
32 |
<li><strong>{{ stats.ganeti_instances }}</strong> Ganeti Instances</li> |
33 |
<li><strong>{{ stats.ganeti_nodes }}</strong> Ganeti Nodes</li> |
34 |
<li><strong>{{ stats.ganeti_jobs }}</strong> Ganeti Jobs</li> |
35 |
</ul>
|
36 |
</div>
|
37 |
</div>
|
38 |
{% endblock body %} |