Update dashboard apps with updated designer component constructs
This commit is contained in:
parent
b5b39c13e3
commit
96fe0d4db3
|
|
@ -16,7 +16,9 @@
|
|||
<script src="/_content/Elsa.Designer.Components.Web/monaco-editor/min/vs/loader.js"></script>
|
||||
<script type="module" src="/_content/Elsa.Designer.Components.Web/elsa-workflows-studio/elsa-workflows-studio.esm.js"></script>
|
||||
</head>
|
||||
<body class="h-screen" style="background-size: 30px 30px; background-image: url(/_content/Elsa.Designer.Components.Web/elsa-workflows-studio/assets/images/tile.png); background-color: #FBFBFB;">
|
||||
<elsa-studio-root server-url="@serverUrl" monaco-lib-path="_content/Elsa.Designer.Components.Web/monaco-editor/min"></elsa-studio-root>
|
||||
<body>
|
||||
<elsa-studio-root server-url="@serverUrl" monaco-lib-path="_content/Elsa.Designer.Components.Web/monaco-editor/min">
|
||||
<elsa-studio-dashboard></elsa-studio-dashboard>
|
||||
</elsa-studio-root>
|
||||
</body>
|
||||
</html>
|
||||
|
|
@ -1,12 +1,17 @@
|
|||
@using Microsoft.JSInterop
|
||||
@inject IJSRuntime JS;
|
||||
|
||||
<elsa-workflow-definition-editor-screen server-url="@ServerUrl" workflow-definition-id="@WorkflowDefinitionId" monaco-lib-path="_content/Elsa.Designer.Components.Web/monaco-editor/min"></elsa-workflow-definition-editor-screen>
|
||||
<elsa-studio-root server-url="@ServerUrl" monaco-lib-path="@MonacoLibPath">
|
||||
<elsa-workflow-definition-editor-screen workflow-definition-id="@WorkflowDefinitionId"></elsa-workflow-definition-editor-screen>
|
||||
</elsa-studio-root>
|
||||
|
||||
@code{
|
||||
|
||||
[Parameter]
|
||||
public string ServerUrl { get; set; } = default!;
|
||||
|
||||
[Parameter]
|
||||
public string MonacoLibPath { get; set; } = "_content/Elsa.Designer.Components.Web/monaco-editor/min";
|
||||
|
||||
[Parameter]
|
||||
public string WorkflowDefinitionId { get; set; } = default!;
|
||||
|
|
|
|||
|
|
@ -1,4 +1,6 @@
|
|||
<elsa-studio-root server-url="@ServerUrl" monaco-lib-path="@MonacoLibPath"></elsa-studio-root>
|
||||
<elsa-studio-root server-url="@ServerUrl" monaco-lib-path="@MonacoLibPath">
|
||||
<elsa-studio-dashboard></elsa-studio-dashboard>
|
||||
</elsa-studio-root>
|
||||
|
||||
@code{
|
||||
|
||||
|
|
|
|||
|
|
@ -17,7 +17,9 @@
|
|||
<script src="/_content/Elsa.Designer.Components.Web/monaco-editor/min/vs/loader.js"></script>
|
||||
<script type="module" src="/_content/Elsa.Designer.Components.Web/elsa-workflows-studio/elsa-workflows-studio.esm.js"></script>
|
||||
</head>
|
||||
<body class="h-screen" style="background-size: 30px 30px; background-image: url(/_content/Elsa.Designer.Components.Web/elsa-workflows-studio/assets/images/tile.png); background-color: #FBFBFB;">
|
||||
<elsa-studio-root server-url="@serverUrl" monaco-lib-path="_content/Elsa.Designer.Components.Web/monaco-editor/min"></elsa-studio-root>
|
||||
<body>
|
||||
<elsa-studio-root server-url="@serverUrl" monaco-lib-path="_content/Elsa.Designer.Components.Web/monaco-editor/min">
|
||||
<elsa-studio-dashboard></elsa-studio-dashboard>
|
||||
</elsa-studio-root>
|
||||
</body>
|
||||
</html>
|
||||
Loading…
Reference in a new issue