mirror of
https://github.com/freedombox/FreedomBox.git
synced 2026-04-29 10:10:19 +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 %}
|
{% 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>
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user