mirror of
https://github.com/freedombox/FreedomBox.git
synced 2026-03-04 08:53:42 +00:00
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:
parent
40e23f209a
commit
0e78f8f4a8
@ -24,21 +24,21 @@
|
||||
{% if not sites %}
|
||||
<p>{% trans "No wikis or blogs available." %}</p>
|
||||
{% else %}
|
||||
<div class="list-group">
|
||||
<div class="list-group list-group-two-column">
|
||||
{% 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 %}"
|
||||
class="btn btn-default btn-sm pull-right"
|
||||
class="btn btn-default btn-sm secondary"
|
||||
role="button"
|
||||
title="{% blocktrans with site=site.1 %}Delete site {{ site }}{% endblocktrans %}">
|
||||
<span class="fa fa-trash-o"
|
||||
aria-hidden="true"></span>
|
||||
</a>
|
||||
|
||||
<a class="wiki-label" href="/ikiwiki/{{ site.0 }}"
|
||||
title="{% blocktrans with site=site.1 %}Go to site {{ site }}{% endblocktrans %}">
|
||||
{{ site.1 }}
|
||||
</a>
|
||||
</div>
|
||||
{% endfor %}
|
||||
</div>
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user