aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAndrew Manning <tamanning@zoho.com>2016-11-12 11:40:56 -0500
committerAndrew Manning <tamanning@zoho.com>2016-11-12 11:40:56 -0500
commit98b71bc63aa30485cf10537ee8b3a4c2b52e835d (patch)
tree3467f37cc3df3e7367867ebba97cae55e656bae9
parent271244bb36df0656209472f3d1e9a6c363c0ddab (diff)
downloadvolse-hubzilla-98b71bc63aa30485cf10537ee8b3a4c2b52e835d.tar.gz
volse-hubzilla-98b71bc63aa30485cf10537ee8b3a4c2b52e835d.tar.bz2
volse-hubzilla-98b71bc63aa30485cf10537ee8b3a4c2b52e835d.zip
Move save button to tab bar
-rw-r--r--view/tpl/wiki.tpl8
1 files changed, 5 insertions, 3 deletions
diff --git a/view/tpl/wiki.tpl b/view/tpl/wiki.tpl
index 8fdf56e77..79836dac5 100644
--- a/view/tpl/wiki.tpl
+++ b/view/tpl/wiki.tpl
@@ -13,6 +13,7 @@
</style>
<div class="generic-content-wrapper">
<div class="section-title-wrapper">
+
<div class="pull-right">
{{if $showNewWikiButton}}
<button class="btn btn-primary btn-xs acl-form-trigger" onclick="$('#new-page-form-wrapper').hide(); openClose('new-wiki-form-wrapper');" data-form_id="new-wiki-form">New Wiki</button>
@@ -86,20 +87,21 @@
<li class="active"><a data-toggle="tab" href="#preview-pane" id="wiki-get-preview">Preview</a></li>
<li {{if $hidePageHistory}}style="display: none;"{{/if}}><a data-toggle="tab" href="#page-history-pane" id="wiki-get-history">History</a></li>
{{if $showPageControls}}
+ <li><a id="save-page" href="#" class="btn btn-primary">Save</a></li>
<li class="dropdown">
<a data-toggle="dropdown" class="dropdown-toggle" href="#">Page <b class="caret"></b></a>
<ul class="dropdown-menu">
- <li><a id="save-page" data-toggle="tab" href="#">Save</a></li>
+ <!--<li><a id="save-page" data-toggle="tab" href="#">Save</a></li>-->
<li><a id="rename-page" data-toggle="tab" href="#">Rename</a></li>
<li><a id="delete-page" data-toggle="tab" href="#">Delete</a></li>
- <li class="divider"></li>
<li><a id="embed-image" data-toggle="tab" href="#">Embed image</a></li>
</ul>
</li>
{{/if}}
</ul>
- <div class="tab-content" id="wiki-page-tabs">
+
+ <div class="tab-content" id="wiki-page-tabs">
<div id="edit-pane" class="tab-pane fade">
<div id="ace-editor"></div>