mirror of
https://github.com/dgtlmoon/changedetection.io.git
synced 2026-09-27 07:46:22 +00:00
37 lines
1.5 KiB
HTML
37 lines
1.5 KiB
HTML
{% extends 'base.html' %}
|
|
{% block content %}
|
|
{% from '_helpers.html' import render_simple_field, render_field %}
|
|
<div class="edit-form">
|
|
<div class="box-wrap inner">
|
|
<h4>{{ _('Backups') }}</h4>
|
|
{% if backup_running %}
|
|
<p>
|
|
<strong>{{ _('A backup is running!') }}</strong>
|
|
</p>
|
|
{% endif %}
|
|
<p>
|
|
{{ _('Here you can download and request a new backup, when a backup is completed you will see it listed below.') }}
|
|
</p>
|
|
<br>
|
|
{% if available_backups %}
|
|
<ul>
|
|
{% for backup in available_backups %}
|
|
<li><a href="{{ url_for('backups.download_backup', filename=backup["filename"]) }}">{{ backup["filename"] }}</a> {{ backup["filesize"] }} {{ _('Mb') }}</li>
|
|
{% endfor %}
|
|
</ul>
|
|
{% else %}
|
|
<p>
|
|
<strong>{{ _('No backups found.') }}</strong>
|
|
</p>
|
|
{% endif %}
|
|
|
|
<a class="pure-button pure-button-primary" href="{{ url_for('backups.request_backup') }}">{{ _('Create backup') }}</a>
|
|
{% if available_backups %}
|
|
<a class="pure-button button-small button-error " href="{{ url_for('backups.remove_backups') }}">{{ _('Remove backups') }}</a>
|
|
{% endif %}
|
|
</div>
|
|
</div>
|
|
|
|
|
|
{% endblock %}
|