| 1 | {% extends "base.html" %} |
| 2 | {% comment %} |
| 3 | # SPDX-License-Identifier: AGPL-3.0-or-later |
| 4 | {% endcomment %} |
| 5 | |
| 6 | {% load bootstrap %} |
| 7 | {% load i18n %} |
| 8 | |
| 9 | {% block content %} |
| 10 | <h2>{{ title }}</h2> |
| 11 | |
| 12 | <p>{% trans "Delete this archive permanently?" %}</p> |
| 13 | |
| 14 | <div class="table-responsive"> |
| 15 | <table class="table"> |
| 16 | <thead> |
| 17 | <th>{% trans "Name" %}</th> |
| 18 | <th>{% trans "Time" %}</th> |
| 19 | </thead> |
| 20 | <tbody> |
| 21 | <tr> |
| 22 | <td>{{ archive.name }}</td> |
| 23 | <td>{{ archive.time }}</td> |
| 24 | </tr> |
| 25 | </tbody> |
| 26 | </table> |
| 27 | </div> |
| 28 | |
| 29 | <p> |
| 30 | <form class="form form-delete" method="post"> |
| 31 | {% csrf_token %} |
| 32 | |
| 33 | <input type="submit" class="btn btn-danger" |
| 34 | value="{% blocktrans trimmed with name=archive.name %} |
| 35 | Delete Archive {{ name }} |
| 36 | {% endblocktrans %}"/> |
| 37 | </form> |
| 38 | </p> |
| 39 | |
| 40 | {% endblock %} |