refactor(ui): unify semantic presentation and table hierarchy

This commit is contained in:
Joseph Doherty
2026-11-13 19:06:18 -05:00
parent 2d30323ae8
commit 0c41b613ac
97 changed files with 13829 additions and 167 deletions
@@ -13,11 +13,11 @@
@inject IJSRuntime JS
<div class="container-fluid mt-3">
<div class="d-flex align-items-center mb-3">
<div class="page-head">
<a href="/admin/api-keys" class="btn btn-outline-secondary btn-sm me-2"
aria-label="Back to API Keys">&larr; Back</a>
<span class="text-muted me-2">·</span>
<h4 class="mb-0">
<h1 class="mb-0">
@if (_saved)
{
@:API Key Created
@@ -30,7 +30,7 @@
{
@:Add API Key
}
</h4>
</h1>
@* Drill-in: deep-link into the central Audit Log
pre-filtered to this API key's inbound calls. Inbound audit rows record
the key Name as Actor and live on the ApiInbound channel. *@
@@ -9,8 +9,8 @@
@inject IDialogService Dialog
<div class="container-fluid mt-3">
<div class="d-flex justify-content-between align-items-center mb-3">
<h4 class="mb-0">API Key Management</h4>
<div class="page-head justify-content-between">
<h1 class="mb-0">API Key Management</h1>
<button class="btn btn-primary btn-sm" @onclick='() => NavigationManager.NavigateTo("/admin/api-keys/create")'>Add API Key</button>
</div>
@@ -42,8 +42,9 @@
}
else
{
<table class="table table-sm table-striped table-hover">
<thead class="table-dark">
<div class="table-responsive" role="region" aria-label="API keys" tabindex="0">
<table class="table table-sm table-striped table-hover">
<thead>
<tr>
<th>Key ID</th>
<th>Name</th>
@@ -99,6 +100,7 @@
}
</tbody>
</table>
</div>
}
}
</div>
@@ -14,6 +14,7 @@
@inject IDialogService Dialog
<div class="container-fluid mt-3">
<div class="page-head"><h1>@(Id.HasValue ? "Edit LDAP Mapping" : "Add LDAP Mapping")</h1></div>
<div class="mb-3">
<button class="btn btn-outline-secondary btn-sm"
aria-label="Back to LDAP mappings"
@@ -24,7 +25,7 @@
<div class="card mb-3">
<div class="card-body">
<h5 class="card-title">Mapping</h5>
<h2 class="h6 card-title">Mapping</h2>
<div class="mb-2">
<label class="form-label small" for="@($"{_fieldScope}-field-1")">LDAP Group Name</label>
<input id="@($"{_fieldScope}-field-1")" type="text" class="form-control form-control-sm" @bind="_formGroupName" />
@@ -10,8 +10,8 @@
@inject NavigationManager NavigationManager
<div class="container-fluid mt-3">
<div class="d-flex justify-content-between align-items-center mb-3">
<h4 class="mb-0">LDAP Group Mappings</h4>
<div class="page-head justify-content-between">
<h1 class="mb-0">LDAP Group Mappings</h1>
<button class="btn btn-primary btn-sm" @onclick='() => NavigationManager.NavigateTo("/admin/ldap-mappings/create")'>Add Mapping</button>
</div>
@@ -41,8 +41,9 @@
}
else
{
<table class="table table-sm table-striped table-hover">
<thead class="table-dark">
<div class="table-responsive" role="region" aria-label="LDAP group mappings" tabindex="0">
<table class="table table-sm table-striped table-hover">
<thead>
<tr>
<th>ID</th>
<th>LDAP Group Name</th>
@@ -95,6 +96,7 @@
}
</tbody>
</table>
</div>
}
}
</div>
@@ -13,6 +13,7 @@
@inject NavigationManager NavigationManager
<div class="container-fluid mt-3">
<div class="page-head"><h1>@(IsEditMode ? "Edit Site" : "Add Site")</h1></div>
<div class="mb-3">
<button class="btn btn-outline-secondary btn-sm" @onclick="GoBack">
&larr; Back
@@ -23,7 +24,7 @@
<div class="card mb-3">
<div class="card-header d-flex justify-content-between align-items-center">
<span class="fw-semibold">@(IsEditMode ? "Edit Site" : "Add Site")</span>
<h2 class="h6 mb-0">Site details</h2>
@* Drill-in: deep-link into the central Audit
Log pre-filtered to this site's events. AuditEvent.SourceSiteId
stores the SiteIdentifier (string), so we pass that through. *@
@@ -22,8 +22,8 @@
<div class="container-fluid mt-3">
<div class="d-flex justify-content-between align-items-center mb-3">
<div class="d-flex align-items-baseline">
<h4 class="mb-0">Site Management</h4>
<div class="page-head align-items-baseline">
<h1 class="mb-0">Site Management</h1>
@if (_updates is not null)
{
<span class="small text-muted ms-2">Updates as of @_updates.ComputedAt.ToString("HH:mm:ss") UTC</span>
@@ -10,7 +10,7 @@
<PageTitle>Audit Log</PageTitle>
<div class="container-fluid mt-3">
<h1 class="h4 mb-3">Audit Log</h1>
<div class="page-head"><h1 class="mb-0">Audit Log</h1></div>
@* Trends panel. A best-effort collapsible Bootstrap card sitting
above the audit query UI: one KpiTrendChart per AuditLog global metric over
@@ -10,7 +10,7 @@
@inject IJSRuntime JS
<div class="container-fluid mt-3">
<h4 class="mb-3">Configuration Audit Log</h4>
<div class="page-head"><h1 class="mb-0">Configuration Audit Log</h1></div>
<ToastNotification @ref="_toast" />
@@ -84,8 +84,9 @@
@if (_entries != null)
{
<table class="table table-sm table-striped table-hover">
<thead class="table-dark">
<div class="table-responsive" role="region" aria-label="Configuration audit log" tabindex="0">
<table class="table table-sm table-striped table-hover">
<thead>
<tr>
<th>Timestamp</th>
<th>User</th>
@@ -176,6 +177,7 @@
}
</tbody>
</table>
</div>
<OffsetPager Page="_page" PageChanged="OnPageChanged" HasNextPage="HasMore" TotalCount="_totalCount" PageSize="_pageSize" />
}
@@ -18,7 +18,7 @@
just the Audit Log + Configuration Audit Log pages). *@
<div class="container-fluid mt-3">
<h1 class="h4 mb-3">Execution Chain</h1>
<div class="page-head"><h1 class="mb-0">Execution Chain</h1></div>
@if (_executionId is null)
{
@@ -7,8 +7,8 @@
@inject IInboundApiKeyAdmin ApiKeyAdmin
<div class="container-fluid mt-3">
<div class="d-flex justify-content-between align-items-center mb-3">
<h4 class="mb-0">Welcome to ScadaBridge</h4>
<div class="page-head justify-content-between">
<h1 class="mb-0">Welcome to ScadaBridge</h1>
<AuthorizeView>
<Authorized>
<span class="text-muted small">
@@ -17,7 +17,7 @@
@implements IDisposable
<div class="container-fluid mt-3">
<h4 class="mb-3">Debug View</h4>
<div class="page-head"><h1 class="mb-0">Debug View</h1></div>
<ToastNotification @ref="_toast" />
@@ -10,8 +10,8 @@
@implements IDisposable
<div class="container-fluid mt-3">
<div class="d-flex justify-content-between align-items-center mb-3">
<h4 class="mb-0">Deployment Status</h4>
<div class="page-head justify-content-between">
<h1 class="mb-0">Deployment Status</h1>
<div class="btn-group btn-group-sm" role="group" aria-label="Deployment list actions">
<button class="btn btn-outline-secondary" @onclick="ToggleAutoRefresh"
aria-label="@(_autoRefresh ? "Pause auto-refresh" : "Resume auto-refresh")">
@@ -118,8 +118,9 @@
}
else
{
<table class="table table-sm table-striped table-hover align-middle">
<thead class="table-dark">
<div class="table-responsive" role="region" aria-label="Deployment status" tabindex="0">
<table class="table table-sm table-striped table-hover align-middle">
<thead>
<tr>
<th>Deployment</th>
<th>Instance</th>
@@ -205,6 +206,7 @@
}
</tbody>
</table>
</div>
}
@if (_totalPages > 1)
@@ -11,7 +11,7 @@
<PageTitle>Flow Debugger</PageTitle>
<div class="container-fluid mt-3">
<h4 class="mb-3">Flow Debugger</h4>
<div class="page-head"><h1 class="mb-0">Flow Debugger</h1></div>
<ToastNotification @ref="_toast" />
@* ── Toolbar ─────────────────────────────────────────────────────────── *@
@@ -31,11 +31,11 @@
font-weight: 600;
}
.fd-chip.idle { color: var(--ink-soft); }
.fd-chip.predicted { color: var(--accent); border-color: var(--accent); border-style: dashed; }
.fd-chip.running { color: var(--accent); border-color: var(--accent); }
.fd-chip.completed { color: var(--ok); border-color: var(--ok); }
.fd-chip.failed { color: var(--bs-danger, #c0392b); border-color: var(--bs-danger, #c0392b); }
.fd-chip.timed-out { color: var(--warn); border-color: var(--warn); }
.fd-chip.predicted { color: var(--accent-deep); border-color: var(--accent); border-style: dashed; }
.fd-chip.running { color: var(--accent-deep); border-color: var(--accent); }
.fd-chip.completed { color: var(--ok-ink); border-color: var(--ok); }
.fd-chip.failed { color: var(--bad-ink, #c0392b); border-color: var(--bs-danger, #c0392b); }
.fd-chip.timed-out { color: var(--warn-ink); border-color: var(--warn); }
.fd-flow-tools {
display: flex;
@@ -84,7 +84,7 @@
::deep .fsd-exc-type {
font-family: var(--mono, var(--bs-font-monospace));
font-weight: 600;
color: var(--bad, var(--bs-danger, #e03131));
color: var(--bad-ink, var(--bs-danger, #e03131));
}
::deep .fsd-exc-detail {
@@ -120,6 +120,6 @@
border-radius: 3px;
}
::deep .fsd-lvl-info { color: var(--ink-soft, var(--bs-secondary-color)); background: var(--rule, rgba(0, 0, 0, 0.06)); }
::deep .fsd-lvl-warn { color: var(--warn, var(--bs-warning, #e8920c)); background: var(--warn-bg, rgba(var(--bs-warning-rgb, 255, 193, 7), 0.15)); }
::deep .fsd-lvl-error { color: var(--bad, var(--bs-danger, #e03131)); background: var(--bad-bg, rgba(var(--bs-danger-rgb, 220, 53, 69), 0.12)); }
::deep .fsd-lvl-warn { color: var(--warn-ink, var(--bs-warning, #e8920c)); background: var(--warn-bg, rgba(var(--bs-warning-rgb, 255, 193, 7), 0.15)); }
::deep .fsd-lvl-error { color: var(--bad-ink, var(--bs-danger, #e03131)); background: var(--bad-bg, rgba(var(--bs-danger-rgb, 220, 53, 69), 0.12)); }
::deep .fsd-lvl-debug { color: var(--ink-faint, var(--bs-tertiary-color)); background: transparent; border: 1px dashed var(--rule-strong, var(--bs-border-color)); }
@@ -26,9 +26,9 @@
@inject NavigationManager NavigationManager
<div class="container-fluid mt-3">
<div class="d-flex align-items-center mb-3">
<div class="page-head">
<button class="btn btn-outline-secondary btn-sm me-3" @onclick="GoBack">&larr; Back to Topology</button>
<h4 class="mb-0">Configure Instance</h4>
<h1 class="mb-0">Configure Instance</h1>
@* Drill-in: deep-link into the central Audit Log
pre-filtered to this instance. Instance is UI-only on the filter bar
(AuditEvent has no Instance column), so we use the ?instance= UI-text
@@ -209,9 +209,9 @@
</div>
@if (open)
{
<div class="table-responsive">
<div class="table-responsive" role="region" aria-label="@($"Binding group {g.Key}")" tabindex="0">
<table class="table table-sm table-bordered mb-0 align-middle">
<thead class="table-light">
<thead>
<tr>
<th>Member</th>
<th>Template default</th>
@@ -347,8 +347,9 @@
}
else
{
<table class="table table-sm table-bordered mb-0 align-middle">
<thead class="table-light">
<div class="table-responsive" role="region" aria-label="Attribute overrides" tabindex="0">
<table class="table table-sm table-bordered mb-0 align-middle">
<thead>
<tr>
<th>Attribute</th>
<th>Type</th>
@@ -416,6 +417,7 @@
}
</tbody>
</table>
</div>
<div class="p-2">
<button class="btn btn-success btn-sm" @onclick="SaveOverrides" disabled="@_saving">Save Overrides</button>
</div>
@@ -435,8 +437,9 @@
}
else
{
<table class="table table-sm table-bordered mb-0">
<thead class="table-light">
<div class="table-responsive" role="region" aria-label="Alarm overrides" tabindex="0">
<table class="table table-sm table-bordered mb-0">
<thead>
<tr>
<th>Alarm</th>
<th style="width: 110px;">Trigger</th>
@@ -501,6 +504,7 @@
}
</tbody>
</table>
</div>
}
</div>
</div>
@@ -645,8 +649,9 @@
}
else
{
<table class="table table-sm table-bordered mb-0 align-middle">
<thead class="table-light">
<div class="table-responsive" role="region" aria-label="Native alarm source overrides" tabindex="0">
<table class="table table-sm table-bordered mb-0 align-middle">
<thead>
<tr>
<th>Source</th>
<th>Inherited</th>
@@ -722,6 +727,7 @@
}
</tbody>
</table>
</div>
}
</div>
</div>
@@ -24,9 +24,9 @@
@inject IDialogService Dialog
<div class="container-fluid mt-3">
<div class="d-flex align-items-center mb-3">
<div class="page-head">
<a href="/deployment/topology" class="btn btn-outline-secondary btn-sm me-3">&larr; Back</a>
<h4 class="mb-0">Create Instance</h4>
<h1 class="mb-0">Create Instance</h1>
</div>
@if (_loading)
@@ -58,6 +58,8 @@
ErrorMessage="@_moveInstanceError"
OnSubmit="SubmitMoveInstance" />
<div class="page-head"><h1>Topology</h1></div>
@if (_loading)
{
<LoadingSpinner IsLoading="true" />
@@ -68,22 +70,22 @@
}
else
{
<div class="d-flex justify-content-between align-items-center mb-3">
<h4 class="mb-0">Topology</h4>
</div>
<div class="d-flex align-items-center mb-2 gap-2 flex-wrap">
<input aria-label="Search loaded sites, areas and instances" type="text" class="form-control form-control-sm" style="max-width: 320px;"
placeholder="Search loaded sites, areas, instances..."
@bind="_searchText" @bind:event="oninput" @bind:after="OnSearchChanged" />
<div class="btn-group btn-group-sm" role="group" aria-label="Topology actions">
<button class="btn btn-outline-secondary" @onclick="OpenCreateAreaDialogRoot">+ Area</button>
<button class="btn btn-outline-secondary"
<button class="btn btn-primary"
@onclick='() => NavigationManager.NavigateTo("/deployment/instances/create")'>+ Instance</button>
<button class="btn btn-outline-secondary" aria-label="Refresh topology" @onclick="LoadDataAsync" disabled="@_actionInProgress">Refresh</button>
<button class="btn btn-outline-secondary" aria-label="Expand all areas" @onclick="() => _tree?.ExpandAll()">Expand</button>
<button class="btn btn-outline-secondary" aria-label="Collapse all areas" @onclick="() => _tree?.CollapseAll()">Collapse</button>
</div>
<button class="btn btn-outline-secondary btn-sm" aria-label="Re-check staleness"
<details class="topology-actions-disclosure">
<summary class="btn btn-outline-secondary btn-sm">More actions <i class="bi bi-chevron-down" aria-hidden="true"></i></summary>
<div class="d-flex gap-2 flex-wrap mt-2" role="group" aria-label="More topology actions">
<button class="btn btn-outline-secondary" @onclick="OpenCreateAreaDialogRoot">+ Area</button>
<button class="btn btn-outline-secondary" aria-label="Expand all areas" @onclick="() => _tree?.ExpandAll()">Expand</button>
<button class="btn btn-outline-secondary" aria-label="Collapse all areas" @onclick="() => _tree?.CollapseAll()">Collapse</button>
<button class="btn btn-outline-secondary btn-sm" aria-label="Re-check staleness"
title="Recompute the Stale/Current badge for loaded deployed instances"
@onclick="RecheckStalenessAsync" disabled="@_recheckingStaleness">
@if (_recheckingStaleness)
@@ -96,6 +98,8 @@
<span><i class="bi bi-arrow-repeat me-1"></i>Re-check staleness</span>
}
</button>
</div>
</details>
<div class="form-check form-switch ms-2 mb-0">
<input type="checkbox" class="form-check-input" id="live-updates"
checked="@_liveUpdates" @onchange="OnLiveUpdatesToggled" />
@@ -23,7 +23,7 @@
<div class="container-fluid mt-3">
<button class="btn btn-outline-secondary btn-sm mb-2" @onclick="GoBack">&larr; Back</button>
<h4 class="mb-3">@(Id.HasValue ? "Edit API Method" : "Add API Method")</h4>
<div class="page-head"><h1 class="mb-0">@(Id.HasValue ? "Edit API Method" : "Add API Method")</h1></div>
@if (_loading)
{
@@ -10,9 +10,9 @@
@inject NavigationManager NavigationManager
<div class="container-fluid mt-3" data-test="connection-certificates">
<div class="d-flex align-items-center mb-3">
<div class="page-head">
<button class="btn btn-outline-secondary btn-sm me-3" @onclick="GoBack">&larr; Back</button>
<h4 class="mb-0">Server Certificates@(string.IsNullOrEmpty(_connectionName) ? "" : $" — {_connectionName}")</h4>
<h1 class="mb-0">Server Certificates@(string.IsNullOrEmpty(_connectionName) ? "" : $" — {_connectionName}")</h1>
</div>
<div class="alert alert-info py-2 small">
@@ -44,7 +44,8 @@
}
else
{
<table class="table table-sm table-hover align-middle">
<div class="table-responsive" role="region" aria-label="Connection Certificates records" tabindex="0">
<table class="table table-sm table-hover align-middle">
<thead>
<tr>
<th>Subject</th>
@@ -91,6 +92,7 @@
}
</tbody>
</table>
</div>
}
}
</div>
@@ -18,9 +18,9 @@
@inject NavigationManager NavigationManager
<div class="container-fluid mt-3">
<div class="d-flex align-items-center mb-3">
<div class="page-head">
<button class="btn btn-outline-secondary btn-sm me-3" @onclick="GoBack">&larr; Back</button>
<h4 class="mb-0">@(Id.HasValue ? "Edit Data Connection" : "Add Data Connection")</h4>
<h1 class="mb-0">@(Id.HasValue ? "Edit Data Connection" : "Add Data Connection")</h1>
</div>
@if (_loading)
@@ -16,8 +16,8 @@
@inject IDialogService Dialog
<div class="container-fluid mt-3">
<div class="d-flex justify-content-between align-items-center mb-3">
<h4 class="mb-0">Connections</h4>
<div class="page-head justify-content-between">
<h1 class="mb-0">Connections</h1>
<div class="d-flex gap-2">
<div class="dropdown">
<button class="btn btn-outline-secondary btn-sm dropdown-toggle"
@@ -13,7 +13,7 @@
<div class="container-fluid mt-3">
<button class="btn btn-outline-secondary btn-sm mb-2" @onclick="GoBack">&larr; Back</button>
<h4 class="mb-3">@(Id.HasValue ? "Edit Database Connection" : "Add Database Connection")</h4>
<div class="page-head"><h1 class="mb-0">@(Id.HasValue ? "Edit Database Connection" : "Add Database Connection")</h1></div>
@if (_loading)
{
@@ -13,8 +13,8 @@
<div class="container-fluid mt-3">
<button class="btn btn-outline-secondary btn-sm mb-2" @onclick="GoBack">&larr; Back</button>
<div class="d-flex justify-content-between align-items-center mb-3">
<h4 class="mb-0">@(Id.HasValue ? "Edit External System" : "Add External System")</h4>
<div class="page-head justify-content-between">
<h1 class="mb-0">@(Id.HasValue ? "Edit External System" : "Add External System")</h1>
@* Drill-in: deep-link into the central Audit Log
pre-filtered to this external system's outbound API events. Audit rows
record the target by external-system name, so we filter on Target. *@
@@ -13,8 +13,8 @@
@inject IDialogService Dialog
<div class="container-fluid mt-3">
<div class="d-flex justify-content-between align-items-center mb-3">
<h4 class="mb-0">Integration Definitions</h4>
<div class="page-head justify-content-between">
<h1 class="mb-0">Integration Definitions</h1>
</div>
<ToastNotification @ref="_toast" />
@@ -12,8 +12,8 @@
— the guard-running ManagementActor path — never a direct repo write. *@
<div class="container-fluid mt-3">
<div class="d-flex justify-content-between align-items-center mb-3">
<h4 class="mb-0">Schema Library</h4>
<div class="page-head justify-content-between">
<h1 class="mb-0">Schema Library</h1>
@if (!_editing)
{
<button class="btn btn-primary btn-sm" @onclick="BeginCreate">New Schema</button>
@@ -76,7 +76,8 @@
}
else
{
<table class="table table-sm align-middle">
<div class="table-responsive" role="region" aria-label="Schema library" tabindex="0">
<table class="table table-sm align-middle">
<thead>
<tr>
<th>Name</th>
@@ -112,6 +113,7 @@
}
</tbody>
</table>
</div>
}
</div>
@@ -14,9 +14,9 @@
@implements IDisposable
<div class="container-fluid mt-3">
<div class="d-flex align-items-center mb-3">
<div class="page-head">
<button class="btn btn-outline-secondary btn-sm me-3" @onclick="GoBack">&larr; Back</button>
<h4 class="mb-0">@(Id.HasValue ? $"Edit Shared Script: {_formName}" : "New Shared Script")</h4>
<h1 class="mb-0">@(Id.HasValue ? $"Edit Shared Script: {_formName}" : "New Shared Script")</h1>
</div>
@if (_loading)
@@ -11,8 +11,8 @@
@inject IDialogService Dialog
<div class="container-fluid mt-3">
<div class="d-flex justify-content-between align-items-center mb-3">
<h4 class="mb-0">Shared Scripts</h4>
<div class="page-head justify-content-between">
<h1 class="mb-0">Shared Scripts</h1>
<button class="btn btn-primary btn-sm" @onclick='() => NavigationManager.NavigateTo("/design/shared-scripts/create")'>New Script</button>
</div>
@@ -17,7 +17,7 @@
@onclick="GoBack">← Back</button>
</div>
<h4 class="mb-3">Create Template</h4>
<div class="page-head"><h1 class="mb-0">Create Template</h1></div>
@if (_loading)
{
@@ -32,6 +32,11 @@
@onclick="GoBack">← Templates</button>
</div>
@if (_loading || _loadError != null || _selectedTemplate == null)
{
<div class="page-head"><h1>Template</h1></div>
}
@if (_loading)
{
<LoadingSpinner IsLoading="true" />
@@ -268,9 +273,9 @@
@* Identity block: the template name leads, with the qualified path /
inheritance relation stacked beneath it rather than run together on
one heading line. *@
<div class="d-flex justify-content-between align-items-start mb-3">
<div class="page-head justify-content-between">
<div>
<h4 class="mb-0">@_selectedTemplate.Name</h4>
<h1 class="mb-0">@_selectedTemplate.Name</h1>
@if (_selectedTemplate.ParentTemplateId.HasValue && !_selectedTemplate.IsDerived)
{
<div class="text-muted small">inherits @(_templates.FirstOrDefault(t => t.Id == _selectedTemplate.ParentTemplateId)?.Name)</div>
@@ -484,8 +489,9 @@
<span class="fw-semibold">@title</span>
<span class="badge bg-secondary ms-1">@members.Count</span>
</div>
<table class="table table-sm table-striped mb-0">
<thead class="table-light">
<div class="table-responsive" role="region" aria-label="@title" tabindex="0">
<table class="table table-sm table-striped mb-0">
<thead>
<tr>
<th>Name</th>
<th>Effective value</th>
@@ -546,6 +552,7 @@
}
</tbody>
</table>
</div>
</div>
}
};
@@ -672,8 +679,9 @@
</div>
var derived = _selectedTemplate!.IsDerived;
<table class="table table-sm table-striped">
<thead class="table-light">
<div class="table-responsive" role="region" aria-label="Template attributes" tabindex="0">
<table class="table table-sm table-striped">
<thead>
<tr>
<th>Name</th>
<th>Type</th>
@@ -792,6 +800,7 @@
}
</tbody>
</table>
</div>
};
private async Task ToggleAttrLockedInDerived(TemplateAttribute attr, ChangeEventArgs e)
@@ -900,8 +909,9 @@
<button class="btn btn-primary btn-sm" @onclick="OpenAddAlarmDialog">Add Alarm</button>
</div>
<table class="table table-sm table-striped">
<thead class="table-light">
<div class="table-responsive" role="region" aria-label="Template alarms" tabindex="0">
<table class="table table-sm table-striped">
<thead>
<tr>
<th>Name</th>
<th>Trigger</th>
@@ -965,6 +975,7 @@
}
</tbody>
</table>
</div>
};
// ---- Native Alarms Tab ----
@@ -981,8 +992,9 @@
}
else
{
<table class="table table-sm table-striped">
<thead class="table-light">
<div class="table-responsive" role="region" aria-label="Native alarm sources" tabindex="0">
<table class="table table-sm table-striped">
<thead>
<tr>
<th>Name</th>
<th>Connection</th>
@@ -1034,6 +1046,7 @@
}
</tbody>
</table>
</div>
}
};
@@ -1149,8 +1162,9 @@
</div>
var derivedScripts = _selectedTemplate!.IsDerived;
<table class="table table-sm table-striped">
<thead class="table-light">
<div class="table-responsive" role="region" aria-label="Template scripts" tabindex="0">
<table class="table table-sm table-striped">
<thead>
<tr>
<th>Name</th>
<th>Trigger</th>
@@ -1251,6 +1265,7 @@
}
</tbody>
</table>
</div>
};
private async Task ToggleScriptLockedInDerived(TemplateScript script, ChangeEventArgs e)
@@ -27,8 +27,8 @@
}
else
{
<div class="d-flex justify-content-between align-items-center mb-3">
<h4 class="mb-0">Templates</h4>
<div class="page-head justify-content-between">
<h1 class="mb-0">Templates</h1>
<div class="d-flex gap-2">
<div class="dropdown">
<button class="btn btn-outline-secondary btn-sm dropdown-toggle"
@@ -32,7 +32,7 @@
}
else
{
<h4 class="mb-3">Export Bundle</h4>
<div class="page-head"><h1 class="mb-0">Export Bundle</h1></div>
@* Step indicator — Bootstrap progress with discrete numbered pills. *@
<nav aria-label="Export wizard steps" class="mb-4">
@@ -23,7 +23,7 @@
*@
<div class="container-fluid mt-3">
<h4 class="mb-3">Import Bundle</h4>
<div class="page-head"><h1 class="mb-0">Import Bundle</h1></div>
@* Step indicator — five numbered pills, mirrors TransportExport. *@
<nav aria-label="Import wizard steps" class="mb-4">
@@ -231,7 +231,7 @@
</div>
</div>
<div class="table-responsive" style="max-height: 480px; overflow-y: auto;">
<div class="table-responsive" style="max-height: 480px; overflow-y: auto;" role="region" aria-label="Bundle contents" tabindex="0">
<table class="table table-sm table-striped align-middle">
<thead>
<tr>
@@ -346,7 +346,8 @@
@if (hasSiteMappings)
{
<h6 class="small text-uppercase text-body-secondary">Sites</h6>
<table class="table table-sm align-middle mb-4" data-testid="map-sites-table">
<div class="table-responsive" role="region" aria-label="Import site mappings" tabindex="0">
<table class="table table-sm align-middle mb-4" data-testid="map-sites-table">
<thead>
<tr>
<th>Source identifier</th>
@@ -380,6 +381,7 @@
}
</tbody>
</table>
</div>
}
@if (hasConnMappings)
@@ -397,7 +399,8 @@
<span class="badge bg-success ms-1">new site</span>
}
</div>
<table class="table table-sm align-middle mb-0" data-testid="map-conns-table">
<div class="table-responsive" role="region" aria-label="@($"Import connection mappings for {grp.Key}")" tabindex="0">
<table class="table table-sm align-middle mb-0" data-testid="map-conns-table">
<thead>
<tr>
<th>Source connection</th>
@@ -428,6 +431,7 @@
}
</tbody>
</table>
</div>
</div>
}
}
@@ -14,8 +14,8 @@
@inject ZB.MOM.WW.ScadaBridge.CentralUI.Auth.SiteScopeService SiteScope
<div class="container-fluid mt-3" data-test="alarm-summary">
<div class="d-flex justify-content-between align-items-center mb-3">
<h4 class="mb-0">Alarm Summary</h4>
<div class="page-head justify-content-between">
<h1 class="mb-0">Alarm Summary</h1>
<div class="d-flex align-items-center">
@if (_selectedSiteId != null)
{
@@ -177,7 +177,7 @@
else
{
<div class="text-muted small mb-2">Showing @_visibleRows.Count of @_rows.Count</div>
<div class="table-responsive">
<div class="table-responsive" role="region" aria-label="Alarm summary" tabindex="0">
<table class="table table-sm table-hover align-middle">
@* UA6 (arch-review): sortable headers are keyboard-operable — tabindex="0",
aria-sort reflects the active sort direction, and Enter/Space toggle the
@@ -9,8 +9,8 @@
@inject CommunicationService CommunicationService
<div class="container-fluid mt-3">
<div class="d-flex justify-content-between align-items-center mb-3">
<h4 class="mb-0">Site Event Logs</h4>
<div class="page-head justify-content-between">
<h1 class="mb-0">Site Event Logs</h1>
<button class="btn btn-outline-secondary btn-sm"
type="button"
data-bs-toggle="collapse"
@@ -98,8 +98,9 @@
@if (_entries != null)
{
<table class="table table-sm table-striped table-hover">
<thead class="table-dark">
<div class="table-responsive" role="region" aria-label="Site event log results" tabindex="0">
<table class="table table-sm table-striped table-hover">
<thead>
<tr>
<th style="width: 1%;"></th>
<th>Timestamp</th>
@@ -154,6 +155,7 @@
}
</tbody>
</table>
</div>
<div class="d-flex justify-content-between align-items-center">
<span class="text-muted small">
@@ -22,8 +22,8 @@
@inject Microsoft.Extensions.Options.IOptions<HealthMonitoringOptions> HealthOptions
<div class="container-fluid mt-3">
<div class="d-flex justify-content-between align-items-center mb-3">
<h4 class="mb-0">Health Dashboard</h4>
<div class="page-head justify-content-between">
<h1 class="mb-0">Health Dashboard</h1>
<div>
<span class="text-muted small me-2">Auto-refresh: @(_autoRefreshSeconds)s</span>
<button class="btn btn-outline-secondary btn-sm" @onclick="RefreshNow">Refresh Now</button>
@@ -360,7 +360,8 @@
<h6 class="text-muted mb-0">Nodes (@NodeRowCount(state))</h6>
</div>
<div class="card-body p-2">
<table class="table table-sm table-borderless mb-0">
<div class="table-responsive" role="region" aria-label="@($"Nodes for {siteName}")" tabindex="0">
<table class="table table-sm table-borderless mb-0">
<tbody>
@if (report.ClusterNodes is { Count: > 0 })
{
@@ -406,6 +407,7 @@
}
</tbody>
</table>
</div>
</div>
</div>
</div>
@@ -444,7 +446,8 @@
</div>
@if (quality != null)
{
<table class="table table-sm table-borderless mb-0">
<div class="table-responsive" role="region" aria-label="@($"Tag quality for {connName} at {siteName}")" tabindex="0">
<table class="table table-sm table-borderless mb-0">
<tbody>
<tr>
<td class="small text-muted py-0">Tags good</td>
@@ -460,6 +463,7 @@
</tr>
</tbody>
</table>
</div>
}
</div>
}
@@ -483,7 +487,8 @@
<div class="collapse" id="@($"{detailsCollapseId}-queues")">
<div class="card-body p-2">
<h6 class="text-muted mb-2 border-bottom pb-1">Instances</h6>
<table class="table table-sm table-borderless mb-0">
<div class="table-responsive" role="region" aria-label="@($"Instances for {siteName}")" tabindex="0">
<table class="table table-sm table-borderless mb-0">
<tbody>
<tr>
<td class="small">Deployed</td>
@@ -499,6 +504,7 @@
</tr>
</tbody>
</table>
</div>
<h6 class="text-muted mb-2 mt-3 border-bottom pb-1">
Store-and-Forward Buffers (@report.StoreAndForwardBufferDepths.Count)
@@ -536,7 +542,8 @@
<div class="collapse" id="@($"{detailsCollapseId}-errors")">
<div class="card-body p-2">
<h6 class="text-muted mb-2 border-bottom pb-1">Error Counts</h6>
<table class="table table-sm table-borderless mb-0">
<div class="table-responsive" role="region" aria-label="@($"Error counts for {siteName}")" tabindex="0">
<table class="table table-sm table-borderless mb-0">
<tbody>
<tr>
<td class="small">Script Errors</td>
@@ -558,6 +565,7 @@
</tr>
</tbody>
</table>
</div>
<h6 class="text-muted mb-2 mt-3 border-bottom pb-1">Parked Messages</h6>
@if (report.ParkedMessageCount == 0)
@@ -17,8 +17,8 @@
<div class="container-fluid mt-3">
<ToastNotification @ref="_toast" />
<div class="d-flex align-items-baseline flex-wrap mb-3">
<h4 class="mb-0 me-3">Parked Messages</h4>
<div class="page-head align-items-baseline flex-wrap">
<h1 class="mb-0">Parked Messages</h1>
@if (_messages != null && _messages.Count > 0)
{
<span class="text-muted small">
@@ -160,9 +160,9 @@
else
{
var filtered = FilteredMessages;
<div class="table-responsive">
<div class="table-responsive" role="region" aria-label="Parked messages" tabindex="0">
<table class="table table-sm table-hover mb-2 align-middle parked-table">
<thead class="table-light">
<thead>
<tr>
<th style="width: 36px;">
<input class="form-check-input" type="checkbox"
@@ -13,8 +13,8 @@
@inject ILogger<NotificationKpis> Logger
<div class="container-fluid mt-3">
<div class="d-flex justify-content-between align-items-center mb-3">
<h4 class="mb-0">Notification KPIs</h4>
<div class="page-head justify-content-between">
<h1 class="mb-0">Notification KPIs</h1>
<button class="btn btn-outline-secondary btn-sm" @onclick="RefreshAll" disabled="@_loading">
@if (_loading) { <span class="spinner-border spinner-border-sm me-1" role="status"></span> }
Refresh
@@ -88,9 +88,9 @@
}
else
{
<div class="table-responsive mb-3">
<div class="table-responsive mb-3" role="region" aria-label="Notification per-node breakdown" tabindex="0">
<table class="table table-sm table-hover align-middle">
<thead class="table-light">
<thead>
<tr>
<th>Node</th>
<th class="text-end">Queue Depth</th>
@@ -133,9 +133,9 @@
}
else
{
<div class="table-responsive">
<div class="table-responsive" role="region" aria-label="Notification per-site breakdown" tabindex="0">
<table class="table table-sm table-hover align-middle">
<thead class="table-light">
<thead>
<tr>
<th>Site</th>
<th class="text-end">Queue Depth</th>
@@ -15,7 +15,7 @@
<div class="container-fluid mt-3">
<button class="btn btn-link text-decoration-none ps-0 mb-2" @onclick="GoBack">&larr; Back</button>
<h4 class="mb-3">@(Id.HasValue ? "Edit Notification List" : "Add Notification List")</h4>
<div class="page-head"><h1 class="mb-0">@(Id.HasValue ? "Edit Notification List" : "Add Notification List")</h1></div>
@if (_loading)
{
@@ -92,8 +92,9 @@
</div>
</div>
<table class="table table-sm table-striped">
<thead class="table-light">
<div class="table-responsive" role="region" aria-label="Notification recipients" tabindex="0">
<table class="table table-sm table-striped">
<thead>
<tr>
<th>Name</th>
<th>@(_type == NotificationType.Sms ? "Phone" : "Email")</th>
@@ -121,6 +122,7 @@
}
</tbody>
</table>
</div>
}
}
</div>
@@ -14,8 +14,8 @@
<div class="container-fluid mt-3">
<ToastNotification @ref="_toast" />
<div class="d-flex justify-content-between align-items-center mb-3">
<h4 class="mb-0">Notification Lists</h4>
<div class="page-head justify-content-between">
<h1 class="mb-0">Notification Lists</h1>
<button class="btn btn-primary btn-sm"
@onclick='() => NavigationManager.NavigateTo("/notifications/lists/create")'>
Add Notification List
@@ -44,9 +44,9 @@
}
else
{
<div class="table-responsive">
<div class="table-responsive" role="region" aria-label="Notification lists" tabindex="0">
<table class="table table-sm table-hover align-middle">
<thead class="table-light">
<thead>
<tr>
<th>Name</th>
<th>Type</th>
@@ -17,8 +17,8 @@
<div class="container-fluid mt-3">
<ToastNotification @ref="_toast" />
<div class="d-flex justify-content-between align-items-center mb-3">
<h4 class="mb-0">Notification Report</h4>
<div class="page-head justify-content-between">
<h1 class="mb-0">Notification Report</h1>
<button class="btn btn-outline-secondary btn-sm" @onclick="RefreshAll" disabled="@_loading">
@if (_loading) { <span class="spinner-border spinner-border-sm me-1" role="status"></span> }
Refresh
@@ -142,9 +142,9 @@
}
else
{
<div class="table-responsive">
<div class="table-responsive" role="region" aria-label="Notification report results" tabindex="0">
<table class="table table-sm table-hover align-middle">
<thead class="table-light">
<thead>
<tr>
<th>ID</th>
<th>Type</th>
@@ -10,8 +10,8 @@
@inject NavigationManager NavigationManager
<div class="container-fluid mt-3">
<div class="d-flex justify-content-between align-items-center mb-3">
<h4 class="mb-0">SMS Configuration</h4>
<div class="page-head justify-content-between">
<h1 class="mb-0">SMS Configuration</h1>
</div>
<ToastNotification @ref="_toast" />
@@ -10,8 +10,8 @@
@inject NavigationManager NavigationManager
<div class="container-fluid mt-3">
<div class="d-flex justify-content-between align-items-center mb-3">
<h4 class="mb-0">SMTP Configuration</h4>
<div class="page-head justify-content-between">
<h1 class="mb-0">SMTP Configuration</h1>
</div>
<ToastNotification @ref="_toast" />
@@ -28,8 +28,8 @@
<div class="container-fluid mt-3" data-test="secured-writes">
<ToastNotification @ref="_toast" />
<div class="d-flex align-items-baseline flex-wrap mb-3">
<h4 class="mb-0 me-3">Secured Writes</h4>
<div class="page-head align-items-baseline flex-wrap">
<h1 class="mb-0">Secured Writes</h1>
</div>
@* ── Operator region: submit form ───────────────────────────────────── *@
@@ -121,7 +121,8 @@
}
else
{
<table class="table table-sm table-hover mb-0 align-middle">
<div class="table-responsive" role="region" aria-label="Secured write requests" tabindex="0">
<table class="table table-sm table-hover mb-0 align-middle">
<thead>
<tr>
<th>Site</th>
@@ -173,6 +174,7 @@
}
</tbody>
</table>
</div>
}
</div>
</div>
@@ -189,7 +191,8 @@
}
else
{
<table class="table table-sm mb-0 align-middle">
<div class="table-responsive" role="region" aria-label="Secured write requests" tabindex="0">
<table class="table table-sm mb-0 align-middle">
<thead>
<tr>
<th>Site</th>
@@ -230,6 +233,7 @@
}
</tbody>
</table>
</div>
}
@if (_historyTotalCount > HistoryPageSize)
{
@@ -16,8 +16,8 @@
<div class="container-fluid mt-3">
<ToastNotification @ref="_toast" />
<div class="d-flex justify-content-between align-items-center mb-3">
<h4 class="mb-0">Site Calls</h4>
<div class="page-head justify-content-between">
<h1 class="mb-0">Site Calls</h1>
<button class="btn btn-outline-secondary btn-sm" @onclick="RefreshAll" disabled="@_loading">
@if (_loading) { <span class="spinner-border spinner-border-sm me-1" role="status"></span> }
Refresh
@@ -143,9 +143,9 @@
}
else
{
<div class="table-responsive">
<div class="table-responsive" role="region" aria-label="Site call results" tabindex="0">
<table class="table table-sm table-hover align-middle">
<thead class="table-light">
<thead>
<tr>
<th>Tracked operation</th>
<th>Source site</th>
@@ -27,8 +27,9 @@
}
</div>
<div class="table-responsive" role="region" aria-label="@TableLabel" tabindex="0">
<table class="table table-sm table-striped table-hover">
<thead class="table-dark">
<thead>
<tr>
@HeaderContent
</tr>
@@ -49,6 +50,7 @@
}
</tbody>
</table>
</div>
@if (_totalPages > 1)
{
@@ -87,7 +89,14 @@
}
<div class="text-muted small">
Showing @((_currentPage - 1) * PageSize + 1)&ndash;@Math.Min(_currentPage * PageSize, _filteredItems.Count) of @_filteredItems.Count items
@if (_filteredItems.Count == 0)
{
<text>0 items</text>
}
else
{
<text>Showing @((_currentPage - 1) * PageSize + 1)&ndash;@Math.Min(_currentPage * PageSize, _filteredItems.Count) of @_filteredItems.Count items</text>
}
</div>
@code {
@@ -104,6 +113,8 @@
[Parameter] public RenderFragment? FilterContent { get; set; }
[Parameter] public int PageSize { get; set; } = 25;
[Parameter] public bool ShowSearch { get; set; } = true;
/// <summary>Accessible name for the keyboard-scrollable table region.</summary>
[Parameter] public string TableLabel { get; set; } = "Data table";
[Parameter] public string EmptyMessage { get; set; } = "No items found.";
[Parameter] public Func<TItem, string, bool>? SearchFilter { get; set; }
@@ -41,7 +41,7 @@
}
.fg-node.predicted .fg-node-box { stroke-dasharray: 4 3; }
.fg-node.input-dependent .fg-node-box { stroke-dasharray: 2 3; }
.fg-node.ghost { opacity: 0.45; }
/* Ghost text stays readable; the existing dashed shape and tinted fill carry prediction. */
.fg-node.ghost .fg-node-box { fill: var(--rule); fill-opacity: 0.35; }
.fg-node.failed .fg-node-box,
.fg-node.timed-out .fg-node-box { stroke: var(--bs-danger, #c0392b); }
@@ -79,14 +79,14 @@
.fg-foot { margin-top: auto; display: flex; align-items: center; justify-content: space-between; gap: 4px; min-width: 0; }
.fg-subtitle { color: var(--ink-soft); font-size: 0.66rem; flex: 1; min-width: 0; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.fg-node.failed .fg-subtitle,
.fg-node.timed-out .fg-subtitle { color: var(--bad, var(--bs-danger, #e03131)); font-family: var(--mono); }
.fg-node.timed-out .fg-subtitle { color: var(--bad-ink, var(--bs-danger, #e03131)); font-family: var(--mono); }
.fg-logs { display: inline-flex; gap: 3px; flex-shrink: 0; font-family: var(--mono); font-size: 0.6rem; font-variant-numeric: tabular-nums; }
.fg-logs i { font-style: normal; padding: 0 4px; border-radius: 3px; line-height: 1.35; }
.fg-logs i.e { color: var(--bad, var(--bs-danger, #e03131)); background: var(--bad-bg, rgba(var(--bs-danger-rgb, 220, 53, 69), 0.12)); }
.fg-logs i.w { color: var(--warn, var(--bs-warning, #e8920c)); background: var(--warn-bg, rgba(var(--bs-warning-rgb, 255, 193, 7), 0.15)); }
.fg-logs i.e { color: var(--bad-ink, var(--bs-danger, #e03131)); background: var(--bad-bg, rgba(var(--bs-danger-rgb, 220, 53, 69), 0.12)); }
.fg-logs i.w { color: var(--warn-ink, var(--bs-warning, #e8920c)); background: var(--warn-bg, rgba(var(--bs-warning-rgb, 255, 193, 7), 0.15)); }
.fg-logs i.i { color: var(--ink-faint); background: var(--rule); }
.fg-node.failed .fg-eyebrow,
.fg-node.timed-out .fg-eyebrow { color: var(--bs-danger, #c0392b); }
.fg-node.timed-out .fg-eyebrow { color: var(--bad-ink, #c0392b); }
/* Outbound nodes (API call / database / notify): the folded outcome as a status pill, then the
call mode. Kit status tokens first (dark mode follows via site.css), Bootstrap's as fallback. */
@@ -106,21 +106,13 @@
background: var(--rule);
}
.fg-pill::before { content: ""; width: 5px; height: 5px; border-radius: 50%; background: currentColor; }
.fg-pill.ok { color: var(--ok, var(--bs-success, #2f9e44)); background: var(--ok-bg, rgba(var(--bs-success-rgb, 25, 135, 84), 0.12)); }
.fg-pill.pending { color: var(--warn, var(--bs-warning, #e8920c)); background: var(--warn-bg, rgba(var(--bs-warning-rgb, 255, 193, 7), 0.15)); }
.fg-pill.parked { color: var(--warn, var(--bs-warning, #e8920c)); background: var(--warn-bg, rgba(var(--bs-warning-rgb, 255, 193, 7), 0.15)); }
.fg-pill.failed { color: var(--bad, var(--bs-danger, #e03131)); background: var(--bad-bg, rgba(var(--bs-danger-rgb, 220, 53, 69), 0.12)); }
.fg-pill.ok { color: var(--ok-ink, var(--bs-success, #2f9e44)); background: var(--ok-bg, rgba(var(--bs-success-rgb, 25, 135, 84), 0.12)); }
.fg-pill.pending { color: var(--warn-ink, var(--bs-warning, #e8920c)); background: var(--warn-bg, rgba(var(--bs-warning-rgb, 255, 193, 7), 0.15)); }
.fg-pill.parked { color: var(--warn-ink, var(--bs-warning, #e8920c)); background: var(--warn-bg, rgba(var(--bs-warning-rgb, 255, 193, 7), 0.15)); }
.fg-pill.failed { color: var(--bad-ink, var(--bs-danger, #e03131)); background: var(--bad-bg, rgba(var(--bs-danger-rgb, 220, 53, 69), 0.12)); }
.fg-mode { color: var(--ink-soft); font-size: 0.66rem; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
/* A pending pill pulses while the page keeps refreshing outcomes after a Live run. */
.fg-node.pending .fg-pill { animation: fg-pulse 1.6s ease-in-out infinite; }
@keyframes fg-pulse {
0%, 100% { opacity: 1; box-shadow: 0 0 0 0 var(--warn-bg, rgba(var(--bs-warning-rgb, 255, 193, 7), 0.15)); }
50% { opacity: 0.6; box-shadow: 0 0 0 4px var(--warn-bg, rgba(var(--bs-warning-rgb, 255, 193, 7), 0.15)); }
}
@media (prefers-reduced-motion: reduce) {
.fg-node.pending .fg-pill { animation: none; }
}
/* Pending remains an explicit label while outcomes refresh. Do not fade text. */
/* Connectors */
.fg-edge {
@@ -4,12 +4,12 @@
.ft-lane-select { width: auto; }
.ft-table th { font-size: 0.7rem; letter-spacing: 0.04em; text-transform: uppercase; color: var(--ink-soft); }
.ft-row { cursor: pointer; }
.ft-row:hover, .ft-row:focus-visible { background: var(--active-bg); outline: none; }
.ft-row:hover, .ft-row:focus-visible { background: var(--active-bg); }
.ft-row.selected { background: var(--active-bg); box-shadow: inset 3px 0 0 var(--accent); }
.ft-row.failed { box-shadow: inset 3px 0 0 var(--bs-danger, #c0392b); }
.ft-title { max-width: 360px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font-family: var(--mono); font-size: 0.8rem; }
.ft-pill { font-size: 0.7rem; border: 1px solid var(--rule-strong); border-radius: 10px; padding: 0 6px; }
.ft-pill.ok { color: var(--bs-success, #2e7d32); }
.ft-pill.pending { color: var(--accent); }
.ft-pill.parked { color: var(--warn, var(--bs-warning, #e8920c)); }
.ft-pill.failed { color: var(--bs-danger, #c0392b); border-color: var(--bs-danger, #c0392b); }
.ft-pill.ok { color: var(--ok-ink, #2e7d32); }
.ft-pill.pending { color: var(--accent-deep); }
.ft-pill.parked { color: var(--warn-ink, var(--bs-warning, #e8920c)); }
.ft-pill.failed { color: var(--bad-ink, #c0392b); border-color: var(--bs-danger, #c0392b); }
@@ -204,3 +204,13 @@
.rail-updates-detail { color: var(--ink-faint); }
.rail-updates a { color: inherit; text-decoration: underline dotted; }
.rail-updates a:hover { color: var(--accent); }
/* Bootstrap text utilities bridge to shared readable text inks. Status signal
variables remain unchanged for decorative dots, borders and backgrounds. */
.text-success { color: var(--ok-ink) !important; }
.text-warning { color: var(--warn-ink) !important; }
.text-danger { color: var(--bad-ink) !important; }
.text-info { color: var(--info-ink) !important; }
.text-primary { color: var(--accent-deep) !important; }
.text-secondary { color: var(--ink-soft) !important; }
.text-muted, .text-body-secondary, .text-body-tertiary { color: var(--ink-faint) !important; }