mirror of
https://gitlab.com/allianceauth/allianceauth.git
synced 2025-07-11 21:40:17 +02:00
[CHANGE] Use cards
This commit is contained in:
parent
0bd3acc230
commit
5f51ad4a6a
@ -23,7 +23,7 @@
|
||||
{% endif %}
|
||||
</div>
|
||||
|
||||
<div class="col-lg-12 text-center">
|
||||
<div class="col-lg-12 text-center mb-3">
|
||||
<div class="badge bg-info text-start">
|
||||
<span>{% translate "Current Eve Time:" %}</span>
|
||||
<span id="current-time"></span>
|
||||
@ -31,11 +31,27 @@
|
||||
</div>
|
||||
|
||||
{% if corp_timers %}
|
||||
<h4><b>{% translate "Corp Timers" %}</b></h4>
|
||||
<div class="card mb-3">
|
||||
<div class="card-header">
|
||||
<div class="card-title mb-0">
|
||||
{% translate "Corporation Timers" %}
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div class="card-body">
|
||||
{% include "timerboard/timertable.html" with timers=corp_timers %}
|
||||
</div>
|
||||
</div>
|
||||
{% endif %}
|
||||
|
||||
<h4><b>{% translate "Next Timers" %}</b></h4>
|
||||
<div class="card mb-3">
|
||||
<div class="card-header">
|
||||
<div class="card-title mb-0">
|
||||
{% translate "Upcoming Timers" %}
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div class="card-body">
|
||||
{% if future_timers %}
|
||||
{% include "timerboard/timertable.html" with timers=future_timers %}
|
||||
{% else %}
|
||||
@ -43,8 +59,17 @@
|
||||
{% translate "No upcoming timers." %}
|
||||
</div>
|
||||
{% endif %}
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<h4><b>{% translate "Past Timers" %}</b></h4>
|
||||
<div class="card mb-3">
|
||||
<div class="card-header">
|
||||
<div class="card-title mb-0">
|
||||
{% translate "Past Timers" %}
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div class="card-body">
|
||||
{% if past_timers %}
|
||||
{% include "timerboard/timertable.html" with timers=past_timers %}
|
||||
{% else %}
|
||||
@ -53,6 +78,8 @@
|
||||
</div>
|
||||
{% endif %}
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
{% endblock content %}
|
||||
|
||||
{% block extra_javascript %}
|
||||
|
Loading…
x
Reference in New Issue
Block a user