35 lines
5.6 KiB
HTML
35 lines
5.6 KiB
HTML
<!doctype html>
|
|
<html lang="en">
|
|
<head><meta charset="utf-8"><meta name="viewport" content="width=device-width,initial-scale=1"><title>OtOpcUa · Fleet status proposal</title><link rel="stylesheet" href="shared.css"></head>
|
|
<body>
|
|
<a class="skip" href="#main">Skip to content</a>
|
|
<details class="mobile-nav"><summary>OtOpcUa navigation</summary></details><div class="shell">
|
|
<aside class="rail" aria-label="Product navigation">
|
|
<a class="brand" href="../index.html">OtOpcUa</a>
|
|
<nav aria-label="Main"><details open><summary>Operations</summary><a class="nav-link" href="#orientation">Overview</a><a class="nav-link current" aria-current="page" href="OtOpcUa.html">Fleet status</a><a class="nav-link" href="#node-detail">Host diagnostics</a><a class="nav-link" href="#live-pattern">Alerts and logs</a></details>
|
|
<details open><summary>Configuration</summary><a class="nav-link" href="OtOpcUa-Raw.html">Raw</a><a class="nav-link" href="OtOpcUa-Raw.html#uns-note">UNS</a><a class="nav-link" href="#deployment-note">Deployments</a></details>
|
|
<details><summary>Administration</summary><p class="muted">Proposed policy-gated group: certificates, API keys, role grants and secrets.</p></details></nav>
|
|
<div class="rail-footer"><p>Review prototype</p><a href="../index.html">All project mockups</a><br><a href="../OtOpcUa.md">Recommendations</a></div>
|
|
</aside>
|
|
<main class="main" id="main">
|
|
<div class="page-head"><div><h1>Fleet status</h1><p class="muted">Deployment application across driver-role nodes.</p></div><div class="actions"><a class="button" href="OtOpcUa-Raw.html">Open configuration</a></div></div>
|
|
<p class="muted" id="orientation">Proposed UI · illustrative data. This page does not connect to a fleet.</p>
|
|
<div class="notice" id="deployment-note"><strong>One node needs attention.</strong> A deployment can be applied with a degraded address space. Inspect the full failure reason before considering it healthy.</div>
|
|
<section class="panel" aria-labelledby="nodes-title">
|
|
<div class="panel-head"><h2 id="nodes-title">Driver nodes</h2><span class="muted">3 nodes · 2 applied · 1 degraded</span></div>
|
|
<div class="toolbar"><div class="field"><label for="node-search">Find a node</label><input id="node-search" type="search" placeholder="Node name" autocomplete="off"></div><div class="field"><label for="node-state">Application status</label><select id="node-state"><option value="all">All statuses</option><option value="degraded">Needs attention</option><option value="applied">Applied</option></select></div><p class="muted">Sample read: <time datetime="2026-11-12T21:42:10Z">21:42:10 UTC</time><br>Production pattern: refresh every 10 seconds</p></div>
|
|
<div class="table-wrap" role="region" aria-label="Driver node deployment status" tabindex="0"><table class="data-table"><caption class="muted">Per-node application status. Open details to read the full failure reason.</caption><thead><tr><th scope="col">Node</th><th scope="col">Role</th><th scope="col">Application status</th><th scope="col">Applied at (UTC)</th><th scope="col">Details</th></tr></thead><tbody>
|
|
<tr data-node="driver-east-01" data-state="degraded"><th scope="row" class="mono">driver-east-01</th><td>Driver</td><td><span class="status warn">Applied · degraded</span></td><td class="mono">21:41:58</td><td><a href="#node-detail">Read failure reason</a></td></tr>
|
|
<tr data-node="driver-east-02" data-state="applied"><th scope="row" class="mono">driver-east-02</th><td>Driver</td><td><span class="status ok">Applied</span></td><td class="mono">21:41:57</td><td>—</td></tr>
|
|
<tr data-node="driver-west-01" data-state="applied"><th scope="row" class="mono">driver-west-01</th><td>Driver</td><td><span class="status ok">Applied</span></td><td class="mono">21:41:56</td><td>—</td></tr>
|
|
</tbody></table></div><p id="filter-count" class="panel-foot muted" role="status" aria-live="polite">Showing 3 of 3 sample nodes</p>
|
|
</section>
|
|
<section class="panel" id="node-detail" aria-labelledby="detail-title"><div class="panel-head"><h2 id="detail-title">Failure reason</h2><span class="mono">driver-east-01</span></div><div class="detail"><p><span class="status warn">Applied · degraded</span> The node runs the revision, with a partial address-space apply.</p><details open><summary>Read full illustrative failure</summary><p>The configured driver could not initialize one device. Inspect node diagnostics to identify the affected driver and verify the device connection before the next deployment.</p><dl><dt>Node</dt><dd class="mono">driver-east-01</dd><dt>Applied at</dt><dd class="mono">2026-11-12 21:41:58 UTC</dd><dt>Recommended next step</dt><dd>Open the node's diagnostics in the production interface. This prototype contains no diagnostic endpoint.</dd></dl></details></div></section>
|
|
<details id="live-pattern"><summary>Proposed refresh and live-data behavior</summary><p>Keep the last successful reading visible when refresh fails. Show its time and a stale label. In live log pages, let operators pause row updates while reading; report connection changes without announcing every incoming row.</p></details>
|
|
</main></div>
|
|
<script>
|
|
const search=document.getElementById('node-search'),state=document.getElementById('node-state'),rows=[...document.querySelectorAll('tr[data-node]')];
|
|
function filter(){let count=0;for(const row of rows){const show=row.dataset.node.includes(search.value.trim().toLowerCase())&&(state.value==='all'||row.dataset.state===state.value);row.hidden=!show;if(show)count++;}document.getElementById('filter-count').textContent=count?'Showing '+count+' of 3 sample nodes':'No sample nodes match. Clear the search or choose All statuses.';}
|
|
search.addEventListener('input',filter);state.addEventListener('change',filter);
|
|
</script></body></html>
|