FreedomBox/plinth/modules/snapshot/templates/snapshot_delete_selected.html
Sunil Mohan Adapa e89e2b4a2a
*.html: Use SPDX license identifier
Reviewed-by: Veiko Aasa <veiko17@disroot.org>
2020-02-19 14:39:19 +02:00

42 lines
1004 B
HTML

{% extends "base.html" %}
{% comment %}
# SPDX-License-Identifier: AGPL-3.0-or-later
{% endcomment %}
{% load bootstrap %}
{% load i18n %}
{% block content %}
<h2>{{ title }}</h2>
<p>{% trans "Delete the following snapshots permanently?" %}</p>
<table class="table table-bordered table-condensed table-striped">
<thead>
<th>{% trans "Number" %}</th>
<th>{% trans "Date" %}</th>
<th>{% trans "Description" %}</th>
</thead>
<tbody>
{% for snapshot in snapshots %}
{% if not snapshot.is_default %}
<tr>
<td>{{ snapshot.number }}</td>
<td>{{ snapshot.date }}</td>
<td>{{ snapshot.description }}</td>
</tr>
{% endif %}
{% endfor %}
</tbody>
</table>
<p>
<form class="form" method="post">
{% csrf_token %}
<input type="submit" class="btn btn-danger" name="delete_confirm"
value="{% trans 'Delete Snapshots' %}"/>
</form>
</p>
{% endblock %}