Aggiunto livello utente (utente base vs utente avanzato)

This commit is contained in:
Annamaria Sassi
2026-01-19 10:31:08 +01:00
parent bc96177d74
commit aae2fa5ba7
29 changed files with 958 additions and 1450 deletions
+20
View File
@@ -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
}
}