From 19a955525e386ad606dc198d5016feb50557f476 Mon Sep 17 00:00:00 2001 From: Adriel Sand Date: Thu, 7 Oct 2021 11:18:32 +0300 Subject: [PATCH] added support to use as a PWA --- manifest.json | 4 --- off.html | 5 +++ offline.html | 80 ++++++++++++++++++++++++++++++++++++++++++++++++ on.html | 5 +++ pwabuilder-sw.js | 47 ++++++++++++++++++++++++++++ stats.html | 5 +++ 6 files changed, 142 insertions(+), 4 deletions(-) create mode 100644 offline.html create mode 100644 pwabuilder-sw.js diff --git a/manifest.json b/manifest.json index 9539cd9..c55ca14 100644 --- a/manifest.json +++ b/manifest.json @@ -1,6 +1,5 @@ { "background_color": "#242424", - "description": "", "dir": "ltr", "display": "standalone", "name": "Generator Status", @@ -9,7 +8,4 @@ "short_name": "Generator Status", "start_url": "/", "theme_color": "#242424", - "categories": [], - "screenshots": [], - "shortcuts": [] } diff --git a/off.html b/off.html index 5122711..6d77ab0 100644 --- a/off.html +++ b/off.html @@ -3,6 +3,11 @@ + Generator Status... + + + +
+
+

You're Offline

+
+
+

please check your internet connection

+
+
+
+

Made with ❤️ | Source Code: Gitea +
+ Thanks to Junyong Chung for the hardware and MEU for providing the domain.

+
+ + diff --git a/on.html b/on.html index 948b470..2e762bd 100644 --- a/on.html +++ b/on.html @@ -3,6 +3,11 @@ + Generator Status...