2014-04-08 21:49:40 +00:00
|
|
|
<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>
|
2014-04-08 22:24:06 +00:00
|
|
|
<% } else { %>
|
|
|
|
Server is not running
|
2014-04-08 21:49:40 +00:00
|
|
|
<% } %>
|