aboutsummaryrefslogtreecommitdiffstats
path: root/view/tpl/wiki_page_list.tpl
diff options
context:
space:
mode:
authorMario Vavti <mario@mariovavti.com>2017-03-13 16:34:23 +0100
committerMario Vavti <mario@mariovavti.com>2017-03-13 16:34:23 +0100
commit700c05a55bab34c40f24fbe4f83a0fa9882559b2 (patch)
treec4fb0879792feb81d918014080e1d5180c9c5621 /view/tpl/wiki_page_list.tpl
parent188782c46195fcc530f8641f41da012aab9dbd76 (diff)
downloadvolse-hubzilla-700c05a55bab34c40f24fbe4f83a0fa9882559b2.tar.gz
volse-hubzilla-700c05a55bab34c40f24fbe4f83a0fa9882559b2.tar.bz2
volse-hubzilla-700c05a55bab34c40f24fbe4f83a0fa9882559b2.zip
many class fixes and revive shiny class for item titles in a new way
Diffstat (limited to 'view/tpl/wiki_page_list.tpl')
-rw-r--r--view/tpl/wiki_page_list.tpl10
1 files changed, 5 insertions, 5 deletions
diff --git a/view/tpl/wiki_page_list.tpl b/view/tpl/wiki_page_list.tpl
index 78657ec10..44fba15cc 100644
--- a/view/tpl/wiki_page_list.tpl
+++ b/view/tpl/wiki_page_list.tpl
@@ -1,19 +1,19 @@
{{if $not_refresh}}<div id="wiki_page_list_container" {{if $hide}} style="display: none;" {{/if}}>{{/if}}
<div id="wiki_page_list" class="widget" >
<h3>{{$header}}</h3>
- <ul class="nav nav-pills nav-stacked">
+ <ul class="nav nav-pills flex-column">
{{if $pages}}
{{foreach $pages as $page}}
- <li id="{{$page.link_id}}">
+ <li class="nav-item nav-item-hack" id="{{$page.link_id}}">
{{if $page.resource_id && $candel}}
- <i class="widget-nav-pills-icons fa fa-trash-o drop-icons" onclick="wiki_delete_page('{{$page.title}}', '{{$page.url}}', '{{$page.resource_id}}', '{{$page.link_id}}')"></i>
+ <i class="nav-link widget-nav-pills-icons fa fa-trash-o drop-icons" onclick="wiki_delete_page('{{$page.title}}', '{{$page.url}}', '{{$page.resource_id}}', '{{$page.link_id}}')"></i>
{{/if}}
- <a href="/wiki/{{$channel}}/{{$wikiname}}/{{$page.url}}">{{$page.title}}</a>
+ <a class="nav-link" href="/wiki/{{$channel}}/{{$wikiname}}/{{$page.url}}">{{$page.title}}</a>
</li>
{{/foreach}}
{{/if}}
{{if $canadd}}
- <li><a href="#" onclick="wiki_show_new_page_form(); return false;"><i class="fa fa-plus-circle"></i>&nbsp;{{$addnew}}</a></li>
+ <li class="nav-item"><a class="nav-link" href="#" onclick="wiki_show_new_page_form(); return false;"><i class="fa fa-plus-circle"></i>&nbsp;{{$addnew}}</a></li>
{{/if}}
</ul>
{{if $canadd}}