Visual changes for VPS list and overview

feature/node-rewrite
Sven Slootweg 13 years ago
parent 2bf0645889
commit 1f38aaf361

@ -40,7 +40,7 @@ table
th th
{ {
text-align: left; text-align: left;
background-color: #12005E; background-color: #31305E;
color: white; color: white;
padding: 3px 4px; padding: 3px 4px;
} }
@ -51,16 +51,31 @@ td
padding: 4px 4px 0px 4px; padding: 4px 4px 0px 4px;
} }
table.vertical th
{
padding: 3px 7px;
}
td.container-status img td.container-status img
{ {
margin-top: 3px; margin-top: 3px;
} }
table.vpsinfo
{
border: 2px solid #31305E;
}
table.vpsinfo td table.vpsinfo td
{ {
padding: 2px 13px; padding: 2px 13px;
} }
table.vpsinfo th
{
width: 150px;
}
.clear .clear
{ {
clear: both; clear: both;

@ -42,58 +42,56 @@
<div class="clear"></div> <div class="clear"></div>
</div> </div>
<div class="infobox"> <h2>VPS configuration</h2>
<h2>VPS configuration</h2> <table class="vpsinfo vertical">
<table class="vpsinfo"> <tr>
<tr> <th>Status</th>
<th>Status</th> <td>
<td> <%if status == running>
<%if status == running> <span class="online">Running</span>
<span class="online">Running</span> <%/if><%if status == stopped>
<%/if><%if status == stopped> <span class="offline">Stopped</span>
<span class="offline">Stopped</span> <%/if><%if status == suspended>
<%/if><%if status == suspended> <span class="suspended">Suspended</span>
<span class="suspended">Suspended</span> <%/if><%if status == unknown>
<%/if><%if status == unknown> <span class="unknown">Unknown</span>
<span class="unknown">Unknown</span> <%/if>
<%/if> </td>
</td> </tr>
</tr> <tr>
<tr> <th>Server location</th>
<th>Server location</th> <td><%?server-location></td>
<td><%?server-location></td> </tr>
</tr> <tr>
<tr> <th>Operating system</th>
<th>Operating system</th> <td><%?operating-system></td>
<td><%?operating-system></td> </tr>
</tr> <tr>
<tr> <th>IPv4 Addresses</th>
<th>IPv4 Addresses</th> <td>98.142.213.226, 204.12.235.84</td>
<td>98.142.213.226, 204.12.235.84</td> </tr>
</tr> <tr>
<tr> <th>IPv6 Addresses</th>
<th>IPv6 Addresses</th> <td>2607:f7a0:1:1::24:6</td>
<td>2607:f7a0:1:1::24:6</td> </tr>
</tr> <tr>
<tr> <th>Guaranteed RAM</th>
<th>Guaranteed RAM</th> <td><%?guaranteed-ram></td>
<td><%?guaranteed-ram></td> </tr>
</tr> <tr>
<tr> <th>Burstable RAM</th>
<th>Burstable RAM</th> <td><%?burstable-ram></td>
<td><%?burstable-ram></td> </tr>
</tr> <tr>
<tr> <th>Disk space</th>
<th>Disk space</th> <td><%?disk-space></td>
<td><%?disk-space></td> </tr>
</tr> <tr>
<tr> <th>Traffic</th>
<th>Traffic</th> <td><%?total-traffic-limit></td>
<td><%?total-traffic-limit></td> </tr>
</tr> <tr>
<tr> <th>Bandwidth</th>
<th>Bandwidth</th> <td><%?bandwidth-limit></td>
<td><%?bandwidth-limit></td> </tr>
</tr> </table>
</table>
</div>

Loading…
Cancel
Save