mirror of
https://github.com/freedombox/FreedomBox.git
synced 2026-04-15 09:51:21 +00:00
- 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>
62 lines
1.8 KiB
HTML
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 %}
|