mirror of
https://gitlab.com/allianceauth/allianceauth.git
synced 2026-02-11 09:36:24 +01:00
Improve celery bar by using decimalized width values (2 decimal places) to reduce likelyhood of an empty portion of the bar.
This commit is contained in:
@@ -1,11 +1,12 @@
|
||||
{% load humanize %}
|
||||
{% load admin_status %}
|
||||
|
||||
<div
|
||||
class="progress-bar progress-bar-{{ level }} task-status-progress-bar"
|
||||
role="progressbar"
|
||||
aria-valuenow="{% widthratio tasks_count tasks_total 100 %}"
|
||||
aria-valuenow="{% decimal_widthratio tasks_count tasks_total 100 %}"
|
||||
aria-valuemin="0"
|
||||
aria-valuemax="100"
|
||||
style="width: {% widthratio tasks_count tasks_total 100 %}%;">
|
||||
style="width: {% decimal_widthratio tasks_count tasks_total 100 %}%;">
|
||||
{% widthratio tasks_count tasks_total 100 %}%
|
||||
</div>
|
||||
|
||||
Reference in New Issue
Block a user