Files
vardkey/static/index.html
T

91 lines
3.5 KiB
HTML

<!doctype html>
<html lang="en">
<head>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1">
<meta name="theme-color" content="#c0c0c0">
<title>VardKey</title>
<link rel="stylesheet" href="/styles.css">
<link rel="manifest" href="/manifest.webmanifest">
<script src="/session.js" defer></script>
<script src="/app.js" defer></script>
</head>
<body>
<header class="topbar">
<a class="brand" href="/" aria-label="VardKey dashboard">
<span class="brand-mark" aria-hidden="true">V</span>
<span>VardKey</span>
</a>
<div class="topbar-actions">
<a class="back-link" href="/settings">Settings</a>
</div>
</header>
<main class="page-shell">
<section class="page-heading" aria-labelledby="page-title">
<div>
<p class="eyebrow">Annual security check</p>
<h1 id="page-title">Dashboard</h1>
<!-- The line is replaced with the configured threshold and key count
as soon as the setup is loaded (section 32.2 point 3). -->
<p class="intro" id="setup-shape">Bitcoin Health Monitor for a Multisig Setup.</p>
</div>
<a class="primary-button active-button" href="/health-check">Start annual health check</a>
</section>
<section class="section-block" aria-labelledby="keys-title">
<div class="section-heading">
<div>
<p class="eyebrow">Configured setup</p>
<h2 id="keys-title">Your keys</h2>
</div>
<span class="muted-label" id="key-count">Loading keys…</span>
</div>
<div class="key-grid" id="key-list" aria-live="polite">
<p class="empty-state">Loading key profiles…</p>
</div>
</section>
<div class="overview-grid">
<section class="info-card" aria-labelledby="next-check-title">
<p class="eyebrow">Next check</p>
<h2 id="next-check-title">Not scheduled</h2>
<p id="next-check-detail">Each key keeps its own next check date. The earliest one is shown here.</p>
</section>
<section class="info-card" aria-labelledby="overdue-title">
<p class="eyebrow">Attention</p>
<h2 id="overdue-title">Nothing overdue</h2>
<p id="overdue-detail">No key has passed its next check date.</p>
</section>
</div>
<section class="section-block alerts-card" aria-labelledby="alerts-title">
<div class="section-heading">
<div>
<p class="eyebrow">Follow-up</p>
<h2 id="alerts-title">Alerts</h2>
</div>
<span class="muted-label" id="alert-count">Loading alerts…</span>
</div>
<div id="alerts-list" aria-live="polite">
<p class="empty-state">Loading alerts…</p>
</div>
</section>
<section class="history-card" aria-labelledby="history-title">
<div>
<p class="eyebrow">Previous checks</p>
<h2 id="history-title">History</h2>
</div>
<div class="card-actions">
<a class="secondary-button" href="/history">Open history</a>
<a class="secondary-button" href="/api/export">Download CSV</a>
</div>
</section>
<p class="workflow-note" id="workflow-note">Save a health check to see it in the history. Download CSV exports every saved key check, one row per key check, as a dated file.</p>
</main>
<footer class="footer"><span>VardKey</span></footer>
</body>
</html>