Take a more generic approach at counting all the tables in the database file
This commit is contained in:
@@ -22,13 +22,13 @@
|
||||
<div class="d-flex justify-content-start">
|
||||
<ul class="list-group me-2">
|
||||
{% for counter in database_counters %}
|
||||
{% if not (loop.index % 5) %}
|
||||
</ul>
|
||||
<ul class="list-group">
|
||||
{% endif %}
|
||||
<li class="list-group-item d-flex justify-content-between align-items-start">
|
||||
<span><i class="ri-{{ counter.icon }}"></i> {{ counter.name }}</span> <span class="badge text-bg-primary rounded-pill ms-2">{{ counter.count }}</span>
|
||||
</li>
|
||||
{% if not (loop.index % 5) %}
|
||||
</ul>
|
||||
<ul class="list-group me-2">
|
||||
{% endif %}
|
||||
{% endfor %}
|
||||
</ul>
|
||||
</div>
|
||||
|
||||
Reference in New Issue
Block a user