diff --git a/MP.Land/MP.Land.csproj b/MP.Land/MP.Land.csproj index 9fedb20e..0e8b53c4 100644 --- a/MP.Land/MP.Land.csproj +++ b/MP.Land/MP.Land.csproj @@ -3,7 +3,7 @@ net6.0 MP.Land - 6.15.2207.0610 + 6.15.2207.0613 diff --git a/MP.Land/Pages/About.razor b/MP.Land/Pages/About.razor index 454aeb2c..945c6f4d 100644 --- a/MP.Land/Pages/About.razor +++ b/MP.Land/Pages/About.razor @@ -64,7 +64,7 @@ @Applicazione -
+
Licenze:
@@ -80,7 +80,7 @@ @($"{Scadenza:yyyy/MM/dd}")
-
+
Key
diff --git a/MP.Land/Pages/About.razor.cs b/MP.Land/Pages/About.razor.cs index ef15468e..d07f8e45 100644 --- a/MP.Land/Pages/About.razor.cs +++ b/MP.Land/Pages/About.razor.cs @@ -32,8 +32,9 @@ namespace MP.Land.Pages private string MastKey = "########################"; private string mainCss = "alert alert-info"; - private string remSrvCss = "bg-danger text-warning"; - private string expDateCss = "bg-danger text-warning"; + private string remSrvCss = "bg-warning text-secondary"; + private string expDateCss = "bg-warning text-secondary"; + private string licenseCss = "bg-warning text-secondary"; protected override async Task OnInitializedAsync() { @@ -59,9 +60,11 @@ namespace MP.Land.Pages var fatto = await LicServ.RefreshLicense(); await Task.Delay(cDelay); Licenze = $"{LicServ.NumLicDb}/{LicServ.NumLicRemote}"; + licenseCss = ""; } catch(Exception exc) { + licenseCss = "bg-dark text-warning"; Log.Error($"Eccezione in reloadLicenseData:{Environment.NewLine}{exc}"); } bool okRemoteSrv = ServerStatus == "OK"; @@ -70,8 +73,8 @@ namespace MP.Land.Pages // aggiornamento css secondo status colore da check mainCss = okNumLic ? "alert alert-success shadowBox" : "alert alert-warning shadowBox"; - expDateCss = okScadenza ? "d-flex justify-content-between" : "d-flex justify-content-between bg-danger text-warning"; - remSrvCss = okRemoteSrv ? "d-flex justify-content-between" : "d-flex justify-content-between bg-danger text-warning"; + expDateCss = okScadenza ? "" : "bg-danger text-warning"; + remSrvCss = okRemoteSrv ? "" : "bg-danger text-warning"; await Task.Delay(cDelay); } diff --git a/MP.Land/Resources/ChangeLog.html b/MP.Land/Resources/ChangeLog.html index e3171d71..ebe1f3c4 100644 --- a/MP.Land/Resources/ChangeLog.html +++ b/MP.Land/Resources/ChangeLog.html @@ -1,6 +1,6 @@ Modulo gestione Programmi MAPO -

Versione: 6.15.2207.0610

+

Versione: 6.15.2207.0613


Note di rilascio:
    diff --git a/MP.Land/Resources/VersNum.txt b/MP.Land/Resources/VersNum.txt index 63c689bc..400a4a05 100644 --- a/MP.Land/Resources/VersNum.txt +++ b/MP.Land/Resources/VersNum.txt @@ -1 +1 @@ -6.15.2207.0610 +6.15.2207.0613 diff --git a/MP.Land/Resources/manifest.xml b/MP.Land/Resources/manifest.xml index c975a95f..e104fca1 100644 --- a/MP.Land/Resources/manifest.xml +++ b/MP.Land/Resources/manifest.xml @@ -1,6 +1,6 @@ - 6.15.2207.0610 + 6.15.2207.0613 https://nexus.steamware.net/repository/SWS/MP-LAND/stable/LAST/MP.Land.zip https://nexus.steamware.net/repository/SWS/MP-LAND/stable/LAST/ChangeLog.html false