mirror of
https://github.com/freedombox/FreedomBox.git
synced 2026-01-28 08:03:36 +00:00
- Mostly for consistency with the rest of the interface. - Most of the usages got removed already. Signed-off-by: Sunil Mohan Adapa <sunil@medhas.org> Reviewed-by: Veiko Aasa <veiko17@disroot.org>
29 lines
713 B
HTML
29 lines
713 B
HTML
{% extends "app.html" %}
|
|
{% comment %}
|
|
# SPDX-License-Identifier: AGPL-3.0-or-later
|
|
{% endcomment %}
|
|
|
|
{% load bootstrap %}
|
|
{% load i18n %}
|
|
|
|
{% block configuration %}
|
|
|
|
{% if pkg_manager_is_busy %}
|
|
<div class="alert alert-danger">
|
|
{% blocktrans trimmed %}
|
|
Currently an installation or upgrade is running.
|
|
Consider waiting until it's finished before shutting down or restarting.
|
|
{% endblocktrans %}
|
|
</div>
|
|
{% endif %}
|
|
|
|
<div class="btn-toolbar">
|
|
<a class="btn btn-default btn-md" href="{% url 'power:restart' %}">
|
|
{% trans "Restart" %}</a>
|
|
|
|
<a class="btn btn-default btn-md" href="{% url 'power:shutdown' %}">
|
|
{% trans "Shut Down" %}</a>
|
|
</div>
|
|
|
|
{% endblock %}
|