FreedomBox/plinth/modules/snapshot/templates/snapshot_rollback.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

49 lines
1.2 KiB
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 "Roll back the system to this snapshot?" %}</p>
<p>
{% blocktrans trimmed %}
A new snapshot with the current state of the file system will be
automatically created. You will be able to undo a rollback by
reverting to the newly created snapshot.
{% endblocktrans %}
</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>
<tr>
<td>{{ snapshot.number }}</td>
<td>{{ snapshot.date }}</td>
<td>{{ snapshot.description }}</td>
</tr>
</tbody>
</table>
<p>
<form class="form" method="post">
{% csrf_token %}
<input type="submit" class="btn btn-primary"
value="{% blocktrans trimmed with number=snapshot.number %}
Rollback to Snapshot #{{ number }}
{% endblocktrans %}"/>
</form>
</p>
{% endblock %}