feat(ui): show server and browser date/time in toolbar

Co-authored-by: Cursor <cursoragent@cursor.com>
This commit is contained in:
Андрей Бобырев
2026-05-14 16:14:27 +03:00
parent 73b7d104d4
commit 1c22f89d5a
4 changed files with 116 additions and 0 deletions

View File

@@ -53,6 +53,16 @@
<section class="toolbar">
<div class="pill"><span class="dot ok"></span><span id="proto-label">Протокол: AmneziaWG</span></div>
<div class="clock-strip" role="status" aria-live="polite">
<div class="clock-row">
<span class="muted clock-kind">Сервер</span>
<time id="clock-server" class="clock-time"></time>
</div>
<div class="clock-row">
<span class="muted clock-kind">Браузер</span>
<time id="clock-local" class="clock-time"></time>
</div>
</div>
<button type="button" id="refresh" class="btn primary">Обновить</button>
</section>