98 lines
3.7 KiB
HTML
98 lines
3.7 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="#f4f6f2">
|
|
<title>VardKey</title>
|
|
<link rel="stylesheet" href="/styles.css">
|
|
<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">
|
|
<span class="service-label">Local service</span>
|
|
<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>
|
|
<p class="intro">Bitcoin Multisig Health Monitor</p>
|
|
<p class="intro">An overview of your multisig setup and annual checks.</p>
|
|
</div>
|
|
<a class="primary-button active-button" href="/health-check">Start annual health check</a>
|
|
</section>
|
|
|
|
<section class="setup-card" aria-labelledby="setup-title">
|
|
<div>
|
|
<p class="eyebrow">Multisig setup</p>
|
|
<h2 id="setup-title">Multisig setup</h2>
|
|
</div>
|
|
<p class="setup-description" id="setup-description">Loading the configured setup…</p>
|
|
</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><span>Your data stays local.</span></footer>
|
|
</body>
|
|
</html>
|