1 line
5.0 KiB
HTML
1 line
5.0 KiB
HTML
<!doctype html><html lang="en"><head><meta charset="utf-8"><meta name="viewport" content="width=device-width,initial-scale=1"><title>Secrets administration — proposed UI</title><link rel="stylesheet" href="shared.css"></head><body><a class="skip" href="#main">Skip to content</a><details class="mobile-nav"><summary>Navigation</summary></details><div class="shell"><aside class="rail"><a class="brand" href="../index.html">Secrets administration</a><a class="nav-link current" aria-current="page" href="#main">Secrets</a><a class="nav-link" href="../index.html">All project reviews</a><div class="rail-footer">Shared embedded UI · host supplies shell<br>Proposed UI · illustrative data</div></aside><main class="main" id="main"><header class="page-head"><div><h1>Secrets</h1><p>Manage stored credentials. Values stay hidden until a separately authorized reveal.</p></div><a class="button primary" href="#editor">Review rotate form</a></header><div class="notice">Proposed UI · illustrative metadata. There are no real secret values and this page cannot save, reveal or delete credentials.</div><div class="split"><section class="panel"><div class="panel-head"><h2>Stored secrets</h2><span class="muted">2 examples</span></div><div class="toolbar"><label for="search">Find by name</label><input type="search" id="search" placeholder="Filter example names"><span class="muted" id="count" role="status">2 secrets</span></div><div class="table-wrap" role="region" aria-label="Illustrative secret metadata" tabindex="0"><table><thead><tr><th scope="col">Name</th><th scope="col">Updated (UTC)</th><th scope="col">Details</th></tr></thead><tbody><tr data-name="gateway/service"><td><strong class="mono">gateway/service</strong><br><span class="muted">Gateway service credential</span></td><td class="mono">2026-11-12<br>21:40:02 UTC</td><td><details><summary>Metadata for gateway/service</summary><dl><dt>Content type</dt><dd>Password</dd><dt>Revision</dt><dd class="mono">7</dd><dt>KEK</dt><dd class="mono">example-kek-01</dd></dl></details><a href="#editor">Review rotate example</a></td></tr><tr data-name="historian/reader"><td><strong class="mono">historian/reader</strong><br><span class="muted">Read-only historian account</span></td><td class="mono">2026-11-11<br>19:20:00 UTC</td><td><details><summary>Metadata for historian/reader</summary><dl><dt>Content type</dt><dd>Password</dd><dt>Revision</dt><dd class="mono">3</dd><dt>KEK</dt><dd class="mono">example-kek-01</dd></dl></details></td></tr></tbody></table></div><p class="empty" id="empty" hidden>No matching secret names. Clear the filter to show both examples.</p><div class="panel-foot muted">A proposed row action must name its secret and preserve the host's manage/reveal policy gates.</div></section><section class="panel" id="editor"><div class="panel-head"><h2>Rotate secret</h2><span class="status idle">Example only</span></div><div class="detail"><form id="form"><div class="field"><label for="secret-name">Name</label><input id="secret-name" value="gateway/service" readonly class="mono"></div><div class="field"><label for="description">Description</label><input id="description" value="Gateway service credential"></div><div class="field"><label for="type">Content type</label><select id="type"><option>Password</option><option>Connection string</option></select></div><div class="field"><label for="value">New value</label><input id="value" type="password" autocomplete="new-password" aria-describedby="value-hint"><p id="value-hint">Example field only. Do not enter a real credential.</p></div><div class="actions"><button class="primary" type="submit">Validate example</button><button type="reset">Clear example</button></div><p id="feedback" role="status" class="muted" style="margin-top:16px">This form performs no mutation.</p></form><hr><details><summary>Proposed delete confirmation</summary><p><strong>Delete gateway/service?</strong> The app must explain the tombstone, propagation and audit behavior, focus Cancel first, and return focus to the selected row.</p><p class="muted">Dialog behavior belongs to the implementation acceptance checks; this disclosure is explanatory.</p></details></div></section></div><script>const search=document.querySelector('#search');search.addEventListener('input',()=>{let n=0;document.querySelectorAll('tr[data-name]').forEach(r=>{r.hidden=!r.dataset.name.includes(search.value.toLowerCase());if(!r.hidden)n++});document.querySelector('#count').textContent=`${n} secrets`;document.querySelector('#empty').hidden=n>0});document.querySelector('#form').addEventListener('submit',e=>{e.preventDefault();document.querySelector('#feedback').textContent='Example validation complete. No value was saved, transmitted or revealed.';document.querySelector('#value').value=''});document.querySelector('#form').addEventListener('reset',()=>{document.querySelector('#feedback').textContent='Example inputs reset. No change was saved.'})</script><footer class="mockup-note"><a href="../index.html">All reviews</a><a href="../Secrets.md">Recommendations</a>Proposed UI · illustrative data · local demonstration only</footer></main></div></body></html> |