simplify server/vms views

This commit is contained in:
Olivier Lambert
2013-03-23 11:25:19 +01:00
parent 6f4289b3a0
commit 9a586c397f
2 changed files with 31 additions and 6 deletions

View File

@@ -28,9 +28,8 @@
{block body}
<div class="container">
<div class="row">
<h3 class="center">Server overview</h3>
<table class="table table-bordered table-hover table-striped">
<caption>Labs pool</caption>
<caption><h3 class="center">Labs pool</h3></caption>
<thead>
<tr>
<th>Name</th>
@@ -69,7 +68,7 @@
</tbody>
</table>
<table class="table table-bordered table-hover table-striped">
<caption>Production pool</caption>
<caption><h3 class="center">Production pool</h3></caption>
<thead>
<tr>
<th>Name</th>

View File

@@ -28,9 +28,8 @@
{block body}
<div class="container">
<div class="row">
<h3 class="center">VM overview</h3>
<table class="table table-bordered table-hover table-striped">
<caption>xcp1</caption>
<caption><h3 class="center">xcp1</h3></caption>
<thead>
<tr>
<th>Name</th> {* VM.name_label *}
@@ -81,7 +80,7 @@
</tbody>
</table>
<table class="table table-bordered table-hover table-striped">
<caption>xcp2</caption>
<caption><h3 class="center">xcp2</h3></caption>
<thead>
<tr>
<th>Name</th>
@@ -131,6 +130,33 @@
</tr>
</tbody>
</table>
<table class="table table-bordered table-hover table-striped">
<caption><h4 class="center">Unassigned</h4></caption>
<thead>
<tr>
<th>Name</th>
<th>Description</th>
<th>State</th>
</tr>
</thead>
<tbody>
<tr>
<td>vm1</td>
<td>Debian 7 64 bits</td>
<td><span class="label label-important">Halted</span></td>
</tr>
<tr>
<td>vm133</td>
<td>Debian 7 64 bits copy of Lorem Ipsum Dolor</td>
<td><span class="label label-important">Halted</span></td>
</tr>
<tr>
<td>vm45</td>
<td>Debian 7 64 bits (2)</td>
<td><span class="label label-important">Halted</span></td>
</tr>
</tbody>
</table>
</div>
{* One server details. TODO: dynamic in PHP *}
<div class="row well">