From 5c165633d1929aed76841367553012961bb2f97e Mon Sep 17 00:00:00 2001 From: Djuri Baars Date: Fri, 3 Nov 2023 16:03:34 +0100 Subject: [PATCH] increase vTick for time screen, add lost IP event handler and system status to web interface --- data/src/css/style.scss | 1 + data/src/index.html | 14 ++++++++++++++ data/src/js/script.ts | 19 ++++++++++++++++++- src/lib/functions.cpp | 10 +++++++++- src/lib/functions.hpp | 1 + src/lib/webserver.cpp | 5 +++++ src/tasks/minute.cpp | 2 +- 7 files changed, 49 insertions(+), 3 deletions(-) diff --git a/data/src/css/style.scss b/data/src/css/style.scss index 1de809d..fe56410 100644 --- a/data/src/css/style.scss +++ b/data/src/css/style.scss @@ -20,6 +20,7 @@ $form-range-track-bg: #fff; @import "../node_modules/bootstrap/scss/navbar"; @import "../node_modules/bootstrap/scss/nav"; @import "../node_modules/bootstrap/scss/card"; +@import "../node_modules/bootstrap/scss/progress"; @import "../node_modules/bootstrap/scss/helpers"; @import "../node_modules/bootstrap/scss/utilities/api"; diff --git a/data/src/index.html b/data/src/index.html index 2d8f163..951066f 100644 --- a/data/src/index.html +++ b/data/src/index.html @@ -57,6 +57,20 @@
Uptime: {{#if uptime.h }}{{ uptime.h }}h {{/if}}{{ uptime.m }}m {{ uptime.s }}s