mirror of
https://github.com/freedombox/FreedomBox.git
synced 2026-04-15 09:51:21 +00:00
backups: Move add repository buttons to the top
When a large number of archives and repositories exist, the add repository buttons are not easily discover-able by the user. Signed-off-by: Sunil Mohan Adapa <sunil@medhas.org> Reviewed-by: James Valleroy <jvalleroy@mailbox.org>
This commit is contained in:
parent
d9d9c8167f
commit
20c13936c3
@ -56,15 +56,9 @@
|
||||
{% trans 'Upload and Restore' %}
|
||||
</a>
|
||||
|
||||
<h3>{% trans 'Existing Backups' %}</h3>
|
||||
|
||||
{% for repository in repositories %}
|
||||
{% include "backups_repository.inc" with uuid=repository.uuid %}
|
||||
{% endfor %}
|
||||
|
||||
<a title="{% trans 'Add a backup location' %}"
|
||||
role="button" class="btn btn-default"
|
||||
href="{% url 'backups:add-repository' %}">
|
||||
role="button" class="btn btn-default"
|
||||
href="{% url 'backups:add-repository' %}">
|
||||
<span class="fa fa-plus" aria-hidden="true"></span>
|
||||
{% trans 'Add Backup Location' %}
|
||||
</a>
|
||||
@ -76,4 +70,10 @@
|
||||
{% trans 'Add Remote Backup Location' %}
|
||||
</a>
|
||||
|
||||
<h3>{% trans 'Existing Backups' %}</h3>
|
||||
|
||||
{% for repository in repositories %}
|
||||
{% include "backups_repository.inc" with uuid=repository.uuid %}
|
||||
{% endfor %}
|
||||
|
||||
{% endblock %}
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user