FreedomBox/freedombox/modules/ikiwiki/templates/ikiwiki_configure.html
Sunil Mohan Adapa 23b6aff290
plinth/*: Rename plinth/ folder to freedombox/
Signed-off-by: Sunil Mohan Adapa <sunil@medhas.org>
Reviewed-by: James Valleroy <jvalleroy@mailbox.org>
2026-08-28 07:35:01 -04:00

49 lines
1.4 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 and Blogs" %}</h3>
<div class="btn-toolbar">
<a href="{% url 'ikiwiki:create' %}" class="btn btn-default"
role="button" title="{% trans 'Create Wiki or Blog' %}">
{% icon 'plus' %}
{% trans 'Create Wiki or Blog' %}
</a>
</div>
<div class="row">
<div class="col-md-6">
{% if not sites %}
<p>{% trans "No wikis or blogs available." %}</p>
{% else %}
<div class="list-group list-group-two-column">
{% for site in sites %}
<div class="list-group-item">
<a class="wiki-label primary" href="/ikiwiki/{{ site.0 }}"
title="{% blocktrans with site=site.1 %}Go to site {{ site }}{% endblocktrans %}">
{{ site.1 }}
</a>
<a href="{% url 'ikiwiki:delete' site.0 %}"
class="btn btn-default btn-sm secondary"
role="button"
title="{% blocktrans with site=site.1 %}Delete site {{ site }}{% endblocktrans %}">
{% icon 'trash-o' %}
</a>
</div>
{% endfor %}
</div>
{% endif %}
</div>
</div>
{% endblock %}