arma-server-web-admin/public/js/tpl/servers/gamespy.html
2014-04-09 00:24:06 +02:00

30 lines
920 B
HTML

<h3>Server Status from Gamespy</h3>
<% if (typeof(error) != "undefined") { %>
<form class="form-horizontal" role="form">
<div class="form-group">
<label class="col-sm-2 control-label">Error</label>
<div class="col-sm-10">
<p class="form-control-static"><%= error %></p>
</div>
</div>
</form>
<% } else if (typeof(running) != "undefined" && running) { %>
<form class="form-horizontal" role="form">
<div class="form-group">
<label class="col-sm-2 control-label">Players</label>
<div class="col-sm-10">
<p class="form-control-static"><%= numplayers %> / <%= maxplayers %></p>
</div>
</div>
<div class="form-group">
<label class="col-sm-2 control-label">Mission</label>
<div class="col-sm-10">
<p class="form-control-static"><%= mission %></p>
</div>
</div>
</form>
<% } else { %>
Server is not running
<% } %>