diff --git a/l4d2web/templates/_live_state.html b/l4d2web/templates/_live_state.html index 32476d6..00944d1 100644 --- a/l4d2web/templates/_live_state.html +++ b/l4d2web/templates/_live_state.html @@ -1,65 +1,60 @@ -
-

Live state

- {% if not snapshot or not snapshot_fresh %} -

No data — server is not currently reporting.

- {% else %} -

- {{ snapshot.players }}/{{ snapshot.max_players }} - {% if snapshot.hibernating %}· idle{% endif %} - · {{ snapshot.map }} - - polled {{ ((now - snapshot.last_seen_at).total_seconds() | int) }}s ago - -

- {% endif %} +

Live state

+{% if not snapshot or not snapshot_fresh %} +

No data — server is not currently reporting.

+{% else %} +

+ {{ snapshot.players }}/{{ snapshot.max_players }} + {% if snapshot.hibernating %}· idle{% endif %} + · {{ snapshot.map }} + + polled {{ ((now - snapshot.last_seen_at).total_seconds() | int) }}s ago + +

+{% endif %} - {% if current_players %} -

Current players

- - {% endif %} +{% if current_players %} +

Current players

+ +{% endif %} - {% if recent_players %} -

Recent players

- - {% endif %} -
+{% if recent_players %} +

Recent players

+ +{% endif %} diff --git a/l4d2web/templates/server_detail.html b/l4d2web/templates/server_detail.html index 508f044..3478e44 100644 --- a/l4d2web/templates/server_detail.html +++ b/l4d2web/templates/server_detail.html @@ -22,7 +22,7 @@
+ hx-swap="innerHTML">

Files