From 191a68e7dd6a595452c222908489e8b7cd9675d4 Mon Sep 17 00:00:00 2001 From: RaidMax Date: Sun, 24 Jan 2021 13:30:22 -0600 Subject: [PATCH] revert unintended commit file --- .../Views/Server/_ClientActivity.cshtml | 73 +++++++++++-------- 1 file changed, 41 insertions(+), 32 deletions(-) diff --git a/WebfrontCore/Views/Server/_ClientActivity.cshtml b/WebfrontCore/Views/Server/_ClientActivity.cshtml index 5cea0f975..de43e762a 100644 --- a/WebfrontCore/Views/Server/_ClientActivity.cshtml +++ b/WebfrontCore/Views/Server/_ClientActivity.cshtml @@ -45,48 +45,57 @@ }
-
-
- @for (var i = 0; i < half; i++) - { - if (i > Model.Players.Count - 1) +
+
+ @{ + for (int i = 0; i < half; i++) { - continue; - } + if (i > Model.Players.Count - 1) + { + continue; + } - //Model.Players[i].Name = string.Join("", "DankMememachine12".Take(new Random().Next(14, 17))); + string levelColorClass = !ViewBag.Authorized ? "" : $"level-color-{Model.Players[i].LevelInt}"; +
+ @if (ViewBag.Authorized) + { + + } - string levelColorClass = !ViewBag.Authorized ? "" : $"level-color-{Model.Players[i].LevelInt}"; + + + - - - - - @if (ViewBag.Authorized) - { - + @if (ViewBag.Authorized) + { + + } +
+
} }
-
- @for (var i = half; i < Math.Min(Model.ClientCount, Model.Players.Count); i++) - { - if (i > Model.Players.Count - 1) +
+ @{ + for (int i = half; i < Math.Min(Model.ClientCount, Model.Players.Count); i++) { - continue; - } + if (i > Model.Players.Count - 1) + { + continue; + } - //Model.Players[i].Name = string.Join("", "DankMememachine12".Take(new Random().Next(14, 17))); + string levelColorClass = !ViewBag.Authorized ? "" : $"level-color-{Model.Players[i].LevelInt}"; - string levelColorClass = !ViewBag.Authorized ? "" : $"level-color-{Model.Players[i].LevelInt}"; - - - - - - @if (ViewBag.Authorized) - { - +
+ + + + @if (ViewBag.Authorized) + { + + } +
+
} }