mirror of
https://github.com/freedombox/FreedomBox.git
synced 2026-11-29 08:25:10 +00:00
views: Implement a view to uninstall an app
- Take backup of the app before uninstall. - Allow selecting the backup repository for backup. Signed-off-by: Sunil Mohan Adapa <sunil@medhas.org> Reviewed-by: James Valleroy <jvalleroy@mailbox.org>
This commit is contained in:
1 parent
811e95f561
commit
e1b4c2e52b
3 files changed
+93
No files matched your search
@@ -0,0 +1,39 @@
|
||||
{% extends "base.html" %}
|
||||
{% comment %}
|
||||
# SPDX-License-Identifier: AGPL-3.0-or-later
|
||||
{% endcomment %}
|
||||
|
||||
{% load bootstrap %}
|
||||
{% load i18n %}
|
||||
|
||||
{% block content %}
|
||||
<h2>
|
||||
{% blocktrans trimmed with app_name=app_info.name %}
|
||||
Uninstall App <em>{{ app_name }}</em>?
|
||||
{% endblocktrans %}
|
||||
</h2>
|
||||
|
||||
<div class="alert alert-warning" role="alert">
|
||||
{% blocktrans trimmed %}
|
||||
Uninstalling an app is an exprimental feature.
|
||||
{% endblocktrans %}
|
||||
</div>
|
||||
|
||||
<p>
|
||||
{% blocktrans trimmed %}
|
||||
All app data and configuration will be permanently lost. App may be
|
||||
installed freshly again.
|
||||
{% endblocktrans %}
|
||||
</p>
|
||||
|
||||
<p>
|
||||
<form class="form form-uninstall" method="post">
|
||||
{% csrf_token %}
|
||||
|
||||
{{ form|bootstrap }}
|
||||
|
||||
<input type="submit" class="btn btn-danger" name="uninstall_confirm"
|
||||
value="{% trans 'Uninstall' %}"/>
|
||||
</form>
|
||||
</p>
|
||||
{% endblock %}
|
||||
Reference in new issue
Block a user