Frontend: Various small changes

Signed-off-by: Fred Boniface <fred@fjla.uk>
This commit is contained in:
Fred Boniface 2023-02-07 09:52:46 +00:00
parent f59637de1a
commit e31cbe04b1
5 changed files with 6 additions and 7 deletions

View File

@ -5,6 +5,7 @@
* Enable text search for `locationName` on find-code page.
* Add security headers - maybe on ingress controller?
- see: https://webera.blog/improving-your-website-security-with-http-headers-in-nginx-ingress-369e8f3302cc
* Replace close and menu icons with SVG
### In Progress:

View File

@ -56,14 +56,12 @@
</div>
<div class="text-description">
<p>This is a development release and is under testing.</p>
<p>Data may be stale.</p>
<p>Customise your quick links on the `Settings` page.</p>
<p>Customise your quick links on the <a href="/settings.html">Settings</a> page.</p>
</div>
<!-- Footer -->
<footer>
<p>Created by <a href="https://fredboniface.co.uk" target="_blank" rel="noreferrer noopener">Fred Boniface</a> - 0.0.1-dev-2023020502</p>
<p>Created by <a href="https://fredboniface.co.uk" target="_blank" rel="noreferrer noopener">Fred Boniface</a> - 0.0.1-dev-2023020701</p>
</footer>
</body>

View File

@ -11,7 +11,7 @@ async function pageInit() {
}
async function gotoBoard(station){
vibe()
vibe("ok")
window.location.assign(`${window.location.origin}/board.html?stn=${station}`);
}

View File

@ -100,7 +100,7 @@ async function getQuickLinks() {
} catch (err) {
data = defaults;
}
return data;
return data.sort();
}
/* Fetch a known query parameter from the pages URL */

View File

@ -1,6 +1,6 @@
/* Service Worker */
const appVersion = "0.0.1-dev-2023020502"
const appVersion = "0.0.1-dev-2023020701"
const cacheName = `owlboard-${appVersion}`
const cacheIDs = [cacheName]
const cacheFiles = [