From 4ef7abb2958085e3872ed5f7c433c5ddbd10d79a Mon Sep 17 00:00:00 2001 From: Udo Walter Date: Tue, 26 Feb 2019 10:31:45 +0100 Subject: table.html: (hopefully) fix crashes; keep offline servers greyed out for the timespan; add ability to display ports (url query parameter 'ports'); fix display bug with ipv6 addresses; --- static/table.html | 144 ++++++++++++++++++++++++++++++++++-------------------- 1 file changed, 91 insertions(+), 53 deletions(-) diff --git a/static/table.html b/static/table.html index eb4ca4c..060c6c7 100644 --- a/static/table.html +++ b/static/table.html @@ -21,7 +21,7 @@ justify-content: center; overflow-y: auto; } - + .server { border-spacing: 2px 4px; background-color: #eee; @@ -30,6 +30,10 @@ max-width: 360px; margin: 3px; } + + .server-offline { + filter: brightness(50%); + } .first-row { font-weight: bold; @@ -56,7 +60,7 @@
- +
@@ -77,7 +81,7 @@ - + @@ -88,7 +92,7 @@ - +
{{ server.address }}
Uptime:{{ formatSeconds(server.uptime) }}
Client count:{{ server.clientCount }}
Server count:{{ server.serverCount }}
{{ client.address.split( ":" )[0] }}{{ formatIpAddress(client.address) }} {{ formatBytes(peak ? client.peakUploadSpeed : client.avgUploadSpeed) }}/s