Fix database counters display
This commit is contained in:
parent
ca3d4d09d5
commit
069ba37e13
@ -19,15 +19,15 @@
|
|||||||
</p>
|
</p>
|
||||||
{% if database_counters %}
|
{% if database_counters %}
|
||||||
<h5 class="border-bottom">Records</h5>
|
<h5 class="border-bottom">Records</h5>
|
||||||
<div class="d-flex justify-content-start">
|
<div class="row">
|
||||||
<ul class="list-group me-2">
|
<ul class="list-group col-4">
|
||||||
{% for counter in database_counters %}
|
{% for counter in database_counters %}
|
||||||
<li class="list-group-item d-flex justify-content-between align-items-start {% if counter.legacy %}list-group-item-dark{% endif %}">
|
<li class="list-group-item d-flex justify-content-between align-items-start {% if counter.legacy %}list-group-item-dark{% endif %}">
|
||||||
<span><i class="ri-{{ counter.icon }}"></i> {{ counter.name }}</span> <span class="badge {% if counter.legacy %}text-bg-light border{% else %}text-bg-primary{% endif %} rounded-pill ms-2">{{ counter.count }}</span>
|
<span><i class="ri-{{ counter.icon }}"></i> {{ counter.name }}</span> <span class="badge {% if counter.legacy %}text-bg-light border{% else %}text-bg-primary{% endif %} rounded-pill ms-2">{{ counter.count }}</span>
|
||||||
</li>
|
</li>
|
||||||
{% if not (loop.index % 5) %}
|
{% if not (loop.index % 5) %}
|
||||||
</ul>
|
</ul>
|
||||||
<ul class="list-group me-2">
|
<ul class="list-group col-4">
|
||||||
{% endif %}
|
{% endif %}
|
||||||
{% endfor %}
|
{% endfor %}
|
||||||
</ul>
|
</ul>
|
||||||
|
Loading…
Reference in New Issue
Block a user