browsec/trustlab/ui/index.html

79 lines
2.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="color-scheme" content="dark">
<title>Browsec TrustLab</title>
<link rel="stylesheet" href="/ui/styles.css">
</head>
<body>
<header class="browser-frame">
<div class="brand-mark" aria-hidden="true">B</div>
<div>
<strong>Browsec security decision</strong>
<span>Browser-owned test surface</span>
</div>
<div class="frame-seal">TRUSTLAB · SYNTHETIC</div>
</header>
<main>
<aside class="controls" aria-label="TrustLab controls">
<p class="eyebrow">Synthetic input</p>
<label for="scenario">Certificate scenario</label>
<select id="scenario"></select>
<label class="toggle">
<input id="community-enabled" type="checkbox" checked>
<span>Village community evidence</span>
</label>
<p class="simulation-note">
This page evaluates fixtures only. It cannot alter browser trust.
</p>
</aside>
<section class="workspace">
<section id="status" class="status-card" aria-live="polite"></section>
<section class="panel identity-panel">
<div class="section-heading">
<p class="eyebrow">Connection</p>
<h2>Identity under examination</h2>
</div>
<dl id="identity" class="identity-grid"></dl>
</section>
<section class="panel">
<div class="section-heading">
<p class="eyebrow">Validation path</p>
<h2>Where trust succeeds or breaks</h2>
</div>
<ol id="chain" class="chain"></ol>
</section>
<section class="panel">
<div class="section-heading">
<p class="eyebrow">Append-only journal</p>
<h2>Attributed findings</h2>
</div>
<div id="journal" class="journal"></div>
</section>
</section>
</main>
<footer class="decision-bar">
<div>
<strong>Your local decision</strong>
<span>Exact host and port · current simulation</span>
</div>
<button id="clear-decision" class="button quiet" hidden>Clear decision</button>
<button id="reject" class="button reject">Do not trust</button>
<button id="trust" class="button trust">Trust this connection</button>
</footer>
<script type="module" src="/ui/app.js"></script>
</body>
</html>