mirror of
https://github.com/freedombox/FreedomBox.git
synced 2026-02-11 08:23:49 +00:00
- Replace subsubmenu with buttons - Left align icons in table header (restore and delete) - Replace the technical term "repository" with "location" - Confirmation dialogs shouldn't have app name, description, manual etc. - Confirmation dialogs don't need Cancel buttons Signed-off-by: Joseph Nuthalapati <njoseph@thoughtworks.com> [sunil@medhas.org: Remove 'primary' for all but one button] Signed-off-by: Sunil Mohan Adapa <sunil@medhas.org> Reviewed-by: Sunil Mohan Adapa <sunil@medhas.org>
79 lines
2.2 KiB
HTML
79 lines
2.2 KiB
HTML
{% extends "app-subsubmenu.html" %}
|
|
{% comment %}
|
|
#
|
|
# This file is part of FreedomBox.
|
|
#
|
|
# This program is free software: you can redistribute it and/or modify
|
|
# it under the terms of the GNU Affero General Public License as
|
|
# published by the Free Software Foundation, either version 3 of the
|
|
# License, or (at your option) any later version.
|
|
#
|
|
# This program is distributed in the hope that it will be useful,
|
|
# but WITHOUT ANY WARRANTY; without even the implied warranty of
|
|
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
|
# GNU Affero General Public License for more details.
|
|
#
|
|
# You should have received a copy of the GNU Affero General Public License
|
|
# along with this program. If not, see <http://www.gnu.org/licenses/>.
|
|
#
|
|
{% endcomment %}
|
|
|
|
{% load i18n %}
|
|
|
|
{% block page_head %}
|
|
<style type="text/css">
|
|
.share-operations form {
|
|
display: inline-block;
|
|
}
|
|
.share-operations {
|
|
text-align: right;
|
|
}
|
|
.mount-error {
|
|
padding: 0px 10px 0px 10px;
|
|
color: orange;
|
|
}
|
|
.mount-success {
|
|
padding: 0px 10px 0px 10px;
|
|
color: black;
|
|
}
|
|
.inline-block {
|
|
display: inline-block;
|
|
}
|
|
</style>
|
|
{% endblock %}
|
|
|
|
{% block configuration %}
|
|
|
|
<a title="{% trans 'Create a new backup' %}"
|
|
role="button" class="btn btn-primary"
|
|
href="{% url 'backups:create' %}">
|
|
<span class="fa fa-plus" aria-hidden="true"></span>
|
|
{% trans 'Create Backup' %}
|
|
</a>
|
|
|
|
<a title="{% trans 'Upload and restore a backup archive' %}"
|
|
role="button" class="btn btn-default"
|
|
href="{% url 'backups:upload' %}">
|
|
<span class="fa fa-upload" aria-hidden="true"></span>
|
|
{% trans 'Upload and Restore' %}
|
|
</a>
|
|
|
|
<h3>{% trans 'Existing Backups' %}</h3>
|
|
|
|
{% include "backups_repository.inc" with repository=root_repository uuid='root' editable=False %}
|
|
|
|
{% for uuid,repository in ssh_repositories.items %}
|
|
{% include "backups_repository.inc" with editable=True %}
|
|
{% endfor %}
|
|
|
|
<br/>
|
|
|
|
<a title="{% trans 'Add a remote backup location' %}"
|
|
role="button" class="btn btn-default"
|
|
href="{% url 'backups:repository-add' %}">
|
|
<span class="fa fa-plus" aria-hidden="true"></span>
|
|
{% trans 'Add Remote Location' %}
|
|
</a>
|
|
|
|
{% endblock %}
|