1 line
5.8 KiB
HTML
1 line
5.8 KiB
HTML
<!doctype html><html lang="en"><head><meta charset="utf-8"><meta name="viewport" content="width=device-width, initial-scale=1"><title>ScadaBridge — proposed Technical-Light UI</title><link rel="stylesheet" href="shared.css"></head><body><a class="skip" href="#main">Skip to content</a><details class="mobile-nav"><summary>ScadaBridge navigation</summary></details><div class="shell"><aside class="rail"><a class="brand" href="ScadaBridge.html">ScadaBridge</a><nav aria-label="ScadaBridge"><a class="nav-link" href="ScadaBridge.html#context">Dashboard concept</a><details open><summary>Deployment</summary><a class="nav-link current" href="ScadaBridge.html">Topology</a><a class="nav-link" href="ScadaBridge.html#instance-detail">Instance details</a></details><details open><summary>Audit</summary><a class="nav-link" href="ScadaBridge-Audit.html">Audit Log</a></details></nav><div class="rail-footer"><span class="status idle">Review fixture</span><p>Example role: Deployer<br>Environment: demonstration</p><a href="../index.html">All project mockups</a></div></aside><main class="main" id="main"><div class="page-head"><div><h1>Topology</h1><p>Sites, areas and instances — with deployment state in one scan.</p></div><div class="actions"><a class="button" href="ScadaBridge-Audit.html">Open Audit Log</a><a class="button primary" href="#instance-detail">Inspect selected instance</a></div></div><div class="summary-strip" id="context"><span><strong>2</strong> loaded sites</span><span><strong>4</strong> loaded instances</span><span><strong>1</strong> stale instance</span><span class="muted">Snapshot: 14:32:10 UTC · illustrative</span></div><div class="notice warn"><strong>Pump-02 has a newer configuration.</strong><p>Compare its deployed revision with the current template before choosing a deployment action.</p></div><div class="split"><section class="panel" aria-labelledby="list-title"><div class="panel-head"><h2 id="list-title">Loaded topology</h2><span class="status warn">1 needs review</span></div><div class="toolbar"><label for="topology-search">Find loaded instance</label><input id="topology-search" type="search" placeholder="Name or site" style="flex:1;min-width:140px"><label for="stale"><input id="stale" type="checkbox"> Stale only</label></div><div class="table-wrap" role="region" aria-label="Loaded instance deployment states" tabindex="0"><table class="data-table"><caption>Search covers loaded instances. Open a site in the production UI to load further branches.</caption><thead><tr><th scope="col">Instance / location</th><th scope="col">Deployment</th><th scope="col">Revision</th></tr></thead><tbody id="instances"><tr data-stale="true"><td><a href="#instance-detail"><strong>Pump-02</strong></a><br><span class="muted">Packaging · Utilities</span></td><td><span class="status warn">Stale</span></td><td class="mono">a72f83</td></tr><tr><td><strong>Pump-01</strong><br><span class="muted">Packaging · Utilities</span></td><td><span class="status ok">Current</span></td><td class="mono">c391e4</td></tr><tr><td><strong>Mixer-01</strong><br><span class="muted">Blending · Line 1</span></td><td><span class="status ok">Current</span></td><td class="mono">62e1b9</td></tr><tr><td><strong>Mixer-02</strong><br><span class="muted">Blending · Line 1</span></td><td><span class="status idle">Never deployed</span></td><td class="muted">No revision</td></tr></tbody></table></div><div class="panel-foot"><span id="result-count" role="status" class="muted">4 loaded instances shown</span><p id="empty" hidden>No loaded instances match. Clear the search or turn off “Stale only”.</p></div></section><section class="panel" id="instance-detail" aria-labelledby="detail-title"><div class="panel-head"><h2 id="detail-title">Pump-02</h2><span class="status warn">Stale</span></div><div class="detail"><dl><dt>Site</dt><dd>Packaging</dd><dt>Area</dt><dd>Utilities</dd><dt>Template</dt><dd>Pump</dd><dt>Deployed</dt><dd class="mono">a72f83</dd><dt>Current</dt><dd class="mono">c391e4</dd></dl><hr><h3>Before deployment</h3><p class="muted">Review the differences and confirm the target site. Artifact freshness and instance configuration freshness remain separate states.</p><details open><summary>Proposed revision comparison</summary><div class="table-wrap"><table><thead><tr><th scope="col">Field</th><th scope="col">Deployed</th><th scope="col">Current</th></tr></thead><tbody><tr><td>Poll interval</td><td class="mono">1000 ms</td><td class="mono">500 ms</td></tr></tbody></table></div><p class="small muted">Illustrative difference; no configuration is loaded.</p></details><a class="button" href="ScadaBridge-Audit.html">Review audit presentation</a></div></section></div><details><summary>Proposed unavailable-state treatment</summary><div class="notice"><strong>Freshness check unavailable.</strong><p>Keep the last known state visible with its timestamp. Display “Unknown” for records with no successful check; never infer “Current” from a failed response.</p></div></details><footer class="mockup-note"><strong>Proposed UI · illustrative data.</strong><p>Local filters and disclosures work. These concepts are disconnected from SCADA services and do not deploy, approve or write process data.</p><a href="../index.html">Suite index</a><a href="../ScadaBridge.md">Recommendations</a></footer></main></div><script>const search=document.querySelector('#topology-search'),stale=document.querySelector('#stale');function filter(){let count=0;for(const row of document.querySelectorAll('#instances tr')){row.hidden=!row.textContent.toLowerCase().includes(search.value.toLowerCase())||(stale.checked&&row.dataset.stale!=='true');if(!row.hidden)count++}document.querySelector('#result-count').textContent=count+' loaded instance'+(count===1?'':'s')+' shown';document.querySelector('#empty').hidden=count!==0}search.addEventListener('input',filter);stale.addEventListener('change',filter);</script></body></html> |