From 1356145026a8673b192bcb632f272a4aa819b5d5 Mon Sep 17 00:00:00 2001 From: Javier Sánchez Parra Date: Mon, 28 Mar 2022 08:37:53 +0200 Subject: Add ogServer uptime to the dashboard ogServer GET /stats returns ogServer uptime in seconds. Transform seconds to days, hours and minutes and print them in the dashboard. --- ogcp/templates/dashboard.html | 8 ++++++++ 1 file changed, 8 insertions(+) (limited to 'ogcp/templates') diff --git a/ogcp/templates/dashboard.html b/ogcp/templates/dashboard.html index a84ae4d..e1d9dc4 100644 --- a/ogcp/templates/dashboard.html +++ b/ogcp/templates/dashboard.html @@ -21,6 +21,14 @@

{{ time_dict['boot'] }}

+