aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAndrew Manning <tamanning@zoho.com>2016-11-12 08:06:18 -0500
committerAndrew Manning <tamanning@zoho.com>2016-11-12 08:06:18 -0500
commit271244bb36df0656209472f3d1e9a6c363c0ddab (patch)
tree0d07a4f4bcf6a3f8c51179093c8e286f77939afd
parentebef7d634822d78c39319685a614b72762e123a2 (diff)
downloadvolse-hubzilla-271244bb36df0656209472f3d1e9a6c363c0ddab.tar.gz
volse-hubzilla-271244bb36df0656209472f3d1e9a6c363c0ddab.tar.bz2
volse-hubzilla-271244bb36df0656209472f3d1e9a6c363c0ddab.zip
Wiki control dropdown menu improvement
-rw-r--r--view/tpl/wikilist.tpl18
1 files changed, 9 insertions, 9 deletions
diff --git a/view/tpl/wikilist.tpl b/view/tpl/wikilist.tpl
index 6b37be4c5..8ec7d8245 100644
--- a/view/tpl/wikilist.tpl
+++ b/view/tpl/wikilist.tpl
@@ -2,19 +2,19 @@
<h3>{{$header}}</h3>
<ul class="nav nav-pills nav-stacked">
{{foreach $wikis as $wiki}}
- <li class="dropdown" id="wiki-{{$wiki.resource_id}}">
- <a class="dropdown-toggle" data-toggle="dropdown" href="#">
- <b>{{$wiki.title}}</b><b class="fa fa-caret-down pull-right"></b>
- </a>
- <ul class="dropdown-menu pull-right">
- <li><a href="/wiki/{{$channel}}/{{$wiki.urlName}}/Home" title="View {{$wiki.title}}">View</a></li>
- <li><a href="#" onclick="wiki_download_wiki('{{$wiki.resource_id}}'); return false;" title="Download {{$wiki.title}}">Download</a></li>
+ <div style="padding-bottom: 10px;">
+ <li class="dropdown" id="wiki-{{$wiki.resource_id}}">
+ <a class="btn btn-md fa fa-caret-down dropdown-toggle" data-toggle="dropdown" aria-haspopup="true" aria-expanded="false"></a>
+ <a href="/wiki/{{$channel}}/{{$wiki.urlName}}/Home" title="View {{$wiki.title}}"><b>{{$wiki.title}}</b></a>
+ <ul class="dropdown-menu pull-left">
+ <li><a href="#" onclick="wiki_download_wiki('{{$wiki.resource_id}}'); return false;" title="Download {{$wiki.title}}"><i class="fa fa-download"></i><span style="padding-left: 10px;">Download</span></a></li>
{{if $showControls}}
<li class="divider"></li>
- <li><a href="#" onclick="wiki_delete_wiki('{{$wiki.title}}','{{$wiki.resource_id}}'); return false;" title="Delete {{$wiki.title}}">Delete wiki</a></li>
+ <li><a href="#" onclick="wiki_delete_wiki('{{$wiki.title}}','{{$wiki.resource_id}}'); return false;" title="Delete {{$wiki.title}}"><i class="fa fa-trash-o"></i><span style="padding-left: 10px;">Delete wiki</span></a></li>
{{/if}}
</ul>
- </li>
+ </li>
+ </div>
{{/foreach}}
</ul>
</div>