@if (CurrRecord == null || !dataLoaded)
{
diff --git a/MP.Mon/Components/DetailMSE.razor.cs b/MP.Mon/Components/DetailMSE.razor.cs
index 738c551a..d0a99243 100644
--- a/MP.Mon/Components/DetailMSE.razor.cs
+++ b/MP.Mon/Components/DetailMSE.razor.cs
@@ -139,7 +139,7 @@ namespace MP.Mon.Components
string answ = "";
if (CurrRecord != null)
{
- answ = CurrRecord.Semaforo == "sGr" ? "bg-light opacity-25" : "";
+ answ = CurrRecord.Semaforo == "sGr" ? cssOverlayOff : "";
}
return answ;
}
@@ -183,15 +183,21 @@ namespace MP.Mon.Components
return answ;
}
+ [Inject]
+ protected IConfiguration config { get; set; } = null!;
+
protected override async Task OnInitializedAsync()
{
//StartTimer();
Random rnd = new Random();
await Task.Delay(rnd.Next(5));
+ cssOverlayOff = config.GetValue
("ServerConf:cssOverlayOff");
setupConf();
dataLoaded = true;
}
+ private string cssOverlayOff = "bg-dark text-light opacity-100";
+
///
/// Restituisce (se presenti) valori di override per la riga indicata
///
diff --git a/MP.Mon/MP.Mon.csproj b/MP.Mon/MP.Mon.csproj
index 2fac77a8..140e79bc 100644
--- a/MP.Mon/MP.Mon.csproj
+++ b/MP.Mon/MP.Mon.csproj
@@ -4,11 +4,14 @@
net6.0
enable
enable
- 6.16.2402.2613
+ 6.16.2402.2615
-
+
+
+
+
@@ -58,10 +61,6 @@
Always
-
-
-
-
diff --git a/MP.Mon/Resources/ChangeLog.html b/MP.Mon/Resources/ChangeLog.html
index 70fb73e0..4b52071c 100644
--- a/MP.Mon/Resources/ChangeLog.html
+++ b/MP.Mon/Resources/ChangeLog.html
@@ -1,6 +1,6 @@
Modulo MON MAPO
- Versione: 6.16.2402.2613
+ Versione: 6.16.2402.2615
Note di rilascio:
-
diff --git a/MP.Mon/Resources/VersNum.txt b/MP.Mon/Resources/VersNum.txt
index 3d5823df..5d451f5d 100644
--- a/MP.Mon/Resources/VersNum.txt
+++ b/MP.Mon/Resources/VersNum.txt
@@ -1 +1 @@
-6.16.2402.2613
+6.16.2402.2615
diff --git a/MP.Mon/Resources/manifest.xml b/MP.Mon/Resources/manifest.xml
index 1a41aa77..d81ba4c9 100644
--- a/MP.Mon/Resources/manifest.xml
+++ b/MP.Mon/Resources/manifest.xml
@@ -1,6 +1,6 @@
-
- 6.16.2402.2613
+ 6.16.2402.2615
https://nexus.steamware.net/repository/SWS/MP-MON/stable/LAST/MP.Mon.zip
https://nexus.steamware.net/repository/SWS/MP-MON/stable/LAST/ChangeLog.html
false
diff --git a/MP.Mon/appsettings.json b/MP.Mon/appsettings.json
index 3445d029..929bae28 100644
--- a/MP.Mon/appsettings.json
+++ b/MP.Mon/appsettings.json
@@ -13,6 +13,9 @@
"Redis": "localhost:6379,DefaultDatabase=1,connectTimeout=5000,syncTimeout=5000,asyncTimeout=5000,abortConnect=false,ssl=false"
},
"ServerConf": {
- "maxAge": "2000"
+ "maxAge": "2000",
+ //"cssOverlayOff": "bg-secondary bg-opacity-75"
+ //"cssOverlayOff": "bg-dark text-light bg-opacity-50"
+ "cssOverlayOff": "bg-dark text-light opacity-50"
}
}