diff --git a/Application/EventParsers/BaseEventParser.cs b/Application/EventParsers/BaseEventParser.cs index 65c5756e1..fdb5cc37a 100644 --- a/Application/EventParsers/BaseEventParser.cs +++ b/Application/EventParsers/BaseEventParser.cs @@ -130,7 +130,6 @@ namespace IW4MAdmin.Application.EventParsers int clientNumber = int.Parse(matchResult.Values[Configuration.Say.GroupMapping[ParserRegex.GroupType.OriginClientNumber]]); - // todo: these need to defined outside of here if (message.StartsWith(_appConfig.CommandPrefix) || message.StartsWith(_appConfig.BroadcastCommandPrefix)) { return new GameEvent() diff --git a/WebfrontCore/Views/Server/_ClientActivity.cshtml b/WebfrontCore/Views/Server/_ClientActivity.cshtml index 01f104643..4dd613eb9 100644 --- a/WebfrontCore/Views/Server/_ClientActivity.cshtml +++ b/WebfrontCore/Views/Server/_ClientActivity.cshtml @@ -4,7 +4,7 @@ Layout = null; int half = Model.ClientCount == 0 || Model.Players.Count == 0 ? 0 : (int)Math.Ceiling(Model.ClientCount / 2.0); } -
+
@{ for (int i = 0; i < Model.ChatHistory.Count; i++) { @@ -42,8 +42,8 @@ } }
-
-
+
+
@{ for (int i = 0; i < half; i++) @@ -53,18 +53,17 @@ continue; } - if (ViewBag.Authorized) - { - - } string levelColorClass = !ViewBag.Authorized ? "" : $"level-color-{Model.Players[i].LevelInt}"; - - - - if (ViewBag.Authorized) - { - - } +
+ + + + + @if (ViewBag.Authorized) + { + + } +

} } @@ -79,14 +78,17 @@ } string levelColorClass = !ViewBag.Authorized ? "" : $"level-color-{Model.Players[i].LevelInt}"; - - - - if (ViewBag.Authorized) - { - - } -
+ +
+ + + + @if (ViewBag.Authorized) + { + + } +
+
} }