feat(dashboard): make Galaxy browse and watch accessible
This commit is contained in:
@@ -0,0 +1,5 @@
|
||||
@namespace MxUiCanary.Components
|
||||
@page "/browse-fixture"
|
||||
@inject IJSRuntime JS
|
||||
<ThemeShell Product="Synthetic MX browse"><ChildContent><p>Synthetic cached Galaxy and redacted fixture values. No COM or worker.</p><BrowsePage/></ChildContent></ThemeShell>
|
||||
@code { protected override async Task OnAfterRenderAsync(bool firstRender){if(firstRender)await JS.InvokeVoidAsync("mxCanaryReady");} }
|
||||
@@ -1,2 +1,2 @@
|
||||
@namespace MxUiCanary.Components
|
||||
<!doctype html><html lang="en"><head><meta charset="utf-8"/><meta name="viewport" content="width=device-width, initial-scale=1"/><base href="/"/><link rel="stylesheet" href="/lib/bootstrap/css/bootstrap.min.css"/><ThemeHead/><link rel="stylesheet" href="/css/site.css"/></head><body class="dashboard-body"><FixtureBody @rendermode="InteractiveServer"/><script>window.mxCanaryReady=()=>document.documentElement.dataset.mxReady='true';</script><script src="/_framework/blazor.web.js"></script></body></html>
|
||||
<!doctype html><html lang="en"><head><meta charset="utf-8"/><meta name="viewport" content="width=device-width, initial-scale=1"/><base href="/"/><link rel="stylesheet" href="/lib/bootstrap/css/bootstrap.min.css"/><ThemeHead/><link rel="stylesheet" href="/css/site.css"/><HeadOutlet @rendermode="InteractiveServer"/></head><body class="dashboard-body"><FixtureRoutes @rendermode="InteractiveServer"/><script>window.mxCanaryReady=()=>document.documentElement.dataset.mxReady='true';</script><script src="/_framework/blazor.web.js"></script></body></html>
|
||||
@@ -0,0 +1,2 @@
|
||||
@namespace MxUiCanary.Components
|
||||
<Router AppAssembly="typeof(FixtureRoutes).Assembly"><Found Context="route"><RouteView RouteData="route"/></Found></Router>
|
||||
@@ -5,3 +5,5 @@
|
||||
@using ZB.MOM.WW.Theme
|
||||
@using ZB.MOM.WW.MxGateway.Server.Dashboard.Components.Shared
|
||||
@using ZB.MOM.WW.MxGateway.Server.Dashboard.Components.Pages
|
||||
|
||||
@using Microsoft.AspNetCore.Components.Routing
|
||||
|
||||
Reference in New Issue
Block a user