IW4M-Admin/WebfrontCore/Views/Server/_Server.cshtml

21 lines
884 B
Plaintext
Raw Normal View History

2018-02-21 20:29:23 -05:00

2018-04-08 02:44:42 -04:00
@model SharedLibraryCore.Dtos.ServerInfo
2018-02-21 20:29:23 -05:00
@{
Layout = null;
}
<div class="row server-header" id="server_header_@Model.ID">
2018-02-21 20:29:23 -05:00
<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"><span class="server-clientcount">@Model.ClientCount</span>/<span class="server-maxclients">@Model.MaxClients</span></div>
2018-02-21 20:29:23 -05:00
</div>
<div id="server_clientactivity_@Model.ID" class="bg-dark row server-activity pt-2 pb-2">
@await Html.PartialAsync("../Server/_ClientActivity", Model)
2018-02-21 20:29:23 -05:00
</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))' data-online="@Model.Online"></div>
2018-02-21 20:29:23 -05:00
</div>