aboutsummaryrefslogtreecommitdiffstats
path: root/view/tpl/admin_settings_features.tpl
diff options
context:
space:
mode:
authorredmatrix <git@macgirvin.com>2016-01-06 13:01:28 -0800
committerredmatrix <git@macgirvin.com>2016-01-06 13:01:28 -0800
commit93565ea768a726a02052bd1279dcf09738057460 (patch)
treed2bc2c873f57b533dc8679d6f4e552b649f1aee0 /view/tpl/admin_settings_features.tpl
parentc076e72cbf6fe9106956ef1ecf1ec5cf9a8c7fae (diff)
downloadvolse-hubzilla-93565ea768a726a02052bd1279dcf09738057460.tar.gz
volse-hubzilla-93565ea768a726a02052bd1279dcf09738057460.tar.bz2
volse-hubzilla-93565ea768a726a02052bd1279dcf09738057460.zip
features management page for hubmins
Diffstat (limited to 'view/tpl/admin_settings_features.tpl')
-rw-r--r--view/tpl/admin_settings_features.tpl31
1 files changed, 31 insertions, 0 deletions
diff --git a/view/tpl/admin_settings_features.tpl b/view/tpl/admin_settings_features.tpl
new file mode 100644
index 000000000..2d5cf7e0b
--- /dev/null
+++ b/view/tpl/admin_settings_features.tpl
@@ -0,0 +1,31 @@
+<div class="generic-content-wrapper">
+ <div class="section-title-wrapper">
+ <h2>{{$title}}</h2>
+ </div>
+ <form action="admin/features" method="post" autocomplete="off">
+ <input type='hidden' name='form_security_token' value='{{$form_security_token}}'>
+ <div class="panel-group" id="settings" role="tablist" aria-multiselectable="true">
+ {{foreach $features as $g => $f}}
+ <div class="panel">
+ <div class="section-subtitle-wrapper" role="tab" id="{{$g}}-settings-title">
+ <h3>
+ <a data-toggle="collapse" data-parent="#settings" href="#{{$g}}-settings-content" aria-expanded="true" aria-controls="{{$g}}-settings-collapse">
+ {{$f.0}}
+ </a>
+ </h3>
+ </div>
+ <div id="{{$g}}-settings-content" class="panel-collapse collapse{{if $g == 'general'}} in{{/if}}" role="tabpanel" aria-labelledby="{{$g}}-settings-title">
+ <div class="section-content-tools-wrapper">
+ {{foreach $f.1 as $fcat}}
+ {{include file="field_checkbox.tpl" field=$fcat.0}}
+ {{include file="field_checkbox.tpl" field=$fcat.1}}
+ {{/foreach}}
+ <div class="settings-submit-wrapper" >
+ <button type="submit" name="submit" class="btn btn-primary">{{$submit}}</button>
+ </div>
+ </div>
+ </div>
+ </div>
+ {{/foreach}}
+ </div>
+</div>