-
Notifications
You must be signed in to change notification settings - Fork 9
Expand file tree
/
Copy pathplayerlistonline.html
More file actions
36 lines (35 loc) · 1 KB
/
playerlistonline.html
File metadata and controls
36 lines (35 loc) · 1 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
<link href="css/bootstrap-sortable.css" rel="stylesheet">
<script src="js/bootstrap-sortable.js"></script>
<div class="row">
<div id="breadcrumb" class="col-xs-12">
<ol class="breadcrumb">
<li><a href="#">Dashboard</a></li>
<li><a href="#">Players</a></li>
<li><a href="#">Online Players</a></li>
</ol>
</div>
</div>
<div class="row">
<div class="col-xs-12 col-sm-12">
<table class="table table-bordered sortable">
<thead>
<tr>
<th data-defaultsort='asc'>Name</th>
<th>Planet</th>
<th>Access Level</th>
<th>Last Seen</th>
</tr>
</thead>
<tbody>
{% for player in handler.playerlistonline %}
<tr>
<td data-value="{{ player.name }}"><a href="#" onclick="LoadAjaxContent('ajax/playeredit.html?playername={{ player.name }}');">{{ player.name }}</a></td>
<td>{{ player.planet }}</td>
<td>{{ player.access_level }}</td>
<td>{{ str(player.last_seen).rpartition('.')[0] }}</td>
</tr>
{% end %}
</tbody>
</table>
</div>
</div>