mirror of
https://github.com/YunoHost/yunohost-admin.git
synced 2024-09-03 20:06:15 +02:00
Add table header for network bitrates.
This commit is contained in:
parent
bc21f5d261
commit
860ba5a253
2 changed files with 38 additions and 20 deletions
|
@ -98,3 +98,11 @@ div.br {
|
||||||
.help-block {
|
.help-block {
|
||||||
text-align: right;
|
text-align: right;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
th h3,
|
||||||
|
th h4 {
|
||||||
|
margin-bottom: 5px;
|
||||||
|
font-weight: bold;
|
||||||
|
}
|
||||||
|
th h4 {font-size: 16px;}
|
||||||
|
th h4 small {font-size: 12px;}
|
|
@ -142,26 +142,36 @@
|
||||||
<h3>Usage</h3>
|
<h3>Usage</h3>
|
||||||
{{#each network.usage}}
|
{{#each network.usage}}
|
||||||
<div class="clearfix">
|
<div class="clearfix">
|
||||||
<h4>
|
|
||||||
{{@key}}
|
|
||||||
<small>Time since update: {{humanTime time_since_update}}</small>
|
|
||||||
</h4>
|
|
||||||
<table class="table table-condensed">
|
<table class="table table-condensed">
|
||||||
<tr>
|
<thead>
|
||||||
<td><span class="glyphicon glyphicon-cloud-download"> Rx</span></td>
|
<tr>
|
||||||
<td>{{bitRate rx time_since_update}}</td>
|
<th>
|
||||||
<td>{{humanSize cumulative_rx}} (cumulative)</td>
|
<h4>
|
||||||
</tr>
|
{{@key}}
|
||||||
<tr>
|
<small>Time since update: {{humanTime time_since_update}}</small>
|
||||||
<td><span class="glyphicon glyphicon-cloud-upload"> Tx</td>
|
</h4>
|
||||||
<td>{{bitRate tx time_since_update}}</td>
|
</th>
|
||||||
<td>{{humanSize cumulative_tx}} (cumulative)</td>
|
<th>Bitrate</th>
|
||||||
</tr>
|
<th>Cumulative bitrate</th>
|
||||||
<tr class="active">
|
</tr>
|
||||||
<td>Rx + Tx</td>
|
</thead>
|
||||||
<td>{{bitRate cx time_since_update}}</td>
|
<tbody>
|
||||||
<td>{{humanSize cumulative_cx}} (cumulative)</td>
|
<tr>
|
||||||
</tr>
|
<td>Rx</span></td>
|
||||||
|
<td>{{bitRate rx time_since_update}}</td>
|
||||||
|
<td>{{humanSize cumulative_rx}}</td>
|
||||||
|
</tr>
|
||||||
|
<tr>
|
||||||
|
<td>Tx</td>
|
||||||
|
<td>{{bitRate tx time_since_update}}</td>
|
||||||
|
<td>{{humanSize cumulative_tx}}</td>
|
||||||
|
</tr>
|
||||||
|
<tr class="active">
|
||||||
|
<td>Rx + Tx</td>
|
||||||
|
<td>{{bitRate cx time_since_update}}</td>
|
||||||
|
<td>{{humanSize cumulative_cx}}</td>
|
||||||
|
</tr>
|
||||||
|
</tbody>
|
||||||
</table>
|
</table>
|
||||||
</div>
|
</div>
|
||||||
{{/each}}
|
{{/each}}
|
||||||
|
|
Loading…
Add table
Reference in a new issue