Standardize remaining runtime page and table grammar

This commit is contained in:
Joseph Doherty
2026-11-13 21:43:15 -05:00
parent cb3400c13c
commit 75ff38103f
47 changed files with 1668 additions and 68 deletions
@@ -16,8 +16,10 @@
@implements IAsyncDisposable
<PageErrorBoundary>
<div class="d-flex justify-content-between align-items-center mb-3">
<h4 class="mb-0">Alerts</h4>
<PageTitle>Alerts · OtOpcUa</PageTitle>
<div class="page-head">
<h1>Alerts</h1>
<span class="spacer"></span>
<div class="d-flex align-items-center gap-2">
<span class="conn-pill" data-state="@(_connected ? "connected" : "disconnected")">
<span class="dot"></span><span>@(_connected ? "live" : "disconnected")</span>
@@ -40,21 +42,21 @@
else
{
<section class="panel rise mt-3" style="animation-delay:.08s">
<div class="panel-head">Recent transitions (@_tail.Items.Count)</div>
<div class="table-wrap">
<h2 class="panel-head">Recent transitions (@_tail.Items.Count)</h2>
<div class="table-wrap" role="region" aria-label="Recent alert transitions" tabindex="0">
<table class="data-table">
<thead>
<tr>
<th>Time</th>
<th>Alarm</th>
<th>Equipment</th>
<th>Kind</th>
<th class="num">Severity</th>
<th>User</th>
<th>Message</th>
<th scope="col">Time</th>
<th scope="col">Alarm</th>
<th scope="col">Equipment</th>
<th scope="col">Kind</th>
<th scope="col" class="num">Severity</th>
<th scope="col">User</th>
<th scope="col">Message</th>
@if (_canOperate)
{
<th>Actions</th>
<th scope="col">Actions</th>
}
</tr>
</thead>