Modifiche utente base (solo in view)
This commit is contained in:
@@ -3,17 +3,17 @@
|
||||
<div class="row">
|
||||
@if (isLoading)
|
||||
{
|
||||
<EgwCoreLib.Razor.LoadingData Title="...processing..."></EgwCoreLib.Razor.LoadingData>
|
||||
<LoadingData DisplayMode="LoadingData.SpinMode.Normal" DisplaySize="LoadingData.CtrlSize.Large" Title="...processing..."></LoadingData>
|
||||
}
|
||||
else if (!okParams)
|
||||
{
|
||||
<div class="d-flex flex-column">
|
||||
<div class="card text-center shadow rounded">
|
||||
<div class="col-md-12 d-grid gap-4 p-2 d-md-flex justify-content-end flex-wrap">
|
||||
<button class="btn btn-lg btn-primary px-4" style="font-size: 1rem;" @onclick="DoClose">Close</button>
|
||||
<button class="btn btn-lg btn-primary px-4" style="font-size: 1rem;" @onclick="DoClose">@Traduci("ConfWind_Close")</button>
|
||||
</div>
|
||||
<div class="alert alert-warning">
|
||||
<div class="fs-3">Parametri Mancanti!</div>
|
||||
<div class="fs-3">@Traduci("ConfWind_MissingParam")</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
@@ -23,10 +23,10 @@
|
||||
<div class="d-flex flex-column">
|
||||
<div class="card text-center shadow rounded">
|
||||
<div class="col-md-12 d-grid gap-4 p-2 d-md-flex justify-content-end flex-wrap">
|
||||
<button class="btn btn-lg btn-primary px-4" style="font-size: 1rem;" @onclick="DoClose">Close</button>
|
||||
<button class="btn btn-lg btn-primary px-4" style="font-size: 1rem;" @onclick="DoClose">@Traduci("ConfWind_Close")</button>
|
||||
</div>
|
||||
<div class="alert alert-warning">
|
||||
<div class="fs-3">JWD Mancante!</div>
|
||||
<div class="fs-3">@Traduci("ConfWind_MissingJWD")</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
@@ -38,7 +38,7 @@
|
||||
{
|
||||
<div class="d-flex flex-column">
|
||||
<div class="alert alert-danger">
|
||||
<div class="fs-3">Errori validazione!</div>
|
||||
<div class="fs-3">@Traduci("ConfWind_ValidError")</div>
|
||||
<div class="col-12 col-md-6 col-lg-3">
|
||||
|
||||
<ul class="list-group">
|
||||
@@ -55,7 +55,7 @@
|
||||
{
|
||||
<div class="d-flex flex-column">
|
||||
<div class="alert alert-danger">
|
||||
<div class="fs-3">Errore configurazione:</div>
|
||||
<div class="fs-3">@Traduci("ConfWind_ConfigError")</div>
|
||||
<div class="col-12">
|
||||
<ul class="list-group">
|
||||
@foreach (var item in listErrLink)
|
||||
@@ -76,10 +76,10 @@
|
||||
<div class="col-md-12 col-lg-6 d-grid px-2 d-md-flex justify-content-md-start flex-wrap">
|
||||
<ul class="nav nav-tabs card-header-tabs">
|
||||
<li class="nav-item m-1">
|
||||
<button data-target="#Tree" class="@tabNavCss(CompileStep.Tree)" style="font-size: 1rem;" @onclick="() => NextStep(CompileStep.Tree)">Tree</button>
|
||||
<button data-target="#Tree" class="@tabNavCss(CompileStep.Tree)" style="font-size: 1rem;" @onclick="() => NextStep(CompileStep.Tree)">@Traduci("ConfWind_Tree")</button>
|
||||
</li>
|
||||
<li class="nav-item m-1">
|
||||
<button data-target="#General" class="@tabNavCss(CompileStep.General)" style="font-size: 1rem;" @onclick="() => NextStep(CompileStep.General)">General</button>
|
||||
<button data-target="#General" class="@tabNavCss(CompileStep.General)" style="font-size: 1rem;" @onclick="() => NextStep(CompileStep.General)">@Traduci("ConfWind_General")</button>
|
||||
</li>
|
||||
@* @if (FrameWindow.Shape == Json.WindowConst.Shapes.ARC ||
|
||||
FrameWindow.Shape == Json.WindowConst.Shapes.ARC_FULL ||
|
||||
@@ -93,9 +93,9 @@
|
||||
</ul>
|
||||
</div>
|
||||
<div class="col-md-12 col-lg-6 d-grid gap-4 px-4 d-md-flex justify-content-md-end align-items-center flex-wrap">
|
||||
<button class="btn btn-lg btn-primary px-4" style="font-size: 1rem;" @onclick="DoReset">Reset</button>
|
||||
<button class="btn btn-lg btn-primary px-4" style="font-size: 1rem;" @onclick="DoSave">Save</button>
|
||||
<button class="btn btn-lg btn-primary px-4" style="font-size: 1rem;" @onclick="DoClose">Close</button>
|
||||
<button class="btn btn-lg btn-primary px-4" style="font-size: 1rem;" @onclick="DoReset">@Traduci("ConfWind_Reset")</button>
|
||||
<button class="btn btn-lg btn-primary px-4" style="font-size: 1rem;" @onclick="DoSave">@Traduci("ConfWind_Save")</button>
|
||||
<button class="btn btn-lg btn-primary px-4" style="font-size: 1rem;" @onclick="DoClose">@Traduci("ConfWind_Close")</button>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
@@ -113,6 +113,7 @@
|
||||
SplittedList="SplittedList"
|
||||
FillList="FillList"
|
||||
FrameWindow="FrameWindow"
|
||||
BaseUser="BaseUser"
|
||||
EC_NextStep="NextStepArgs"
|
||||
EC_Remove="RemoveArea"
|
||||
EC_Collapsed="CollapsedRowTree"
|
||||
@@ -129,7 +130,7 @@
|
||||
{
|
||||
m_PreviousWindow = m_CurrWindow;
|
||||
}
|
||||
<CascadingValue Value="baseUser" Name="User">
|
||||
<CascadingValue Value="BaseUser" Name="User">
|
||||
<CascadingValue Value="FrameWindow" Name="CurrFrameWindow">
|
||||
<CascadingValue Value="SashGroupList" Name="SashGroupList">
|
||||
<CascadingValue Value="SplitList" Name="SplitList">
|
||||
@@ -155,7 +156,7 @@
|
||||
}
|
||||
else
|
||||
{
|
||||
<CascadingValue Value="baseUser" Name="User">
|
||||
<CascadingValue Value="BaseUser" Name="User">
|
||||
<CardSplit CurrSplit="SplitList[currSplitIndex]"
|
||||
SashGroupList="SashGroupList"
|
||||
SplitList="SplitList"
|
||||
@@ -177,7 +178,7 @@
|
||||
}
|
||||
else
|
||||
{
|
||||
<CascadingValue Value="baseUser" Name="User">
|
||||
<CascadingValue Value="BaseUser" Name="User">
|
||||
<CascadingValue Value="currLoading" Name="IsLoading">
|
||||
<CascadingValue Value="SashGroupList[currSashIndex]" Name="CurrSashGroup">
|
||||
<CascadingValue Value="SashGroupList" Name="SashGroupList">
|
||||
@@ -207,7 +208,7 @@
|
||||
}
|
||||
else
|
||||
{
|
||||
<CascadingValue Value="baseUser" Name="User">
|
||||
<CascadingValue Value="BaseUser" Name="User">
|
||||
<CardInglesina CurrInglesina="InglesinaList[currInglesinaIndex]"
|
||||
SashGroupList="SashGroupList"
|
||||
InglesinaList="InglesinaList"
|
||||
@@ -231,7 +232,7 @@
|
||||
{
|
||||
<CardFill CurrIndex="currFillIndex"
|
||||
CurrFill="FillList[currFillIndex]"
|
||||
User="baseUser"
|
||||
User="BaseUser"
|
||||
EC_UpdateFill="UpdatePreviewFill"
|
||||
EC_ReqClose="ReturnTree">
|
||||
</CardFill>
|
||||
@@ -239,32 +240,32 @@
|
||||
<div class="card-body py-2">
|
||||
<div class="d-flex justify-content-between align-items-center">
|
||||
<div class="col-4 d-flex justify-content-left">
|
||||
<h5 class="text-center text-nowrap">All fill</h5>
|
||||
<h5 class="text-center text-nowrap">@Traduci("ConfWind_AllFill")</h5>
|
||||
</div>
|
||||
<div class="input-group mb-2 justify-content-center">
|
||||
@if (baseUser)
|
||||
@if (BaseUser)
|
||||
{
|
||||
<button class="@buttonFillCss(Json.WindowConst.FillTypes.GLASS)">All glass</button>
|
||||
<button class="@buttonFillCss(Json.WindowConst.FillTypes.GLASS)">@Traduci("ConfWind_AllGlass")</button>
|
||||
}
|
||||
else
|
||||
{
|
||||
<button class="@buttonFillCss(Json.WindowConst.FillTypes.GLASS)" @onclick="() => ChangeAllFill(WebWindowComplex.Json.WindowConst.FillTypes.GLASS)">All glass</button>
|
||||
<button class="@buttonFillCss(Json.WindowConst.FillTypes.GLASS)" @onclick="() => ChangeAllFill(WebWindowComplex.Json.WindowConst.FillTypes.GLASS)">@Traduci("ConfWind_AllGlass")</button>
|
||||
}
|
||||
</div>
|
||||
<div class="input-group mb-2 justify-content-center">
|
||||
@if (baseUser)
|
||||
@if (BaseUser)
|
||||
{
|
||||
<button class="@buttonFillCss(Json.WindowConst.FillTypes.WOOD)">All wood</button>
|
||||
<button class="@buttonFillCss(Json.WindowConst.FillTypes.WOOD)">@Traduci("ConfWind_AllWood")</button>
|
||||
}
|
||||
else
|
||||
{
|
||||
<button class="@buttonFillCss(Json.WindowConst.FillTypes.WOOD)" @onclick="() => ChangeAllFill(WebWindowComplex.Json.WindowConst.FillTypes.WOOD)">All wood</button>
|
||||
<button class="@buttonFillCss(Json.WindowConst.FillTypes.WOOD)" @onclick="() => ChangeAllFill(WebWindowComplex.Json.WindowConst.FillTypes.WOOD)">@Traduci("ConfWind_AllWood")</button>
|
||||
}
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
@if (!baseUser && SplittedList != null && SplittedList.Count > 0)
|
||||
@if (!BaseUser && SplittedList != null && SplittedList.Count > 0)
|
||||
{
|
||||
Splitted? currSplitted = SplittedList.Where(x => x.AreaList.First().Equals(FillList[currFillIndex])).FirstOrDefault();
|
||||
@if (currSplitted != null)
|
||||
@@ -287,7 +288,7 @@
|
||||
ListPayload="ListPayload"
|
||||
ListWarnings="listWarnings"
|
||||
DictPendReq="PendReq"
|
||||
User="baseUser"
|
||||
User="BaseUser"
|
||||
EC_UpdateGeneral="UpdatePreviewGeneral"
|
||||
EC_ReqClose="ReturnTree">
|
||||
</General>
|
||||
@@ -304,7 +305,7 @@
|
||||
<div class="col-md-6 col-lg-6">
|
||||
@if (string.IsNullOrWhiteSpace(LiveData.SvgPreview))
|
||||
{
|
||||
<LoadingData DisplayMode="LoadingData.SpinMode.BounceLine" DisplaySize="LoadingData.CtrlSize.Large"></LoadingData>
|
||||
<LoadingData DisplayMode="LoadingData.SpinMode.Normal" DisplaySize="LoadingData.CtrlSize.Large"></LoadingData>
|
||||
}
|
||||
else
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user