39 lines
2.1 KiB
Plaintext
39 lines
2.1 KiB
Plaintext
@* Root Blazor component for the fused OtOpcUa.Host. Static-rendered shell; child components
|
|
opt into InteractiveServer on a per-component basis (the auth-related <Routes/> stays
|
|
non-interactive so cookie SignInAsync still runs while ASP.NET owns the HTTP response).
|
|
|
|
Vendored Bootstrap 5 lives in this RCL's wwwroot/lib/bootstrap; the RCL static-asset
|
|
pipeline maps it under /_content/ZB.MOM.WW.OtOpcUa.AdminUI/... — no public-CDN dependency
|
|
so air-gapped fleet deployments keep working (Admin-010). *@
|
|
|
|
<!DOCTYPE html>
|
|
<html lang="en">
|
|
<head>
|
|
<meta charset="utf-8"/>
|
|
<meta name="viewport" content="width=device-width, initial-scale=1.0"/>
|
|
<title>OtOpcUa Admin</title>
|
|
<base href="/"/>
|
|
<link rel="stylesheet" href="_content/ZB.MOM.WW.OtOpcUa.AdminUI/lib/bootstrap/css/bootstrap.min.css"/>
|
|
<ThemeHead />
|
|
<link rel="stylesheet" href="_content/ZB.MOM.WW.OtOpcUa.AdminUI/css/site.css"/>
|
|
@* ASP.NET scoped-CSS bundle for this RCL's *.razor.css files (ContextMenu.razor.css and
|
|
anything added later). The RCL builds it on every compile, but nothing referenced it —
|
|
so the scoped rules were dead at runtime and the context menus rendered in-flow with
|
|
no position:fixed. It is a Reference-mode asset, hence the RCL's _content/ base path. *@
|
|
<link rel="stylesheet" href="_content/ZB.MOM.WW.OtOpcUa.AdminUI/ZB.MOM.WW.OtOpcUa.AdminUI.bundle.scp.css"/>
|
|
<HeadOutlet/>
|
|
</head>
|
|
<body>
|
|
@* No AdditionalAssemblies: the Secrets.Ui RCL's routable page is NOT routed directly in this
|
|
host — Pages/Secrets.razor wraps it so the route can carry this host's per-page
|
|
@rendermode (lmxopcua#483); registering the RCL routes too would make /admin/secrets
|
|
ambiguous. *@
|
|
<Routes />
|
|
<script src="_content/ZB.MOM.WW.OtOpcUa.AdminUI/lib/bootstrap/js/bootstrap.bundle.min.js"></script>
|
|
<ThemeScripts />
|
|
<script src="_content/ZB.MOM.WW.OtOpcUa.AdminUI/js/dialog-focus.js"></script>
|
|
<script src="_content/ZB.MOM.WW.OtOpcUa.AdminUI/js/monaco-init.js"></script>
|
|
<script src="_framework/blazor.web.js"></script>
|
|
</body>
|
|
</html>
|