mirror of
https://github.com/freedombox/FreedomBox.git
synced 2026-01-28 08:03:36 +00:00
Signed-off-by: Sunil Mohan Adapa <sunil@medhas.org> Reviewed-by: Veiko Aasa <veiko17@disroot.org>
51 lines
1.2 KiB
HTML
51 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>
|
|
|
|
<div class="table-responsive">
|
|
<table class="table">
|
|
<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>
|
|
</div>
|
|
|
|
<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 %}
|