aboutsummaryrefslogtreecommitdiffstats
path: root/view
diff options
context:
space:
mode:
authorjeroenpraat <jeroenpraat@xs4all.nl>2015-11-05 16:20:56 +0100
committerjeroenpraat <jeroenpraat@xs4all.nl>2015-11-05 16:20:56 +0100
commit0db5a8673d57088ab394cdaf372fb81dbd78bcbb (patch)
tree2c5f4f334f4e1fdcd915364a2d038113fc3649c6 /view
parent91f2e05d5dc15915cb8a9ebbfb6195a6d8d6da35 (diff)
downloadvolse-hubzilla-0db5a8673d57088ab394cdaf372fb81dbd78bcbb.tar.gz
volse-hubzilla-0db5a8673d57088ab394cdaf372fb81dbd78bcbb.tar.bz2
volse-hubzilla-0db5a8673d57088ab394cdaf372fb81dbd78bcbb.zip
Firefox share (that seems now the official name) button added to misc. settings.
Diffstat (limited to 'view')
-rw-r--r--view/css/mod_settings.css8
-rwxr-xr-xview/tpl/settings.tpl14
2 files changed, 17 insertions, 5 deletions
diff --git a/view/css/mod_settings.css b/view/css/mod_settings.css
index 7eff8e45b..e81d115d4 100644
--- a/view/css/mod_settings.css
+++ b/view/css/mod_settings.css
@@ -1,3 +1,11 @@
.group {
margin-left: 10px;
}
+
+.ffsapilink {
+ margin: 10px 0;
+}
+
+.channel-menu {
+ margin-top: 24px;
+}
diff --git a/view/tpl/settings.tpl b/view/tpl/settings.tpl
index ab62ede45..7c1f4578d 100755
--- a/view/tpl/settings.tpl
+++ b/view/tpl/settings.tpl
@@ -136,7 +136,7 @@
</div>
</div>
</div>
- {{if $menus}}
+
<div class="panel">
<div class="section-subtitle-wrapper" role="tab" id="miscellaneous-settings">
<h3>
@@ -146,8 +146,12 @@
</h3>
</div>
<div id="miscellaneous-settings-collapse" class="panel-collapse collapse" role="tabpanel" aria-labelledby="miscellaneous-settings">
- <div class="section-content-wrapper">
- <div class="form-group">
+ <div class="section-content-tools-wrapper">
+ <div class="ffsapilink">
+ <a type="button" class="btn btn-default" href="/ffsapi">{{$firefoxshare}}</a>
+ </div>
+ {{if $menus}}
+ <div class="form-group channel-menu">
<label for="channel_menu">{{$menu_desc}}</label>
<select name="channel_menu" class="form-control">
{{foreach $menus as $menu }}
@@ -156,12 +160,12 @@
</select>
</div>
<div class="settings-submit-wrapper" >
- <input type="submit" name="submit" class="settings-submit" value="{{$submit}}"{{if !$expert}} onclick="$('select').prop('disabled', false);"{{/if}} />
+ <button type="submit" name="submit" class="btn btn-primary">{{$submit}}</button>
</div>
</div>
+ {{/if}}
</div>
</div>
- {{/if}}
</div>
</form>
</div>