From 3871437e571e17f12af2aa56982906a27a529401 Mon Sep 17 00:00:00 2001 From: Udo Walter Date: Thu, 17 Jan 2019 16:06:50 +0100 Subject: rework new_status-dnbd3.html with vuejs instead of jquery --- static/new_status-dnbd3.html | 666 ++++++++----------------------------------- static/vue.min.js | 6 + 2 files changed, 130 insertions(+), 542 deletions(-) create mode 100644 static/vue.min.js (limited to 'static') diff --git a/static/new_status-dnbd3.html b/static/new_status-dnbd3.html index eec291a..b4049bb 100644 --- a/static/new_status-dnbd3.html +++ b/static/new_status-dnbd3.html @@ -2,551 +2,133 @@
- - - - + -Server IP: | {{ server.address }} |
Uptime: | {{ formatSeconds(server.uptime) }} |
Upload speed: | {{ formatBytes(server.uploadSpeed) +'/s' }} |
Download speed: | {{ formatBytes(server.downloadSpeed) +'/s' }} |
Total sent: | {{ formatBytes(server.bytesSent) }} |
Total received: | {{ formatBytes(server.bytesReceived) }} |
{{ client.address.split( ":" )[0] }} | +{{ formatBytes(client.uploadSpeed) + '/s' }} | +