Aggiunto livello utente (utente base vs utente avanzato)
This commit is contained in:
@@ -14,22 +14,38 @@
|
||||
<div class="row">
|
||||
<div class="col-md-12 col-lg-6 d-flex flex-column gap-2 flex-wrap">
|
||||
<div class="input-group mb-2 justify-content-center">
|
||||
<label class="input-group-text">Material</label>
|
||||
<select class="form-select @(cssValid("Material"))" @bind="CurrMaterial">
|
||||
@foreach (var item in ListPayload.Material)
|
||||
{
|
||||
<option value="@item">@item</option>
|
||||
}
|
||||
</select>
|
||||
@if (User)
|
||||
{
|
||||
<span class="input-group-text">Material</span>
|
||||
<input type="text" readonly class="form-control" value="@(CurrMaterial)">
|
||||
}
|
||||
else
|
||||
{
|
||||
<label class="input-group-text">Material</label>
|
||||
<select class="form-select @(cssValid("Material"))" @bind="CurrMaterial">
|
||||
@foreach (var item in ListPayload.Material)
|
||||
{
|
||||
<option value="@item">@item</option>
|
||||
}
|
||||
</select>
|
||||
}
|
||||
</div>
|
||||
<div class="input-group mb-2">
|
||||
<label class="input-group-text">Profile</label>
|
||||
<select class="form-select @(cssValid("Profile"))" @bind="@CurrProfile">
|
||||
@foreach (string profile in ListPayload.Profile)
|
||||
{
|
||||
<option value="@profile">@profile</option>
|
||||
}
|
||||
</select>
|
||||
@if (User)
|
||||
{
|
||||
<span class="input-group-text">Profile</span>
|
||||
<input type="text" readonly class="form-control" value="@(CurrProfile)">
|
||||
}
|
||||
else
|
||||
{
|
||||
<label class="input-group-text">Profile</label>
|
||||
<select class="form-select @(cssValid("Profile"))" @bind="@CurrProfile">
|
||||
@foreach (string profile in ListPayload.Profile)
|
||||
{
|
||||
<option value="@profile">@profile</option>
|
||||
}
|
||||
</select>
|
||||
}
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
@@ -41,13 +57,21 @@
|
||||
</div>
|
||||
<div class="row">
|
||||
<div class="input-group mb-2">
|
||||
<label class="input-group-text">Glass</label>
|
||||
<select class="form-select @(cssValid("Glass"))" @bind="@CurrGlass">
|
||||
@foreach (string glass in ListPayload.Glass)
|
||||
{
|
||||
<option value="@glass">@glass</option>
|
||||
}
|
||||
</select>
|
||||
@if (User)
|
||||
{
|
||||
<span class="input-group-text">Glass</span>
|
||||
<input type="text" readonly class="form-control" value="@(CurrGlass)">
|
||||
}
|
||||
else
|
||||
{
|
||||
<label class="input-group-text">Glass</label>
|
||||
<select class="form-select @(cssValid("Glass"))" @bind="@CurrGlass">
|
||||
@foreach (string glass in ListPayload.Glass)
|
||||
{
|
||||
<option value="@glass">@glass</option>
|
||||
}
|
||||
</select>
|
||||
}
|
||||
</div>
|
||||
<div class="input-group mb-2">
|
||||
<label class="input-group-text">Pannello</label>
|
||||
@@ -65,13 +89,21 @@
|
||||
</div>
|
||||
<div class ="row">
|
||||
<div class="input-group mb-2">
|
||||
<label class="input-group-text">Window</label>
|
||||
<select class="form-select @(cssValid("ColorMaterial"))" @bind="@CurrColor">
|
||||
@foreach (string colorMaterial in ListPayload.ColorMaterial)
|
||||
{
|
||||
<option value="@colorMaterial">@colorMaterial</option>
|
||||
}
|
||||
</select>
|
||||
@if (User)
|
||||
{
|
||||
<span class="input-group-text">Window</span>
|
||||
<input type="text" readonly class="form-control" value="@(CurrColor)">
|
||||
}
|
||||
else
|
||||
{
|
||||
<label class="input-group-text">Window</label>
|
||||
<select class="form-select @(cssValid("ColorMaterial"))" @bind="@CurrColor">
|
||||
@foreach (string colorMaterial in ListPayload.ColorMaterial)
|
||||
{
|
||||
<option value="@colorMaterial">@colorMaterial</option>
|
||||
}
|
||||
</select>
|
||||
}
|
||||
</div>
|
||||
<div class="input-group mb-2">
|
||||
<label class="input-group-text">Trunking</label>
|
||||
|
||||
Reference in New Issue
Block a user