Files

56 lines
2.4 KiB
HTML

<!doctype html>
<html lang="en" data-domi-room="custos">
<head>
<meta charset="utf-8">
<title>Custos</title>
<link rel="stylesheet" href="popup.css">
<script src="popup.js" defer></script>
</head>
<body>
<header class="bar">
<span class="wordmark">CUSTOS</span>
<span class="grow"></span>
<span id="state" class="state" hidden></span>
</header>
<div class="dentils" aria-hidden="true"></div>
<main>
<section class="site">
<span id="fav" class="fav" aria-hidden="true"></span>
<div class="site-text">
<b id="site">This page</b>
<span id="count" class="muted"></span>
</div>
</section>
<section id="offer" class="card offer" hidden>
<p id="offer-text"></p>
<div id="offer-buttons" class="buttons">
<button id="offer-dismiss" type="button" class="btn">Not now</button>
<button id="offer-save" type="button" class="btn primary">Save to Custos</button>
</div>
</section>
<p id="note" class="note">Asking Custos…</p>
<ul id="logins" class="logins" aria-label="Logins for this site"></ul>
<section id="gen" class="card gen" hidden>
<div class="gen-head">
<svg width="15" height="15" viewBox="0 0 16 16" aria-hidden="true"><rect x="2" y="2" width="12" height="12" rx="3" fill="none" stroke="currentColor" stroke-width="1.4"/><circle cx="5.5" cy="5.5" r="1.1" fill="currentColor"/><circle cx="10.5" cy="10.5" r="1.1" fill="currentColor"/><circle cx="8" cy="8" r="1.1" fill="currentColor"/></svg>
<b>A new password for this site</b>
</div>
<div id="gen-pw" class="pw"></div>
<div class="gen-ctl">
<span class="meter"><span class="bars" aria-hidden="true"><i></i><i></i><i></i><i></i><i></i></span><span id="gen-strength"></span></span>
<span class="grow"></span>
<button id="gen-again" type="button" class="btn icon quiet" title="Another one" aria-label="Another one">
<svg width="14" height="14" viewBox="0 0 16 16" aria-hidden="true"><path d="M13 8a5 5 0 1 1-1.5-3.6M13 2.5v2.8h-2.8" fill="none" stroke="currentColor" stroke-width="1.5" stroke-linecap="round" stroke-linejoin="round"/></svg>
</button>
<button id="gen-fill" type="button" class="btn primary">Fill</button>
</div>
<p id="gen-note" class="muted small" hidden></p>
</section>
</main>
<footer>
<span id="foot" class="muted">Only this site's logins are offered.</span>
<span id="code" class="code-line"></span>
</footer>
</body>
</html>