fix(admin-ui): align task orientation and navigation with page policies
This commit is contained in:
+9
-6
@@ -2,19 +2,22 @@
|
||||
@attribute [Authorize(Policy = AdminUiPolicies.AuthenticatedRead)]
|
||||
@rendermode RenderMode.InteractiveServer
|
||||
|
||||
<PageTitle>Retired namespaces · OtOpcUa</PageTitle>
|
||||
|
||||
<PageErrorBoundary>
|
||||
<div class="d-flex justify-content-between align-items-center mb-3">
|
||||
<h4 class="mb-0">Namespaces · <span class="mono">@ClusterId</span></h4>
|
||||
<div class="page-head">
|
||||
<h1 class="mb-0">Retired namespaces · <span class="mono">@ClusterId</span></h1>
|
||||
</div>
|
||||
|
||||
<ClusterNav ClusterId="@ClusterId" ActiveTab="namespaces" />
|
||||
|
||||
<section class="panel notice rise" style="animation-delay:.02s">
|
||||
<div class="panel-head">Namespaces are retired in v3</div>
|
||||
<h2 class="panel-head">Namespaces are retired in v3</h2>
|
||||
<div style="padding:1rem">
|
||||
The <code>Namespace</code> entity has been removed. The v3 Raw/UNS split replaces it —
|
||||
raw driver folders and the unified namespace are managed on the <strong>/raw</strong> and
|
||||
<strong>/uns</strong> pages. This page is a placeholder so existing links do not 404.
|
||||
The <code>Namespace</code> entity has been removed. Raw driver folders and the unified namespace replace it.
|
||||
<AuthorizeView Policy="@AdminUiPolicies.ConfigEditor">
|
||||
<p>Manage drivers and tags in <a href="/raw">Raw</a> or equipment in <a href="/uns">UNS</a>.</p>
|
||||
</AuthorizeView> Existing namespace links remain available for reference.
|
||||
</div>
|
||||
</section>
|
||||
</PageErrorBoundary>
|
||||
|
||||
@@ -3,20 +3,23 @@
|
||||
@attribute [Authorize(Policy = AdminUiPolicies.ConfigEditor)]
|
||||
@rendermode RenderMode.InteractiveServer
|
||||
|
||||
<PageTitle>Retired namespaces · OtOpcUa</PageTitle>
|
||||
|
||||
<PageErrorBoundary>
|
||||
<div class="d-flex justify-content-between align-items-center mb-3">
|
||||
<h4 class="mb-0">Namespaces · <span class="mono">@ClusterId</span></h4>
|
||||
<div class="page-head">
|
||||
<h1 class="mb-0">Retired namespaces · <span class="mono">@ClusterId</span></h1>
|
||||
<a href="/clusters/@ClusterId/namespaces" class="btn btn-outline-secondary btn-sm">Back</a>
|
||||
</div>
|
||||
|
||||
<ClusterNav ClusterId="@ClusterId" ActiveTab="namespaces" />
|
||||
|
||||
<section class="panel notice rise" style="animation-delay:.02s">
|
||||
<div class="panel-head">Namespaces are retired in v3</div>
|
||||
<h2 class="panel-head">Namespaces are retired in v3</h2>
|
||||
<div style="padding:1rem">
|
||||
The <code>Namespace</code> entity has been removed. The v3 Raw/UNS split replaces it —
|
||||
raw driver folders and the unified namespace are managed on the <strong>/raw</strong> and
|
||||
<strong>/uns</strong> pages. This editor no longer applies.
|
||||
The <code>Namespace</code> entity has been removed. Raw driver folders and the unified namespace replace it.
|
||||
<AuthorizeView Policy="@AdminUiPolicies.ConfigEditor">
|
||||
<p>Manage drivers and tags in <a href="/raw">Raw</a> or equipment in <a href="/uns">UNS</a>.</p>
|
||||
</AuthorizeView> This editor no longer applies.
|
||||
</div>
|
||||
</section>
|
||||
</PageErrorBoundary>
|
||||
|
||||
@@ -1,7 +1,22 @@
|
||||
@page "/"
|
||||
@attribute [Authorize(Policy = AdminUiPolicies.AuthenticatedRead)]
|
||||
|
||||
<PageTitle>OtOpcUa</PageTitle>
|
||||
<PageTitle>Overview · OtOpcUa</PageTitle>
|
||||
|
||||
<h1>OtOpcUa Admin</h1>
|
||||
<p>Use the nav above to configure clusters, drivers, and tags, then deploy.</p>
|
||||
<div class="page-head">
|
||||
<div>
|
||||
<h1>OtOpcUa</h1>
|
||||
<p class="text-muted">Inspect fleet health, then open a cluster for its status and diagnostics.</p>
|
||||
</div>
|
||||
<a class="btn btn-primary btn-sm" href="/fleet">View fleet status</a>
|
||||
</div>
|
||||
<section class="panel">
|
||||
<h2 class="panel-head">Operations</h2>
|
||||
<div class="panel-body">
|
||||
<p><a href="/hosts">Host status</a> shows the available hosts. <a href="/clusters">Clusters</a> opens cluster status, diagnostics and audit history.</p>
|
||||
<AuthorizeView Policy="@AdminUiPolicies.ConfigEditor">
|
||||
<p>Author drivers and tags in <a href="/raw">Raw</a>, organize equipment in <a href="/uns">UNS</a>, and review <a href="/deployments">Deployments</a>. Configuration changes take effect through deployment.</p>
|
||||
</AuthorizeView>
|
||||
<p class="mb-0">Use the side navigation to return to operations, configuration and scripting.</p>
|
||||
</div>
|
||||
</section>
|
||||
|
||||
Reference in New Issue
Block a user