2019-04-06 22:48:49 -04:00
|
|
|
@model SharedLibraryCore.Dtos.ServerInfo
|
2018-02-21 20:29:23 -05:00
|
|
|
@{
|
|
|
|
Layout = null;
|
|
|
|
}
|
|
|
|
|
2019-04-07 21:14:59 -04:00
|
|
|
<div class="row server-header pt-1 pb-1 bg-primary " id="server_header_@Model.ID">
|
|
|
|
<div class="col-md-4 text-center text-md-left d-inline-flex justify-content-center justify-content-md-start">
|
|
|
|
<span>@Model.Name</span>
|
|
|
|
<a href="@Model.ConnectProtocolUrl" class="ml-2 align-self-center d-none d-md-flex server-join-button" title="@SharedLibraryCore.Utilities.CurrentLocalization.LocalizationIndex["WEBFRONT_HOME_JOIN_DESC"]">
|
2019-04-08 13:29:48 -04:00
|
|
|
<span class="oi oi-play-circle mr-2 align-self-center"></span>
|
|
|
|
<span class="server-header-ip-address" style="display:none;">@Model.IPAddress</span>
|
2019-04-07 21:14:59 -04:00
|
|
|
</a>
|
|
|
|
</div>
|
|
|
|
<div class="text-center col-md-4">@Model.Map</div>
|
|
|
|
<div class="text-center text-md-right col-md-4"><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">
|
2019-04-07 21:14:59 -04:00
|
|
|
@await Html.PartialAsync("../Server/_ClientActivity", Model)
|
2018-02-21 20:29:23 -05:00
|
|
|
</div>
|
|
|
|
|
|
|
|
<div class="row server-history mb-4">
|
2019-04-07 21:14:59 -04:00
|
|
|
<div class="server-history-row" 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>
|