mirror of
https://github.com/freedombox/FreedomBox.git
synced 2026-05-13 10:30:16 +00:00
42 lines
1004 B
HTML
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 %}
|