aboutsummaryrefslogtreecommitdiffstats
path: root/static/index.html
diff options
context:
space:
mode:
authorDanilo M. <danix@danix.xyz>2026-11-12 09:39:08 +0100
committerDanilo M. <danix@danix.xyz>2026-11-12 09:39:08 +0100
commit28a5a51c0a5e059a0389ddd1e75c6ecc91f6e38d (patch)
tree40625e19b1a021e1694c52f23bd04609073704a0 /static/index.html
parent512a2b4a2821a1edadf5530d060e3ae5468d75e8 (diff)
downloaddeck-it-28a5a51c0a5e059a0389ddd1e75c6ecc91f6e38d.tar.gz
deck-it-28a5a51c0a5e059a0389ddd1e75c6ecc91f6e38d.zip
feat(dashboard): show a clock and date on the dim cover
The cover that hides the dashboard while the tablet is dimmed was only a dark area; it now shows the time and date in the tablet's locale, so the dim tablet stays useful at a glance. The cover is darker (85%) so the clock stands out from the dashboard behind it, and it ticks only while shown. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Diffstat (limited to 'static/index.html')
-rw-r--r--static/index.html2
1 files changed, 1 insertions, 1 deletions
diff --git a/static/index.html b/static/index.html
index e446940..a8df407 100644
--- a/static/index.html
+++ b/static/index.html
@@ -39,7 +39,7 @@
<button id="reload" class="reload" aria-label="Reload the dashboard" title="Reload"><i class="nf"></i></button>
</header>
<div id="tab-body"></div>
-<div id="dimmer" hidden></div>
+<div id="dimmer" hidden><div class="dim-time"></div><div class="dim-date"></div></div>
<div id="asleep" hidden>
<div class="asleep-moon nf"></div>
<div class="off-title" id="asleep-title"></div>