diff --git a/Controllers/DashboardController.cs b/Controllers/DashboardController.cs index 8037411..66994c8 100644 --- a/Controllers/DashboardController.cs +++ b/Controllers/DashboardController.cs @@ -249,6 +249,12 @@ public IActionResult Display() Environment.SetEnvironmentVariable("TOPIC", "inray/#"); break; } + + if (key.Contains("Samson")) + { + Environment.SetEnvironmentVariable("TOPIC", "samson/#"); + break; + } } _subscriber.Stop(); diff --git a/UACloudDashboard.csproj b/UACloudDashboard.csproj index 1878e45..7127c9b 100644 --- a/UACloudDashboard.csproj +++ b/UACloudDashboard.csproj @@ -141,6 +141,9 @@ PreserveNewest + + PreserveNewest + diff --git a/Views/Dashboard/Index.cshtml b/Views/Dashboard/Index.cshtml index 54e4b75..4a21f82 100644 --- a/Views/Dashboard/Index.cshtml +++ b/Views/Dashboard/Index.cshtml @@ -48,7 +48,7 @@ - + @@ -120,7 +120,7 @@ - + @@ -172,6 +172,12 @@ + + + + + + diff --git a/wwwroot/samson.png b/wwwroot/samson.png new file mode 100644 index 0000000..2db841a Binary files /dev/null and b/wwwroot/samson.png differ