Sunil Mohan Adapa 1d14d4a4d6
ui: Rename 'plinth_extras' template tags module to 'extras'
- Remove yet another reference to 'plinth'.

Tests:

- Some basic pages work.

Signed-off-by: Sunil Mohan Adapa <sunil@medhas.org>
Reviewed-by: James Valleroy <jvalleroy@mailbox.org>
2026-03-19 19:14:58 -04:00

54 lines
1.4 KiB
HTML

{% extends "app.html" %}
{% comment %}
# SPDX-License-Identifier: AGPL-3.0-or-later
{% endcomment %}
{% load i18n %}
{% load static %}
{% load extras %}
{% block page_head %}
<link type="text/css" rel="stylesheet"
href="{% static 'backups/backups.css' %}">
{% endblock %}
{% block configuration %}
<div class="btn-toolbar">
<a title="{% trans 'Create a new backup' %}"
role="button" class="btn btn-primary"
href="{% url 'backups:create' %}">
{% icon 'plus' %}
{% trans 'Create Backup' %}
</a>
<a title="{% trans 'Upload and restore a backup archive' %}"
role="button" class="btn btn-default"
href="{% url 'backups:upload' %}">
{% icon 'upload' %}
{% trans 'Upload and Restore' %}
</a>
<a title="{% trans 'Add a backup location' %}"
role="button" class="btn btn-default"
href="{% url 'backups:add-repository' %}">
{% icon 'plus' %}
{% trans 'Add Backup Location' %}
</a>
<a title="{% trans 'Add a remote backup location' %}"
role="button" class="btn btn-default"
href="{% url 'backups:add-remote-repository' %}">
{% icon 'plus' %}
{% trans 'Add Remote Backup Location' %}
</a>
</div>
<h3>{% trans 'Existing Backups' %}</h3>
{% for repository in repositories %}
{% include "backups_repository.html" with uuid=repository.uuid %}
{% endfor %}
{% endblock %}