summaryrefslogtreecommitdiff
path: root/frontend/index.html
diff options
context:
space:
mode:
authoraltaf-creator <dev@altafcreator.com>2025-12-03 17:48:33 +0700
committeraltaf-creator <dev@altafcreator.com>2025-12-03 17:48:33 +0700
commit84ef4a0d051d180724ebc38b474aa2a355427607 (patch)
treea6518b72f52c9a6d19f0d4bbcd8614155d419030 /frontend/index.html
parent761cd8abbdc72836be61d327adb0c31a887d6d0b (diff)
frontend changes, feedback, credits, new status page
Diffstat (limited to 'frontend/index.html')
-rw-r--r--frontend/index.html12
1 files changed, 8 insertions, 4 deletions
diff --git a/frontend/index.html b/frontend/index.html
index 4004270..fcb0c2f 100644
--- a/frontend/index.html
+++ b/frontend/index.html
@@ -30,14 +30,18 @@
<div class="section-container no-pad">
<span>Loading...</span>
</div>
+ <div class="section-container credits-container">
+ <span>Developed by <a href="https://altafcreator.com">Athaalaa Altaf Hafidz</a>, a fellow resident • <a href="https://git.altafcreator.com/victoriahall-laundryweb.git/">Source Code</a></span>
+ </div>
+ <a href="mailto:dev@altafcreator.com" class="feedback"><span>✉️ Bugs? Feedback?</span></a>
<script src="/main.js"></script>
<script>
(async () => {
- const result = await checkUserStatus();
- if (result != "you got laundry") {
- window.location.href = './status/';
- } else {
+ const timers = await fetchTimers();
+ if (timers.length > 0) {
window.location.href = './timer/';
+ } else {
+ window.location.href = './status/';
}
})();
</script>