From 5f51ad4a6a813b5c64b0d150ca9d04173f3fb86a Mon Sep 17 00:00:00 2001 From: Peter Pfeufer Date: Sat, 9 Dec 2023 17:58:50 +0100 Subject: [PATCH] [CHANGE] Use cards --- .../timerboard/templates/timerboard/view.html | 61 +++++++++++++------ 1 file changed, 44 insertions(+), 17 deletions(-) diff --git a/allianceauth/timerboard/templates/timerboard/view.html b/allianceauth/timerboard/templates/timerboard/view.html index 9028549c..2b8da1ae 100644 --- a/allianceauth/timerboard/templates/timerboard/view.html +++ b/allianceauth/timerboard/templates/timerboard/view.html @@ -23,7 +23,7 @@ {% endif %} -
+
{% translate "Current Eve Time:" %} @@ -31,27 +31,54 @@
{% if corp_timers %} -

{% translate "Corp Timers" %}

- {% include "timerboard/timertable.html" with timers=corp_timers %} - {% endif %} +
+
+
+ {% translate "Corporation Timers" %} +
+
-

{% translate "Next Timers" %}

- {% if future_timers %} - {% include "timerboard/timertable.html" with timers=future_timers %} - {% else %} -
- {% translate "No upcoming timers." %} +
+ {% include "timerboard/timertable.html" with timers=corp_timers %} +
{% endif %} -

{% translate "Past Timers" %}

- {% if past_timers %} - {% include "timerboard/timertable.html" with timers=past_timers %} - {% else %} -
- {% translate "No past timers." %} +
+
+
+ {% translate "Upcoming Timers" %} +
- {% endif %} + +
+ {% if future_timers %} + {% include "timerboard/timertable.html" with timers=future_timers %} + {% else %} +
+ {% translate "No upcoming timers." %} +
+ {% endif %} +
+
+ +
+
+
+ {% translate "Past Timers" %} +
+
+ +
+ {% if past_timers %} + {% include "timerboard/timertable.html" with timers=past_timers %} + {% else %} +
+ {% translate "No past timers." %} +
+ {% endif %} +
+
{% endblock content %}