IW4M-Admin/WebfrontCore/Views/Server/_Server.cshtml
RaidMax e974de8e63 vpn check updates, fixed some issues,
"masked" status is now sensitive
discord link in webfront if configured
2018-03-13 16:30:22 -05:00

22 lines
779 B
Plaintext

@model SharedLibrary.Dtos.ServerInfo
@{
Layout = null;
ViewBag.Description += Model.Name + ", ";
}
<div class="row server-header">
<div class="col-md-4 bg-primary text-center text-md-left">@Model.Name</div>
<div class="text-center col-md-4 bg-primary">@Model.Map</div>
<div class="text-center text-md-right col-md-4 bg-primary">@Model.ClientCount/@Model.MaxClients</div>
</div>
<div id="server_clientactivity_@Model.ID" class="bg-dark row server-activity pt-2 pb-2">
@Html.Partial("../Server/_ClientActivity", Model)
</div>
<div class="row server-history mb-4">
<div class="server-history-row col-md-12" id="server_history_@Model.ID" data-serverid="@Model.ID" data-clienthistory='@Html.Raw(Json.Serialize(Model.PlayerHistory))'></div>
</div>