mirror of
https://github.com/RaidMax/IW4M-Admin.git
synced 2025-06-10 15:20:48 -05:00
remove create proxy as it's not even used anymore
more fixes for alias stuff hopefully fix rare bug where client activity cshtml loop goes oob add URLProtocol format to event parsers to allow connecting through webfront
This commit is contained in:
@ -36,6 +36,10 @@
|
||||
@{
|
||||
for (int i = 0; i < half; i++)
|
||||
{
|
||||
if (i > Model.Players.Count - 1)
|
||||
{
|
||||
continue;
|
||||
}
|
||||
string levelColorClass = !ViewBag.Authorized ? "" : $"level-color-{Model.Players[i].LevelInt}";
|
||||
<span>@Html.ActionLink(Model.Players[i].Name, "ProfileAsync", "Client", new { id = Model.Players[i].ClientId }, new { @class = levelColorClass })</span><br />
|
||||
}
|
||||
@ -45,6 +49,10 @@
|
||||
@{
|
||||
for (int i = half; i < Math.Min(Model.ClientCount, Model.Players.Count); i++)
|
||||
{
|
||||
if (i > Model.Players.Count - 1)
|
||||
{
|
||||
continue;
|
||||
}
|
||||
string levelColorClass = !ViewBag.Authorized ? "" : $"level-color-{Model.Players[i].LevelInt}";
|
||||
<span>@Html.ActionLink(Model.Players[i].Name, "ProfileAsync", "Client", new { id = Model.Players[i].ClientId }, new { @class = levelColorClass })</span><br />
|
||||
}
|
||||
|
@ -1,6 +1,4 @@
|
||||
|
||||
@model SharedLibraryCore.Dtos.ServerInfo
|
||||
|
||||
@model SharedLibraryCore.Dtos.ServerInfo
|
||||
@{
|
||||
Layout = null;
|
||||
}
|
||||
@ -12,7 +10,12 @@
|
||||
</div>
|
||||
|
||||
<div id="server_clientactivity_@Model.ID" class="bg-dark row server-activity pt-2 pb-2">
|
||||
@await Html.PartialAsync("../Server/_ClientActivity", Model)
|
||||
<div class="col-4">
|
||||
<div class="oi oi-play-circle h1"></div>
|
||||
</div>
|
||||
<div class="col-8">
|
||||
@await Html.PartialAsync("../Server/_ClientActivity", Model)
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div class="row server-history mb-4">
|
||||
|
Reference in New Issue
Block a user