diff options
author | Mario Vavti <mario@mariovavti.com> | 2015-03-12 22:22:52 +0100 |
---|---|---|
committer | Mario Vavti <mario@mariovavti.com> | 2015-03-12 22:22:52 +0100 |
commit | d11bec6f584574ae6045e0fe09b544d920e53f2a (patch) | |
tree | 2deb144ea87b4d46032a88534b506261d913f882 /view | |
parent | 0905180385a8eb9d6a7741322fcb9a8a0b7c5a32 (diff) | |
download | volse-hubzilla-d11bec6f584574ae6045e0fe09b544d920e53f2a.tar.gz volse-hubzilla-d11bec6f584574ae6045e0fe09b544d920e53f2a.tar.bz2 volse-hubzilla-d11bec6f584574ae6045e0fe09b544d920e53f2a.zip |
add generic_addon_settings template and minor fixes
Diffstat (limited to 'view')
-rw-r--r-- | view/tpl/generic_addon_settings.tpl | 17 | ||||
-rwxr-xr-x | view/tpl/settings_addons.tpl | 2 |
2 files changed, 18 insertions, 1 deletions
diff --git a/view/tpl/generic_addon_settings.tpl b/view/tpl/generic_addon_settings.tpl new file mode 100644 index 000000000..a7d3b6c0a --- /dev/null +++ b/view/tpl/generic_addon_settings.tpl @@ -0,0 +1,17 @@ +<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}} + <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> + </div> + </div> +</div> diff --git a/view/tpl/settings_addons.tpl b/view/tpl/settings_addons.tpl index a1b18e441..9297a282a 100755 --- a/view/tpl/settings_addons.tpl +++ b/view/tpl/settings_addons.tpl @@ -27,7 +27,7 @@ </div> </div> {{/if}} + {{$settings_addons}} </div> - {{$settings_addons}} </form> </div> |