Files
webwindowconfigurator/Test.UI/Components/Pages/Home.razor
T
2025-12-22 09:15:31 +01:00

41 lines
821 B
Plaintext

@page "/"
@page "/Home"
@rendermode InteractiveServer
<PageTitle>Select template</PageTitle>
@if(SelTemplate == null)
{
<WebWindowMaker TemplateDTOList="@AvailTemplateList"
EC_OnSelectedTemplate="SetTemplate">
</WebWindowMaker>
}
else
{
<TableComp ListPayload="SetupList"
LiveData="CurrData"
EC_ActionReq="DoAction"
EC_DoUpdate="ExecRequest"
EC_OnClose="CloseObj">
</TableComp>
<div class="card">
<div class="card-body small">
@JsonSer
</div>
</div>
}
@if (!string.IsNullOrEmpty(outClose))
{
<div class="alert alert-danger fs-4">
@outClose
</div>
}
else if (!string.IsNullOrEmpty(outSave))
{
<div class="alert alert-success fs-4">
@outSave
</div>
}