upgrades: Use bootstrap spinner button instead of custom styling

- This simplifies the implementation and gets it ready for dark/light mode.

Tests:

- In the upgrades main view, set is_busy = True and disable setting
refresh_page_sec. Load the upgrades app and notice that the 'Updating...' button
is showing proper styling in light anddark modes.

Signed-off-by: Sunil Mohan Adapa <sunil@medhas.org>
Reviewed-by: James Valleroy <jvalleroy@mailbox.org>
This commit is contained in:
Sunil Mohan Adapa authored and James Valleroy committed 2025-12-02 20:17:11 -05:00
1 parent 00a69108dd
commit 6c930a9f24
2 files changed
+4 -26

No files matched your search

@@ -104,10 +104,10 @@
<h3>{% trans "Manual Update" %}</h3>
{% if is_busy %}
<div class="btn-toolbar">
<button type="button" disabled="disabled"
class="running-status-parent btn btn-default" >
<span class="running-status loading"></span>
{% trans "Updating..." %}
<button type="button" class="btn btn-default" disabled="disabled">
<span class="spinner-border spinner-border-sm" aria-hidden="true">
</span>
<span role="status">{% trans "Updating..." %}</span>
</button>
</div>
{% else %}