aboutsummaryrefslogtreecommitdiffstats
path: root/view/tpl/generic_addon_settings.tpl
diff options
context:
space:
mode:
authorPaolo T <tuscanhobbit@users.noreply.github.com>2015-03-22 16:34:40 +0100
committerPaolo T <tuscanhobbit@users.noreply.github.com>2015-03-22 16:34:40 +0100
commit82fb1ca0caaae72b77b641d22e51d5ae1b188183 (patch)
treea2ecee4e65bc80300c62b5b327965b8118117ad3 /view/tpl/generic_addon_settings.tpl
parentff5c3b009fa25e87e294cd458d3de4b677270c64 (diff)
parente345d6793d5f6910dd230f661ca5d1a837b1b504 (diff)
downloadvolse-hubzilla-82fb1ca0caaae72b77b641d22e51d5ae1b188183.tar.gz
volse-hubzilla-82fb1ca0caaae72b77b641d22e51d5ae1b188183.tar.bz2
volse-hubzilla-82fb1ca0caaae72b77b641d22e51d5ae1b188183.zip
Merge pull request #8 from friendica/master
merging red master into nuvola.red
Diffstat (limited to 'view/tpl/generic_addon_settings.tpl')
-rw-r--r--view/tpl/generic_addon_settings.tpl19
1 files changed, 19 insertions, 0 deletions
diff --git a/view/tpl/generic_addon_settings.tpl b/view/tpl/generic_addon_settings.tpl
new file mode 100644
index 000000000..bf39b2aea
--- /dev/null
+++ b/view/tpl/generic_addon_settings.tpl
@@ -0,0 +1,19 @@
+<div class="panel">
+ <div class="section-subtitle-wrapper" role="tab" id="{{$addon.0}}-settings">
+ <h3>
+ <a title="{{$addon.2}}" data-toggle="collapse" data-parent="#settings" href="#{{$addon.0}}-settings-content" aria-controls="{{$addon.0}}-settings-content">
+ {{$addon.1}}
+ </a>
+ </h3>
+ </div>
+ <div id="{{$addon.0}}-settings-content" class="panel-collapse collapse" role="tabpanel" aria-labelledby="{{$addon.0}}-settings">
+ <div class="section-content-tools-wrapper">
+ {{$content}}
+ {{if $addon.0}}
+ <div class="settings-submit-wrapper" >
+ <button id="{{$addon.0}}-submit" type="submit" name="{{$addon.0}}-submit" class="btn btn-primary" value="{{$addon.3}}">{{$addon.3}}</button>
+ </div>
+ {{/if}}
+ </div>
+ </div>
+</div>