diff options
| author | altaf-creator <dev@altafcreator.com> | 2026-05-28 21:12:05 +0800 |
|---|---|---|
| committer | altaf-creator <dev@altafcreator.com> | 2026-05-28 21:12:05 +0800 |
| commit | d502544684ef4f583ea15eb4e325753ecf1ec761 (patch) | |
| tree | 5596e11b78d42d26dc0e2c4d333eb328bbf4b274 /frontend | |
| parent | be066cfb8c3f5abfbb1b45de858c83c48f84ab77 (diff) | |
Diffstat (limited to 'frontend')
| -rw-r--r-- | frontend/main.js | 2 | ||||
| -rw-r--r-- | frontend/manifest.json | 1 | ||||
| -rw-r--r-- | frontend/style.css | 2 | ||||
| -rw-r--r-- | frontend/timer/index.html | 2 |
4 files changed, 4 insertions, 3 deletions
diff --git a/frontend/main.js b/frontend/main.js index cfacc86..1d3202d 100644 --- a/frontend/main.js +++ b/frontend/main.js @@ -10,7 +10,7 @@ const PUBLIC_VAPID_KEY = "BCvVfKfWBtHKtzdakJfhYy604yTn0_FgZxy2sNtxcQm6YyC3qdzBBu // --- REGISTER SERVICE WORKERS if ('serviceWorker' in navigator) { - navigator.serviceWorker.register('/sw.js', { + navigator.serviceWorker.register('/sw.js?v=0.2', { scope: '/', }); } diff --git a/frontend/manifest.json b/frontend/manifest.json index 4bbf313..ba957f7 100644 --- a/frontend/manifest.json +++ b/frontend/manifest.json @@ -1,6 +1,7 @@ { "$schema": "https://json.schemastore.org/web-manifest-combined.json", "name": "LaundryWeb", + "short_name": "LaundryWeb", "icons": [ { "src": "/assets/icons/512.png", diff --git a/frontend/style.css b/frontend/style.css index 4234bce..dcab2c0 100644 --- a/frontend/style.css +++ b/frontend/style.css @@ -376,7 +376,7 @@ fieldset { fieldset > img { border-radius: 16px; - height: 164px; + width: 100%; } legend { diff --git a/frontend/timer/index.html b/frontend/timer/index.html index 935cbd5..d379f6d 100644 --- a/frontend/timer/index.html +++ b/frontend/timer/index.html @@ -20,7 +20,7 @@ <img src="/assets/img/washer_off.png" alt="" style="width: 2rem; margin-top: 3rem; margin-right: auto; margin-left: auto; opacity: .5;"> <span style="opacity: .5; margin-top: .5rem; margin-bottom: 2rem; display: block;">You currently don't have any laundry.</span> </div> - <fieldset class="section-container"> + <fieldset class="section-container" style="display: none;"> <legend>Advisory</legend> <img src="/assets/img/advisory/0.png" alt=""> </fieldset> |
