Aggiunto livello utente (utente base vs utente avanzato)
This commit is contained in:
@@ -92,6 +92,12 @@ namespace WebWindowComplex
|
||||
[Parameter]
|
||||
public LivePayload LiveData { get; set; } = null!;
|
||||
|
||||
/// <summary>
|
||||
/// Livello di accesso (utente base)
|
||||
/// </summary>
|
||||
[Parameter]
|
||||
public bool baseUser { get; set; } = false!;
|
||||
|
||||
#endregion Public Properties
|
||||
|
||||
#region Public Methods
|
||||
@@ -1294,6 +1300,20 @@ namespace WebWindowComplex
|
||||
}
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// Calcola bottone per tutti i Fill
|
||||
/// </summary>
|
||||
/// <returns></returns>
|
||||
private string buttonFillCss(FillTypes reqFillTypes)
|
||||
{
|
||||
foreach (var fill in FillList)
|
||||
{
|
||||
if (!fill.FillType.Equals(reqFillTypes))
|
||||
return "btn btn-outline-secondary btn-sm";
|
||||
}
|
||||
return "btn btn-secondary btn-sm";
|
||||
}
|
||||
|
||||
#endregion Private Methods
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user