FreedomBox/plinth/modules/featherwiki/templates/featherwiki_configure.html
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

62 lines
1.8 KiB
HTML

{% extends "app.html" %}
{% comment %}
# SPDX-License-Identifier: AGPL-3.0-or-later
{% endcomment %}
{% load bootstrap %}
{% load i18n %}
{% load extras %}
{% block configuration %}
{{ block.super }}
<h3>{% trans "Manage Wikis" %}</h3>
<div class="btn-toolbar">
<a href="{% url 'featherwiki:create' %}" class="btn btn-default"
role="button" title="{% trans 'Create Wiki' %}">
{% icon 'plus' %}
{% trans 'Create Wiki' %}
</a>
<a href="{% url 'featherwiki:upload' %}" class="btn btn-default"
role="button" title="{% trans 'Upload Wiki' %}">
{% icon 'upload' %}
{% trans 'Upload Wiki' %}
</a>
</div>
<div class="row">
<div class="col-md-6">
{% if not wikis %}
<p>{% trans 'No wikis available.' %}</p>
{% else %}
<div id="featherwiki-wiki-list" class="list-group list-group-two-column">
{% for wiki in wikis %}
<div class="list-group-item">
<a class="wiki-label" href="/featherwiki/{{ wiki }}" target="_blank"
title="{% blocktrans %}Go to wiki {{ wiki }}{% endblocktrans %}">
{{ wiki }}
</a>
<a href="{% url 'featherwiki:rename' wiki %}"
class="wiki-edit btn btn-default btn-sm secondary"
role="button"
title="{% blocktrans %}Rename wiki {{ wiki }}{% endblocktrans %}">
{% icon 'pencil-square-o' %}
</a>
<a href="{% url 'featherwiki:delete' wiki %}"
class="wiki-delete btn btn-default btn-sm secondary"
role="button"
title="{% blocktrans %}Delete wiki {{ wiki }}{% endblocktrans %}">
{% icon 'trash-o' %}
</a>
</div>
{% endfor %}
</div>
{% endif %}
</div>
</div>
{% endblock %}