From 860ba5a2539003eaa24998a035f3fcd68c1a2d9c Mon Sep 17 00:00:00 2001 From: opi Date: Tue, 18 Feb 2014 23:18:44 +0100 Subject: [PATCH] Add table header for network bitrates. --- css/style.css | 10 +++++++++- views/monitor.ms | 48 +++++++++++++++++++++++++++++------------------- 2 files changed, 38 insertions(+), 20 deletions(-) diff --git a/css/style.css b/css/style.css index cd956dbc..694f07b3 100644 --- a/css/style.css +++ b/css/style.css @@ -97,4 +97,12 @@ div.br { .help-block { text-align: right; -} \ No newline at end of file +} + +th h3, +th h4 { + margin-bottom: 5px; + font-weight: bold; +} +th h4 {font-size: 16px;} +th h4 small {font-size: 12px;} \ No newline at end of file diff --git a/views/monitor.ms b/views/monitor.ms index c30e9aee..36859073 100644 --- a/views/monitor.ms +++ b/views/monitor.ms @@ -142,26 +142,36 @@

Usage

{{#each network.usage}}
-

- {{@key}} - Time since update: {{humanTime time_since_update}} -

- - - - - - - - - - - - - - - + + + + + + + + + + + + + + + + + + + + + + + +
Rx{{bitRate rx time_since_update}}{{humanSize cumulative_rx}} (cumulative)
Tx{{bitRate tx time_since_update}}{{humanSize cumulative_tx}} (cumulative)
Rx + Tx{{bitRate cx time_since_update}}{{humanSize cumulative_cx}} (cumulative)
+

+ {{@key}} + Time since update: {{humanTime time_since_update}} +

+
BitrateCumulative bitrate
Rx{{bitRate rx time_since_update}}{{humanSize cumulative_rx}}
Tx{{bitRate tx time_since_update}}{{humanSize cumulative_tx}}
Rx + Tx{{bitRate cx time_since_update}}{{humanSize cumulative_cx}}
{{/each}}