Standardize administrative page and table grammar

This commit is contained in:
Joseph Doherty
2026-11-13 21:43:30 -05:00
parent 75ff38103f
commit 78a39a1095
9 changed files with 153 additions and 45 deletions
@@ -0,0 +1,7 @@
# Page grammar source checkpoint
Account, API keys, certificates, reservations, role grants and additive Login page title. Shared compact primary heading/qualified title, semantic section/column headings and named local table scroll regions follow the first runtime-page pilot. C# business bodies, binding/event expressions and route/rendermode/policy attributes are byte-for-byte unchanged; source-freeze.json records exact files/hashes. Release AdminUI build has zero warnings/errors.
This is a source/build checkpoint, not rendered coverage for every administrative/cluster route. Actual populated/empty/loading/error and narrow/keyboard cases remain explicit OT14 gates. Login retains anonymous static form POST, antiforgery and original return-url semantics; only its PageTitle is added. ClusterOverview separately gates existing authoring destinations via the existing ConfigEditor policy, with real authorization engine4-role regressions retained in ot05-cluster-actions; no endpoint or query changes.
Parent owns Home/navigation/retired Namespace compatibility scope. No database, LDAP, actor/fleet operations or deployment.
@@ -0,0 +1,44 @@
ZB.MOM.WW.OtOpcUa.Analyzers -> /Users/dohertj2/Desktop/OtOpcUa/src/Tooling/ZB.MOM.WW.OtOpcUa.Analyzers/bin/Release/netstandard2.0/ZB.MOM.WW.OtOpcUa.Analyzers.dll
ZB.MOM.WW.OtOpcUa.Driver.Calculation.Contracts -> /Users/dohertj2/Desktop/OtOpcUa/src/Drivers/ZB.MOM.WW.OtOpcUa.Driver.Calculation.Contracts/bin/Release/net10.0/ZB.MOM.WW.OtOpcUa.Driver.Calculation.Contracts.dll
ZB.MOM.WW.OtOpcUa.Driver.Modbus.Addressing -> /Users/dohertj2/Desktop/OtOpcUa/src/Drivers/ZB.MOM.WW.OtOpcUa.Driver.Modbus.Addressing/bin/Release/net10.0/ZB.MOM.WW.OtOpcUa.Driver.Modbus.Addressing.dll
ZB.MOM.WW.OtOpcUa.Core.Abstractions -> /Users/dohertj2/Desktop/OtOpcUa/src/Core/ZB.MOM.WW.OtOpcUa.Core.Abstractions/bin/Release/net10.0/ZB.MOM.WW.OtOpcUa.Core.Abstractions.dll
ZB.MOM.WW.OtOpcUa.Driver.AbCip.Contracts -> /Users/dohertj2/Desktop/OtOpcUa/src/Drivers/ZB.MOM.WW.OtOpcUa.Driver.AbCip.Contracts/bin/Release/net10.0/ZB.MOM.WW.OtOpcUa.Driver.AbCip.Contracts.dll
ZB.MOM.WW.OtOpcUa.Core.Scripting.Abstractions -> /Users/dohertj2/Desktop/OtOpcUa/src/Core/ZB.MOM.WW.OtOpcUa.Core.Scripting.Abstractions/bin/Release/net10.0/ZB.MOM.WW.OtOpcUa.Core.Scripting.Abstractions.dll
ZB.MOM.WW.OtOpcUa.Driver.Modbus.Contracts -> /Users/dohertj2/Desktop/OtOpcUa/src/Drivers/ZB.MOM.WW.OtOpcUa.Driver.Modbus.Contracts/bin/Release/net10.0/ZB.MOM.WW.OtOpcUa.Driver.Modbus.Contracts.dll
ZB.MOM.WW.OtOpcUa.Driver.MTConnect.Contracts -> /Users/dohertj2/Desktop/OtOpcUa/src/Drivers/ZB.MOM.WW.OtOpcUa.Driver.MTConnect.Contracts/bin/Release/net10.0/ZB.MOM.WW.OtOpcUa.Driver.MTConnect.Contracts.dll
ZB.MOM.WW.OtOpcUa.Driver.AbLegacy.Contracts -> /Users/dohertj2/Desktop/OtOpcUa/src/Drivers/ZB.MOM.WW.OtOpcUa.Driver.AbLegacy.Contracts/bin/Release/net10.0/ZB.MOM.WW.OtOpcUa.Driver.AbLegacy.Contracts.dll
ZB.MOM.WW.OtOpcUa.Driver.Galaxy.Contracts -> /Users/dohertj2/Desktop/OtOpcUa/src/Drivers/ZB.MOM.WW.OtOpcUa.Driver.Galaxy.Contracts/bin/Release/net10.0/ZB.MOM.WW.OtOpcUa.Driver.Galaxy.Contracts.dll
ZB.MOM.WW.OtOpcUa.Driver.S7.Contracts -> /Users/dohertj2/Desktop/OtOpcUa/src/Drivers/ZB.MOM.WW.OtOpcUa.Driver.S7.Contracts/bin/Release/net10.0/ZB.MOM.WW.OtOpcUa.Driver.S7.Contracts.dll
ZB.MOM.WW.OtOpcUa.Commons -> /Users/dohertj2/Desktop/OtOpcUa/src/Core/ZB.MOM.WW.OtOpcUa.Commons/bin/Release/net10.0/ZB.MOM.WW.OtOpcUa.Commons.dll
ZB.MOM.WW.OtOpcUa.Core.AlarmHistorian -> /Users/dohertj2/Desktop/OtOpcUa/src/Core/ZB.MOM.WW.OtOpcUa.Core.AlarmHistorian/bin/Release/net10.0/ZB.MOM.WW.OtOpcUa.Core.AlarmHistorian.dll
ZB.MOM.WW.OtOpcUa.Driver.Sql.Contracts -> /Users/dohertj2/Desktop/OtOpcUa/src/Drivers/ZB.MOM.WW.OtOpcUa.Driver.Sql.Contracts/bin/Release/net10.0/ZB.MOM.WW.OtOpcUa.Driver.Sql.Contracts.dll
ZB.MOM.WW.OtOpcUa.Driver.Heidenhain.Contracts -> /Users/dohertj2/Desktop/OtOpcUa/src/Drivers/ZB.MOM.WW.OtOpcUa.Driver.Heidenhain.Contracts/bin/Release/net10.0/ZB.MOM.WW.OtOpcUa.Driver.Heidenhain.Contracts.dll
ZB.MOM.WW.OtOpcUa.Driver.OpcUaClient.Contracts -> /Users/dohertj2/Desktop/OtOpcUa/src/Drivers/ZB.MOM.WW.OtOpcUa.Driver.OpcUaClient.Contracts/bin/Release/net10.0/ZB.MOM.WW.OtOpcUa.Driver.OpcUaClient.Contracts.dll
ZB.MOM.WW.OtOpcUa.Driver.Mqtt.Contracts -> /Users/dohertj2/Desktop/OtOpcUa/src/Drivers/ZB.MOM.WW.OtOpcUa.Driver.Mqtt.Contracts/bin/Release/net10.0/ZB.MOM.WW.OtOpcUa.Driver.Mqtt.Contracts.dll
ZB.MOM.WW.OtOpcUa.Driver.Sql.Dialect -> /Users/dohertj2/Desktop/OtOpcUa/src/Drivers/ZB.MOM.WW.OtOpcUa.Driver.Sql.Dialect/bin/Release/net10.0/ZB.MOM.WW.OtOpcUa.Driver.Sql.Dialect.dll
ZB.MOM.WW.OtOpcUa.Driver.FOCAS.Contracts -> /Users/dohertj2/Desktop/OtOpcUa/src/Drivers/ZB.MOM.WW.OtOpcUa.Driver.FOCAS.Contracts/bin/Release/net10.0/ZB.MOM.WW.OtOpcUa.Driver.FOCAS.Contracts.dll
ZB.MOM.WW.OtOpcUa.Cluster -> /Users/dohertj2/Desktop/OtOpcUa/src/Core/ZB.MOM.WW.OtOpcUa.Cluster/bin/Release/net10.0/ZB.MOM.WW.OtOpcUa.Cluster.dll
ZB.MOM.WW.OtOpcUa.Driver.Mqtt.Transport -> /Users/dohertj2/Desktop/OtOpcUa/src/Drivers/ZB.MOM.WW.OtOpcUa.Driver.Mqtt.Transport/bin/Release/net10.0/ZB.MOM.WW.OtOpcUa.Driver.Mqtt.Transport.dll
ZB.MOM.WW.OtOpcUa.Driver.TwinCAT.Contracts -> /Users/dohertj2/Desktop/OtOpcUa/src/Drivers/ZB.MOM.WW.OtOpcUa.Driver.TwinCAT.Contracts/bin/Release/net10.0/ZB.MOM.WW.OtOpcUa.Driver.TwinCAT.Contracts.dll
ZB.MOM.WW.OtOpcUa.Driver.Mqtt.Browser -> /Users/dohertj2/Desktop/OtOpcUa/src/Drivers/ZB.MOM.WW.OtOpcUa.Driver.Mqtt.Browser/bin/Release/net10.0/ZB.MOM.WW.OtOpcUa.Driver.Mqtt.Browser.dll
ZB.MOM.WW.OtOpcUa.Driver.Sql.Browser -> /Users/dohertj2/Desktop/OtOpcUa/src/Drivers/ZB.MOM.WW.OtOpcUa.Driver.Sql.Browser/bin/Release/net10.0/ZB.MOM.WW.OtOpcUa.Driver.Sql.Browser.dll
ZB.MOM.WW.OtOpcUa.Driver.OpcUaClient.Session -> /Users/dohertj2/Desktop/OtOpcUa/src/Drivers/ZB.MOM.WW.OtOpcUa.Driver.OpcUaClient.Session/bin/Release/net10.0/ZB.MOM.WW.OtOpcUa.Driver.OpcUaClient.Session.dll
ZB.MOM.WW.OtOpcUa.Core.Scripting -> /Users/dohertj2/Desktop/OtOpcUa/src/Core/ZB.MOM.WW.OtOpcUa.Core.Scripting/bin/Release/net10.0/ZB.MOM.WW.OtOpcUa.Core.Scripting.dll
ZB.MOM.WW.OtOpcUa.Driver.OpcUaClient.Browser -> /Users/dohertj2/Desktop/OtOpcUa/src/Drivers/ZB.MOM.WW.OtOpcUa.Driver.OpcUaClient.Browser/bin/Release/net10.0/ZB.MOM.WW.OtOpcUa.Driver.OpcUaClient.Browser.dll
ZB.MOM.WW.OtOpcUa.Driver.Galaxy.Browser -> /Users/dohertj2/Desktop/OtOpcUa/src/Drivers/ZB.MOM.WW.OtOpcUa.Driver.Galaxy.Browser/bin/Release/net10.0/ZB.MOM.WW.OtOpcUa.Driver.Galaxy.Browser.dll
ZB.MOM.WW.OtOpcUa.Core.VirtualTags -> /Users/dohertj2/Desktop/OtOpcUa/src/Core/ZB.MOM.WW.OtOpcUa.Core.VirtualTags/bin/Release/net10.0/ZB.MOM.WW.OtOpcUa.Core.VirtualTags.dll
ZB.MOM.WW.OtOpcUa.Core.ScriptedAlarms -> /Users/dohertj2/Desktop/OtOpcUa/src/Core/ZB.MOM.WW.OtOpcUa.Core.ScriptedAlarms/bin/Release/net10.0/ZB.MOM.WW.OtOpcUa.Core.ScriptedAlarms.dll
ZB.MOM.WW.OtOpcUa.Configuration -> /Users/dohertj2/Desktop/OtOpcUa/src/Core/ZB.MOM.WW.OtOpcUa.Configuration/bin/Release/net10.0/ZB.MOM.WW.OtOpcUa.Configuration.dll
ZB.MOM.WW.OtOpcUa.Core -> /Users/dohertj2/Desktop/OtOpcUa/src/Core/ZB.MOM.WW.OtOpcUa.Core/bin/Release/net10.0/ZB.MOM.WW.OtOpcUa.Core.dll
ZB.MOM.WW.OtOpcUa.Security -> /Users/dohertj2/Desktop/OtOpcUa/src/Server/ZB.MOM.WW.OtOpcUa.Security/bin/Release/net10.0/ZB.MOM.WW.OtOpcUa.Security.dll
ZB.MOM.WW.OtOpcUa.ControlPlane -> /Users/dohertj2/Desktop/OtOpcUa/src/Server/ZB.MOM.WW.OtOpcUa.ControlPlane/bin/Release/net10.0/ZB.MOM.WW.OtOpcUa.ControlPlane.dll
ZB.MOM.WW.OtOpcUa.OpcUaServer -> /Users/dohertj2/Desktop/OtOpcUa/src/Server/ZB.MOM.WW.OtOpcUa.OpcUaServer/bin/Release/net10.0/ZB.MOM.WW.OtOpcUa.OpcUaServer.dll
ZB.MOM.WW.OtOpcUa.Runtime -> /Users/dohertj2/Desktop/OtOpcUa/src/Server/ZB.MOM.WW.OtOpcUa.Runtime/bin/Release/net10.0/ZB.MOM.WW.OtOpcUa.Runtime.dll
ZB.MOM.WW.OtOpcUa.AdminUI -> /Users/dohertj2/Desktop/OtOpcUa/src/Server/ZB.MOM.WW.OtOpcUa.AdminUI/bin/Release/net10.0/ZB.MOM.WW.OtOpcUa.AdminUI.dll
Build succeeded.
0 Warning(s)
0 Error(s)
Time Elapsed 00:00:05.56
@@ -0,0 +1,44 @@
[
{
"path": "src/Server/ZB.MOM.WW.OtOpcUa.AdminUI/Components/Pages/Account.razor",
"sha256": "f6ee133eb3391dc34fea4d50d2591b5033f7dfe98fc0d6ca89812f9d91075c14",
"businessBodyByteEqual": true,
"eventBindingExpressionsEqual": true,
"routeAttributesEqual": true
},
{
"path": "src/Server/ZB.MOM.WW.OtOpcUa.AdminUI/Components/Pages/ApiKeys.razor",
"sha256": "5764d66d1a7dce20511a84cb49820350554c001b05afe5bafe5100a38094d95f",
"businessBodyByteEqual": true,
"eventBindingExpressionsEqual": true,
"routeAttributesEqual": true
},
{
"path": "src/Server/ZB.MOM.WW.OtOpcUa.AdminUI/Components/Pages/Certificates.razor",
"sha256": "88ec74f3558b89a33f1cac840598532692722c5a94836440cdbcb61a07a48153",
"businessBodyByteEqual": true,
"eventBindingExpressionsEqual": true,
"routeAttributesEqual": true
},
{
"path": "src/Server/ZB.MOM.WW.OtOpcUa.AdminUI/Components/Pages/Reservations.razor",
"sha256": "8d77f25d24389fc2dd7c31c1b09f66c05452eaa2243d61aa2908d5bb90e771f9",
"businessBodyByteEqual": true,
"eventBindingExpressionsEqual": true,
"routeAttributesEqual": true
},
{
"path": "src/Server/ZB.MOM.WW.OtOpcUa.AdminUI/Components/Pages/RoleGrants.razor",
"sha256": "06e64fec6d7cf77766e4fe891fd3aa21eac15ebfd1a54fdb29f35a06ecdfd8b6",
"businessBodyByteEqual": true,
"eventBindingExpressionsEqual": true,
"routeAttributesEqual": true
},
{
"path": "src/Server/ZB.MOM.WW.OtOpcUa.AdminUI/Components/Pages/Login.razor",
"sha256": "9955a27e69a9da79bfdfd2d380ac4c9be9522e06d4bde1a68a61b232ee4e8373",
"businessBodyByteEqual": true,
"eventBindingExpressionsEqual": true,
"routeAttributesEqual": true
}
]
@@ -6,8 +6,9 @@
@attribute [Authorize(Policy = AdminUiPolicies.AuthenticatedRead)]
@using System.Security.Claims
<div class="d-flex justify-content-between align-items-center mb-3">
<h4 class="mb-0">My account</h4>
<div class="page-head">
<h1>My account</h1>
<span class="spacer"></span>
</div>
<AuthorizeView>
@@ -26,13 +27,13 @@
<section class="card-grid rise" style="animation-delay:.02s">
<div class="metric-card">
<div class="panel-head">Identity</div>
<h2 class="panel-head">Identity</h2>
<div class="kv"><span class="k">Username</span><span class="v mono">@username</span></div>
<div class="kv"><span class="k">Display name</span><span class="v">@displayName</span></div>
</div>
<div class="metric-card">
<div class="panel-head">Fleet roles</div>
<h2 class="panel-head">Fleet roles</h2>
<div class="kv">
<span class="k">Resolved roles</span>
<span class="v">
@@ -9,8 +9,10 @@
@inject IApiKeyGalaxyAckIdentityService AckIdentities
<PageErrorBoundary>
<div class="d-flex justify-content-between align-items-center mb-3">
<h4 class="mb-0">OPC UA API keys</h4>
<PageTitle>OPC UA API keys · OtOpcUa</PageTitle>
<div class="page-head">
<h1>OPC UA API keys</h1>
<span class="spacer"></span>
</div>
@if (_created is not null)
@@ -28,7 +30,7 @@
}
<section class="panel mb-3">
<div class="panel-head">Create a key</div>
<h2 class="panel-head">Create a key</h2>
<div style="padding:1rem">
<div class="row g-2">
<div class="col-md-3">
@@ -55,7 +57,7 @@
@if (_ackEditKeyId is not null)
{
<section class="panel mb-3">
<div class="panel-head">Galaxy alarm-ack identity — key <span class="mono">@_ackEditKeyId</span></div>
<h2 class="panel-head">Galaxy alarm-ack identity — key <span class="mono">@_ackEditKeyId</span></h2>
<div style="padding:1rem">
<div class="form-text mb-2">
Native Galaxy alarm acknowledges from sessions using this key authenticate as this Galaxy account, and
@@ -92,7 +94,7 @@
}
<section class="panel">
<div class="panel-head">Keys</div>
<h2 class="panel-head">Keys</h2>
@if (_keys is null)
{
<div style="padding:1rem" class="text-muted">Loading…</div>
@@ -105,17 +107,18 @@
}
else
{
<table class="table table-sm mb-0">
<div class="table-wrap" role="region" aria-label="OPC UA API keys" tabindex="0">
<table class="data-table">
<thead>
<tr>
<th>Name</th>
<th>Principal</th>
<th>Key id</th>
<th>Status</th>
<th>Galaxy ack identity</th>
<th>Created (UTC)</th>
<th>Expires (UTC)</th>
<th></th>
<th scope="col">Name</th>
<th scope="col">Principal</th>
<th scope="col">Key id</th>
<th scope="col">Status</th>
<th scope="col">Galaxy ack identity</th>
<th scope="col">Created (UTC)</th>
<th scope="col">Expires (UTC)</th>
<th scope="col"><span class="visually-hidden">Actions</span></th>
</tr>
</thead>
<tbody>
@@ -167,6 +170,7 @@
}
</tbody>
</table>
</div>
}
</section>
@@ -12,8 +12,10 @@
@implements IDisposable
<PageErrorBoundary>
<div class="d-flex justify-content-between align-items-center mb-3">
<h4 class="mb-0">OPC UA certificates</h4>
<PageTitle>OPC UA certificates · OtOpcUa</PageTitle>
<div class="page-head">
<h1>OPC UA certificates</h1>
<span class="spacer"></span>
</div>
@if (_rows is null)
@@ -39,7 +41,7 @@ else
@foreach (var store in _rows)
{
<section class="panel rise mt-3" style="animation-delay:.08s">
<div class="panel-head">@store.Label &middot; @store.Certificates.Count entry@(store.Certificates.Count == 1 ? "" : "s")</div>
<h2 class="panel-head">@store.Label &middot; @store.Certificates.Count entry@(store.Certificates.Count == 1 ? "" : "s")</h2>
@if (string.IsNullOrEmpty(store.Path))
{
<div style="padding:1rem" class="text-muted">No path configured.</div>
@@ -56,18 +58,18 @@ else
}
else
{
<div class="table-wrap">
<div class="table-wrap" role="region" aria-label="Certificates in @store.Label" tabindex="0">
<table class="data-table">
<thead>
<tr>
<th>Subject</th>
<th>Issuer</th>
<th>Thumbprint</th>
<th>Not before</th>
<th>Not after</th>
<th scope="col">Subject</th>
<th scope="col">Issuer</th>
<th scope="col">Thumbprint</th>
<th scope="col">Not before</th>
<th scope="col">Not after</th>
@if (store.Kind is StoreKind.Trusted or StoreKind.Rejected)
{
<th>Actions</th>
<th scope="col">Actions</th>
}
</tr>
</thead>
@@ -10,6 +10,8 @@
wrapper, the .panel shell, and the static form-POST (username/password/returnUrl). *@
@attribute [Microsoft.AspNetCore.Authorization.AllowAnonymous]
<PageTitle>Sign in · OtOpcUa</PageTitle>
<LoginCard Product="OtOpcUa Admin" Action="/auth/login" ReturnUrl="@ReturnUrl" Error="@Error">
<AntiforgeryToken />
</LoginCard>
@@ -7,8 +7,10 @@
@inject IDbContextFactory<OtOpcUaConfigDbContext> DbFactory
<PageErrorBoundary>
<div class="d-flex justify-content-between align-items-center mb-3">
<h4 class="mb-0">External ID reservations</h4>
<PageTitle>External ID reservations · OtOpcUa</PageTitle>
<div class="page-head">
<h1>External ID reservations</h1>
<span class="spacer"></span>
</div>
@if (_rows is null)
@@ -18,21 +20,21 @@
else
{
<section class="panel rise mt-3" style="animation-delay:.08s">
<div class="panel-head">@_rows.Count reservation@(_rows.Count == 1 ? "" : "s")</div>
<h2 class="panel-head">@_rows.Count reservation@(_rows.Count == 1 ? "" : "s")</h2>
@if (_rows.Count == 0)
{
<div style="padding:1rem" class="text-muted">No reservations yet.</div>
}
else
{
<div class="table-wrap">
<div class="table-wrap" role="region" aria-label="External ID reservations" tabindex="0">
<table class="data-table">
<thead>
<tr>
<th>Kind</th>
<th>Value</th>
<th>Equipment UUID</th>
<th>Cluster</th>
<th scope="col">Kind</th>
<th scope="col">Value</th>
<th scope="col">Equipment UUID</th>
<th scope="col">Cluster</th>
</tr>
</thead>
<tbody>
@@ -11,15 +11,17 @@
@inject ILdapGroupRoleMappingService RoleMappings
<PageErrorBoundary>
<div class="d-flex justify-content-between align-items-center mb-3">
<h4 class="mb-0">Role grants</h4>
<PageTitle>Role grants · OtOpcUa</PageTitle>
<div class="page-head">
<h1>Role grants</h1>
<span class="spacer"></span>
</div>
@if (_options is not null)
{
<section class="card-grid rise" style="animation-delay:.02s">
<div class="metric-card">
<div class="panel-head">LDAP binding</div>
<h2 class="panel-head">LDAP binding</h2>
<div class="kv"><span class="k">Enabled</span><span class="v">@(_options.Enabled ? "yes" : "no")</span></div>
<div class="kv"><span class="k">Server</span><span class="v mono">@_options.Server:@_options.Port</span></div>
<div class="kv"><span class="k">Transport</span><span class="v">@_options.Transport</span></div>
@@ -33,7 +35,7 @@
}
<section class="panel rise mt-3" style="animation-delay:.08s">
<div class="panel-head">Group → role (database)</div>
<h2 class="panel-head">Group → role (database)</h2>
<div style="padding:1rem">
<div class="d-flex gap-2 align-items-center flex-wrap">
<input class="form-control form-control-sm mono" style="max-width:32rem"
@@ -51,9 +53,9 @@
<div class="text-danger small mt-2">@_error</div>
}
</div>
<div class="table-wrap">
<div class="table-wrap" role="region" aria-label="Database role grants" tabindex="0">
<table class="data-table">
<thead><tr><th>LDAP group</th><th>Role</th><th></th></tr></thead>
<thead><tr><th scope="col">LDAP group</th><th scope="col">Role</th><th scope="col"><span class="visually-hidden">Actions</span></th></tr></thead>
<tbody>
@if (_rows.Count == 0)
{
@@ -83,7 +85,7 @@
@if (_options is not null)
{
<section class="panel rise mt-3" style="animation-delay:.14s">
<div class="panel-head">Fallback (appsettings) (@(_options.GroupToRole?.Count ?? 0))</div>
<h2 class="panel-head">Fallback (appsettings) (@(_options.GroupToRole?.Count ?? 0))</h2>
<div style="padding:1rem 1rem 0" class="text-muted small">
These <span class="mono">Security:Ldap:GroupToRole</span> entries apply when a group has no database row above.
</div>
@@ -93,9 +95,9 @@
}
else
{
<div class="table-wrap">
<div class="table-wrap" role="region" aria-label="Configured fallback role grants" tabindex="0">
<table class="data-table">
<thead><tr><th>LDAP group</th><th>Resolved role</th></tr></thead>
<thead><tr><th scope="col">LDAP group</th><th scope="col">Resolved role</th></tr></thead>
<tbody>
@foreach (var kvp in _options.GroupToRole.OrderBy(k => k.Key, StringComparer.OrdinalIgnoreCase))
{