mirror of
https://gitlab.com/crafty-controller/crafty-4.git
synced 2025-01-31 04:46:11 +01:00
fixing server players
This commit is contained in:
parent
a2ec048422
commit
ae61c22d26
@ -11,13 +11,13 @@
|
|||||||
<tbody id="player-body">
|
<tbody id="player-body">
|
||||||
{% for player in data['cached_players'] %}
|
{% for player in data['cached_players'] %}
|
||||||
<tr id="playerItem-{{ player['name'] }}" class="playerItem-- text-center">
|
<tr id="playerItem-{{ player['name'] }}" class="playerItem-- text-center">
|
||||||
<td class="no-scroll" style="overflow: scroll;">
|
<td class="no-scroll">
|
||||||
<strong> {{ player['name'] }}</strong>
|
<strong> {{ player['name'] }}</strong>
|
||||||
</td>
|
</td>
|
||||||
{% if player['status'] == 'Online' %}
|
{% if player['status'] == 'Online' %}
|
||||||
<td class="no-scroll" style="overflow: scroll;"><span class="text-success"><i class="fas fa-signal"></i> {{ player['status'] }}</span></td>
|
<td class="no-scroll"><span class="text-success"><i class="fas fa-signal"></i> {{ player['status'] }}</span></td>
|
||||||
{% elif player['status'] == 'Offline' %}
|
{% elif player['status'] == 'Offline' %}
|
||||||
<td class="no-scroll" style="overflow: scroll;"><span class="text-warning"><i class="fa-regular fa-circle-xmark"></i><span class="offline-status"> {{ player['status'] }}</span><span class="conn-break"> Last connection :<br> {{ player['last_seen'] }}</span></span></td>
|
<td class="no-scroll"><span class="text-warning"><i class="fa-regular fa-circle-xmark"></i><span class="offline-status"> {{ player['status'] }}</span><span class="conn-break"> Last connection :<br> {{ player['last_seen'] }}</span></span></td>
|
||||||
{% end %}
|
{% end %}
|
||||||
<td class="buttons text-center">
|
<td class="buttons text-center">
|
||||||
{% if data['server_stats']['running'] %}
|
{% if data['server_stats']['running'] %}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user