From 1e8ef96e022883f056610d55055622fb22016c0c Mon Sep 17 00:00:00 2001 From: Simon Rettberg Date: Tue, 29 Jan 2019 16:06:26 +0100 Subject: Make colors more good and less bad --- static/graph.html | 624 +++++++++++++++++++++++++++++++++++++++++++ static/new_status-dnbd3.html | 226 ---------------- static/status-dnbd3.html | 624 ------------------------------------------- static/table.html | 229 ++++++++++++++++ 4 files changed, 853 insertions(+), 850 deletions(-) create mode 100644 static/graph.html delete mode 100644 static/new_status-dnbd3.html delete mode 100644 static/status-dnbd3.html create mode 100644 static/table.html diff --git a/static/graph.html b/static/graph.html new file mode 100644 index 0000000..0fe1a09 --- /dev/null +++ b/static/graph.html @@ -0,0 +1,624 @@ + + + + + + + + + + +
+
+
+ + diff --git a/static/new_status-dnbd3.html b/static/new_status-dnbd3.html deleted file mode 100644 index 85a34ec..0000000 --- a/static/new_status-dnbd3.html +++ /dev/null @@ -1,226 +0,0 @@ - - - - - - - - -
-
- - - - - - - - - - - - - - -
{{ server.address }}
Uptime:{{ formatSeconds(server.uptime) }}
Upload speed:{{ formatSpeed(peak ? server.peakUploadSpeed : server.avgUploadSpeed) }}
Download speed:{{ formatSpeed(peak ? server.peakDownloadSpeed : server.avgDownloadSpeed) }}
Total sent:{{ formatSpeed(server.bytesSent) }}
Total received:{{ formatSpeed(server.bytesReceived) }}
Client count:{{ server.clientCount }}
{{ client.address.split( ":" )[0] }} - {{ formatSpeed(peak ? client.peakUploadSpeed : client.avgUploadSpeed) }} -
-
- -
- - - - - - - diff --git a/static/status-dnbd3.html b/static/status-dnbd3.html deleted file mode 100644 index 0fe1a09..0000000 --- a/static/status-dnbd3.html +++ /dev/null @@ -1,624 +0,0 @@ - - - - - - - - - - -
-
-
- - diff --git a/static/table.html b/static/table.html new file mode 100644 index 0000000..ad7835f --- /dev/null +++ b/static/table.html @@ -0,0 +1,229 @@ + + + + + + + + +
+
+ + + + + + + + + + + + + + + +
{{ server.address }}
Uptime:{{ formatSeconds(server.uptime) }}
Upload speed:{{ formatSpeed(peak ? server.peakUploadSpeed : server.avgUploadSpeed) }}
Download speed:{{ formatSpeed(peak ? server.peakDownloadSpeed : server.avgDownloadSpeed) }}
Total sent:{{ formatSpeed(server.bytesSent) }}
Total received:{{ formatSpeed(server.bytesReceived) }}
Client count:{{ server.clientCount }}
Server count:{{ server.serverCount }}
{{ client.address.split( ":" )[0] }} + {{ formatSpeed(peak ? client.peakUploadSpeed : client.avgUploadSpeed) }} +
+
+ +
+ + + + + + + -- cgit v1.2.3-55-g7522