From b146ba1d86067bb717de0ae50026792ea127e0e9 Mon Sep 17 00:00:00 2001 From: Anton Grouchtchak Date: Wed, 18 May 2022 17:14:05 -0400 Subject: [PATCH 1/2] Wait for Vue to finish loading before showing HTML This prevents flashing static HTML elements (icons, modals) on reload. --- src/www/index.html | 12 +++++++++--- 1 file changed, 9 insertions(+), 3 deletions(-) diff --git a/src/www/index.html b/src/www/index.html index 4080c51..c84bb1b 100644 --- a/src/www/index.html +++ b/src/www/index.html @@ -10,12 +10,18 @@ + +
-
+
-

Made by Made by Emile Nijssen · Donate · GitHub

@@ -482,4 +488,4 @@ - \ No newline at end of file + From c663d02a365c66c881d55eed5d4661dbd0f1b195 Mon Sep 17 00:00:00 2001 From: Anton Grouchtchak Date: Wed, 18 May 2022 17:18:30 -0400 Subject: [PATCH 2/2] Fix typo Change `Created/Last seen at` to `Created/Last seen on`. --- src/www/index.html | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/www/index.html b/src/www/index.html index c84bb1b..6e99ca2 100644 --- a/src/www/index.html +++ b/src/www/index.html @@ -107,7 +107,7 @@
-
+
+ :title="'Last seen on ' + dateTime(new Date(client.latestHandshakeAt))"> · {{new Date(client.latestHandshakeAt) | timeago}}