Files
scadaproj/impeccable/mockups/Theme.html
T

2 lines
4.1 KiB
HTML

<!doctype html><html lang="en"><head><meta charset="utf-8"><meta name="viewport" content="width=device-width,initial-scale=1"><title>Shared Technical-Light — proposed components</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">Technical-Light</a><a class="nav-link current" href="#components" aria-current="page">Component language</a><a class="nav-link" href="../index.html">Project reviews</a><div class="rail-footer">One family · shared foundations<br>Proposed component reference</div></aside><main class="main" id="main"><header class="page-head"><div><h1>Shared component language</h1><p>Keep the identity. Make states, labels and actions consistently readable.</p></div><a class="button" href="../SHARED-DESIGN-SYSTEM.md">Read shared recommendations</a></header><div class="notice">Proposed UI · illustrative data. This reference shows shared components; each project keeps its own domain workflows and existing accent.</div><section class="panel" id="components"><div class="panel-head"><h2>Status carries a name</h2><span class="muted">Proposed accessible text inks</span></div><div class="panel-body actions"><span class="status ok">Healthy</span><span class="status warn">Degraded</span><span class="status bad">Unreachable</span><span class="status idle">Unknown</span><span class="status info">Active role</span></div><div class="panel-foot muted">Role, freshness, quality and reachability remain distinct concepts.</div></section><div class="split"><section class="panel"><div class="panel-head"><h2>Data with context</h2></div><div class="table-wrap" tabindex="0" role="region" aria-label="Example instance states"><table><caption>Illustrative instances · timestamps in UTC</caption><thead><tr><th scope="col">Instance</th><th scope="col">State</th><th scope="col">Last response</th></tr></thead><tbody><tr><td class="mono">node-a.example</td><td><span class="status ok">Healthy</span></td><td class="mono">21:40:02 UTC</td></tr><tr><td class="mono">node-b.example</td><td><span class="status warn">Stale · 2 min</span></td><td class="mono">21:38:00 UTC</td></tr></tbody></table></div></section><section class="panel"><div class="panel-head"><h2>Fields with a clear recovery</h2></div><div class="detail"><div class="field"><label for="name">Display name</label><input id="name" value="Central operations" aria-describedby="name-help"><p id="name-help">Used in navigation and the page heading.</p></div><div class="field"><label for="endpoint">Endpoint</label><input id="endpoint" value="node-a" aria-invalid="true" aria-describedby="endpoint-error"><p id="endpoint-error" style="color:var(--bad)">Include the scheme and port, for example https://node-a.example:443.</p></div><div class="actions"><button class="primary" id="check">Validate example</button><button type="button" disabled>Saving example…</button></div><p id="result" role="status" class="muted" style="margin-top:14px">No data is saved in this mockup.</p></div></section></div><section class="panel"><div class="panel-head"><h2>Progressive detail</h2></div><div class="detail"><details><summary>Connection evidence</summary><dl class="kv"><dt>Ready check</dt><dd class="mono">HTTP 200</dd><dt>Role check</dt><dd>Active</dd><dt>Sample time</dt><dd class="mono">2026-11-12 21:40:02 UTC</dd></dl></details><details><summary>Empty and failure copy</summary><p><strong>No matching instances.</strong> Clear a filter to show the full list.</p><p><strong>Could not load instances.</strong> Keep the last successful values visible, mark their age, and offer a retry.</p></details></div></section><footer class="mockup-note"><a href="../index.html">All reviews</a><a href="../Theme.md">Theme report</a>Proposed UI · illustrative data · no backend actions</footer></main></div><script>document.querySelector('#check').addEventListener('click',()=>{document.querySelector('#result').textContent='Example validation: Endpoint needs a scheme and port. No data was saved.';document.querySelector('#endpoint').focus()})</script></body></html>