diff --git a/src/ScadaLink.CentralUI/Components/Pages/Deployment/InstanceConfigure.razor b/src/ScadaLink.CentralUI/Components/Pages/Deployment/InstanceConfigure.razor new file mode 100644 index 0000000..1bfa7b5 --- /dev/null +++ b/src/ScadaLink.CentralUI/Components/Pages/Deployment/InstanceConfigure.razor @@ -0,0 +1,367 @@ +@page "/deployment/instances/{Id:int}/configure" +@using ScadaLink.Security +@using ScadaLink.Commons.Entities.Instances +@using ScadaLink.Commons.Entities.Sites +@using ScadaLink.Commons.Entities.Templates +@using ScadaLink.Commons.Interfaces.Repositories +@using ScadaLink.Commons.Types.Enums +@using ScadaLink.TemplateEngine.Services +@attribute [Authorize(Policy = AuthorizationPolicies.RequireDeployment)] +@inject ITemplateEngineRepository TemplateEngineRepository +@inject ISiteRepository SiteRepository +@inject InstanceService InstanceService +@inject AuthenticationStateProvider AuthStateProvider +@inject NavigationManager NavigationManager + +
No data-sourced attributes in this template.
+ } + else + { +| Attribute | +Tag Path | +Connection | +
|---|---|---|
| @attr.Name | +@attr.DataSourceReference | ++ + | +
No overridable (non-locked) attributes in this template.
+ } + else + { +| Attribute | +Type | +Template Value | +Override Value | +
|---|---|---|---|
| @attr.Name | +@attr.DataType | +@(attr.Value ?? "—") | ++ OnOverrideChanged(attr.Name, e)" /> + | +
No overridable (non-locked) attributes in this template.
- } - else - { -| Attribute | Template Value | Override Value |
|---|---|---|
| @attr.Name @attr.DataType | -@(attr.Value ?? "—") | -- OnOverrideChanged(attr.Name, e)" /> - | -
No data-sourced attributes in this template.
- } - else - { -| Attribute | Tag Path | Connection |
|---|---|---|
| @attr.Name | -@attr.DataSourceReference | -- - | -