TAB3:
- Completata review chewron up/down
This commit is contained in:
@@ -1,8 +1,8 @@
|
||||
@if (ShowInsFermata)
|
||||
{
|
||||
<button class="btn w-100 btn-lg flashingRed mb-2 p-3 fs-2" @onclick="@GoToFermate"><i class="fa fa-lg fa-exclamation-triangle"></i> DICHIARARE FERMO <i class="fa fa-lg fa-exclamation-triangle"></i></button>
|
||||
<button class="btn w-100 btn-lg flashingRed mb-2 p-2 fs-3" @onclick="@GoToFermate"><i class="fa fa-lg fa-exclamation-triangle"></i> DICHIARARE FERMO <i class="fa fa-lg fa-exclamation-triangle"></i></button>
|
||||
}
|
||||
@if (ShowReqControls)
|
||||
{
|
||||
<button class="btn w-100 btn-lg flashingPurple mb-2 p-3 fs-2" @onclick="GoToControls"><i class="fa fa-lg fa-flask"></i> EFFETTUARE CONTROLLO<i class="fa fa-lg fa-flask"></i></button>
|
||||
<button class="btn w-100 btn-lg flashingPurple mb-2 p-2 fs-3" @onclick="GoToControls"><i class="fa fa-lg fa-flask"></i> EFFETTUARE CONTROLLO<i class="fa fa-lg fa-flask"></i></button>
|
||||
}
|
||||
@@ -34,6 +34,11 @@ namespace MP_TAB3.Components
|
||||
|
||||
#region Protected Properties
|
||||
|
||||
protected string btnCss
|
||||
{
|
||||
get => ShowDetail ? "bt-dark text-primary border-primary border-2" : "btn-primary";
|
||||
}
|
||||
|
||||
protected string BtnCss
|
||||
{
|
||||
get => IsNewRec ? "btn btn-success" : "btn btn-primary";
|
||||
@@ -56,6 +61,11 @@ namespace MP_TAB3.Components
|
||||
}
|
||||
}
|
||||
|
||||
protected string faCss
|
||||
{
|
||||
get => ShowDetail ? "fa-chevron-up" : "fa-chevron-down";
|
||||
}
|
||||
|
||||
protected List<AnagTagsModel> ListComplete { get; set; } = new List<AnagTagsModel>();
|
||||
|
||||
[Inject]
|
||||
@@ -124,17 +134,6 @@ namespace MP_TAB3.Components
|
||||
await E_Updated.InvokeAsync(true);
|
||||
}
|
||||
|
||||
|
||||
protected string faCss
|
||||
{
|
||||
get => ShowDetail ? "fa-chevron-up" : "fa-chevron-down";
|
||||
}
|
||||
protected string btnCss
|
||||
{
|
||||
get => ShowDetail ? "bt-dark text-primary border-primary border-2" : "btn-primary";
|
||||
}
|
||||
|
||||
|
||||
protected override async Task OnInitializedAsync()
|
||||
{
|
||||
currRec = new RegistroDichiarazioniModel()
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
<div class="textCondens mb-1">
|
||||
<a runat="server" href="@navUrl" target="_blank" class="btn btn-lg btn-primary w-100 py-2 px-4">MAG <i class="fa-solid fa-print"></i></a>
|
||||
<a runat="server" href="@navUrl" target="_blank" class="btn btn-lg btn-info w-100 py-2 px-4">MAG <i class="fa-solid fa-print"></i></a>
|
||||
</div>
|
||||
|
||||
|
||||
|
||||
@@ -116,8 +116,6 @@
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
|
||||
</div>
|
||||
}
|
||||
<div class="row textCondens mt-2 px-2">
|
||||
@@ -197,10 +195,10 @@
|
||||
{
|
||||
<div class="row textCondens mt-1 py-1">
|
||||
<div class="col-6 pe-1">
|
||||
<a class="btn btn-lg btn-info w-100 py-2 px-1 " style="min-width: 6rem;" href="scrap"><i class="fa fa-bug"></i> Reg. SCARTI</a>
|
||||
<a class="btn btn-lg btn-primary w-100 py-2 px-1 " style="min-width: 6rem;" href="scrap"><i class="fa fa-bug pe-1"></i> SCARTI</a>
|
||||
</div>
|
||||
<div class=" col-6 ps-1">
|
||||
<a class="btn btn-lg btn-primary w-100 py-2 px-1" style="min-width: 6rem;" href="controls"><i class="fa fa-wrench"></i> Reg. CONTROLLI</a>
|
||||
<a class="btn btn-lg btn-primary w-100 py-2 px-1" style="min-width: 6rem;" href="controls"><i class="fa fa-wrench pe-1"></i> CONTROLLI</a>
|
||||
</div>
|
||||
</div>
|
||||
}
|
||||
|
||||
@@ -1,10 +1,10 @@
|
||||
<div class="fs-6">
|
||||
<div class="row">
|
||||
<div class="col-12">
|
||||
<button class="btn btn-lg bg-info w-100" @onclick="ToggleCtrl">
|
||||
<i class="fa-solid fa-bug"></i>
|
||||
|
||||
<span class="fw-bold" style="font-size: 1rem;">@Title</span>
|
||||
<button class="btn btn-lg @btnCss w-100" @onclick="ToggleCtrl">
|
||||
<i class="fa-solid fa-bug pe-1"></i>
|
||||
<span class="fs-4 fw-bold">@Title</span>
|
||||
<i class="fa @faCss ps-1"></i>
|
||||
</button>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
@@ -31,6 +31,15 @@ namespace MP_TAB3.Components
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
protected string faCss
|
||||
{
|
||||
get => ShowDetail ? "fa-chevron-up" : "fa-chevron-down";
|
||||
}
|
||||
protected string btnCss
|
||||
{
|
||||
get => ShowDetail ? "bt-dark border-primary border-2" : "btn-primary";
|
||||
}
|
||||
protected string errMsg { get; set; } = "";
|
||||
protected List<vSelCauScartoModel> listCauScarto { get; set; } = new List<vSelCauScartoModel>();
|
||||
|
||||
@@ -179,7 +188,7 @@ namespace MP_TAB3.Components
|
||||
|
||||
private int numPz { get; set; } = 1;
|
||||
|
||||
private bool ShowDetail { get; set; } = true;
|
||||
private bool ShowDetail { get; set; } = false;
|
||||
|
||||
private string userComment { get; set; } = "";
|
||||
|
||||
|
||||
Reference in New Issue
Block a user