ikiwiki: Use common styling for wiki/blog list

Signed-off-by: Sunil Mohan Adapa <sunil@medhas.org>
Reviewed-by: Veiko Aasa <veiko17@disroot.org>
This commit is contained in:
Sunil Mohan Adapa 2020-12-17 16:09:24 -08:00 committed by Veiko Aasa
parent 40e23f209a
commit 0e78f8f4a8
No known key found for this signature in database
GPG Key ID: 478539CAE680674E

View File

@ -24,21 +24,21 @@
{% if not sites %} {% if not sites %}
<p>{% trans "No wikis or blogs available." %}</p> <p>{% trans "No wikis or blogs available." %}</p>
{% else %} {% else %}
<div class="list-group"> <div class="list-group list-group-two-column">
{% for site in sites %} {% for site in sites %}
<div class="list-group-item clearfix"> <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 %}" <a href="{% url 'ikiwiki:delete' site.0 %}"
class="btn btn-default btn-sm pull-right" class="btn btn-default btn-sm secondary"
role="button" role="button"
title="{% blocktrans with site=site.1 %}Delete site {{ site }}{% endblocktrans %}"> title="{% blocktrans with site=site.1 %}Delete site {{ site }}{% endblocktrans %}">
<span class="fa fa-trash-o" <span class="fa fa-trash-o"
aria-hidden="true"></span> aria-hidden="true"></span>
</a> </a>
<a class="wiki-label" href="/ikiwiki/{{ site.0 }}"
title="{% blocktrans with site=site.1 %}Go to site {{ site }}{% endblocktrans %}">
{{ site.1 }}
</a>
</div> </div>
{% endfor %} {% endfor %}
</div> </div>