aboutsummaryrefslogtreecommitdiffstats
path: root/view
diff options
context:
space:
mode:
authorAndrew Manning <tamanning@zoho.com>2016-11-12 15:24:22 -0500
committerAndrew Manning <tamanning@zoho.com>2016-11-12 15:24:22 -0500
commitda5b9d5c743cfb51dfbea7a79feba463b4331aa5 (patch)
tree4d9ac29648f2b6f57e0a8b1445232dee8748e880 /view
parentaf11525338d185fcbb586d8cb8ef0028946c8230 (diff)
downloadvolse-hubzilla-da5b9d5c743cfb51dfbea7a79feba463b4331aa5.tar.gz
volse-hubzilla-da5b9d5c743cfb51dfbea7a79feba463b4331aa5.tar.bz2
volse-hubzilla-da5b9d5c743cfb51dfbea7a79feba463b4331aa5.zip
Removed wiki list dropdown menus, moving the download and delete icons to beside the open wiki link.
Diffstat (limited to 'view')
-rw-r--r--view/tpl/wikilist.tpl20
1 files changed, 6 insertions, 14 deletions
diff --git a/view/tpl/wikilist.tpl b/view/tpl/wikilist.tpl
index 8ec7d8245..7cf04d35e 100644
--- a/view/tpl/wikilist.tpl
+++ b/view/tpl/wikilist.tpl
@@ -1,21 +1,13 @@
<div id="wiki_list" class="widget">
<h3>{{$header}}</h3>
- <ul class="nav nav-pills nav-stacked">
+ <div>
{{foreach $wikis as $wiki}}
- <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>
+ <div class="form-group" id="wiki-{{$wiki.resource_id}}">
<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}}"><i class="fa fa-trash-o"></i><span style="padding-left: 10px;">Delete wiki</span></a></li>
- {{/if}}
- </ul>
- </li>
- </div>
+ <i class="pull-right generic-icons fakelink fa fa-trash-o" onclick="wiki_delete_wiki('{{$wiki.title}}','{{$wiki.resource_id}}'); return false;" title="Delete {{$wiki.title}}"></i>
+ <i class="pull-right generic-icons fakelink fa fa-download" onclick="wiki_download_wiki('{{$wiki.resource_id}}'); return false;" title="Download {{$wiki.title}}"></i>
+ </div>
{{/foreach}}
- </ul>
+ </div>
</div>