arma-server-web-admin/public/js/tpl/servers/players.html
2014-11-09 19:07:00 +01:00

24 lines
432 B
HTML

<% if (state) { %>
<table class="table table-striped">
<thead>
<tr>
<th>Name</th>
<th>Score</th>
</tr>
</thead>
<tbody>
<% _.each(players(), function(player) { %>
<tr>
<td><%= player.name %></td>
<td><%= player.score %></td>
</tr>
<% }); %>
</tbody>
</table>
<% } else { %>
<tr>
<td>Server not online</td>
<td>&nbsp;</td>
</tr>
<% } %>