From ee56a5db1f16ded6e014b2dcd63556e9f46eaf98 Mon Sep 17 00:00:00 2001 From: RaidMax Date: Sat, 4 Jun 2022 09:21:08 -0500 Subject: [PATCH] fix map/gametype alignment on server overview and add back ip display on connect click --- WebfrontCore/Views/Server/_Server.cshtml | 17 ++++++++++------- WebfrontCore/wwwroot/js/server.js | 2 +- 2 files changed, 11 insertions(+), 8 deletions(-) diff --git a/WebfrontCore/Views/Server/_Server.cshtml b/WebfrontCore/Views/Server/_Server.cshtml index 19647966..dffa61f1 100644 --- a/WebfrontCore/Views/Server/_Server.cshtml +++ b/WebfrontCore/Views/Server/_Server.cshtml @@ -19,16 +19,17 @@ }
-
-
-
+
+ +
+
+
-
+ +
@Model.Map @if (!string.IsNullOrEmpty(Model.GameType) && Model.GameType.Length > 1) { @@ -51,7 +53,8 @@ @Model.GameType }
-
+ +
@if (Model.LobbyZScore != null) {
diff --git a/WebfrontCore/wwwroot/js/server.js b/WebfrontCore/wwwroot/js/server.js index 8699f767..0621455c 100644 --- a/WebfrontCore/wwwroot/js/server.js +++ b/WebfrontCore/wwwroot/js/server.js @@ -150,7 +150,7 @@ function refreshClientActivity(serverId) { $(document).ready(function () { $('.server-join-button').click(function (e) { - $(this).children('.server-header-ip-address').show(); + $(this).parent().parent().find('.server-header-ip-address').show(); }); $('.server-history-row').each(function (index, element) {