FreedomBox/plinth/modules/power/templates/power_busy_warning.html
Sunil Mohan Adapa cc13bbb0e3
power: Use inline SVG icons
Tests:

- All the icons appear as before in both light/dark themes.

Signed-off-by: Sunil Mohan Adapa <sunil@medhas.org>
Reviewed-by: James Valleroy <jvalleroy@mailbox.org>
2026-03-19 19:13:23 -04:00

22 lines
586 B
HTML

{% comment %}
# SPDX-License-Identifier: AGPL-3.0-or-later
{% endcomment %}
{% load i18n %}
{% load plinth_extras %}
{% if pkg_manager_is_busy %}
<div class="alert alert-danger d-flex align-items-center">
<div class="me-2">
{% icon 'exclamation-triangle' %}
<span class="visually-hidden">{% trans "Caution:" %}</span>
</div>
<div>
{% blocktrans trimmed %}
Currently an installation or upgrade is running. Consider waiting
until it's finished before shutting down or restarting.
{% endblocktrans %}
</div>
</div>
{% endif %}