]> git.mxchange.org Git - friendica.git/blob - view/theme/frio/templates/settings_features.tpl
Merge pull request #2771 from rabuzarus/0709-frio-dropItem-fix
[friendica.git] / view / theme / frio / templates / settings_features.tpl
1 <div class="generic-page-wrapper">
2         {{* include the title template for the settings title *}}
3         {{include file="section_title.tpl" title=$title }}
4
5
6         <form action="settings/features" method="post" autocomplete="off">
7                 <input type='hidden' name='form_security_token' value='{{$form_security_token}}'>
8                 {{* We organize the settings in collapsable panel-groups *}}
9                 <div class="panel-group panel-group-settings" id="settings" role="tablist" aria-multiselectable="true">
10                         {{foreach $features as $g => $f}}
11                         <div class="panel">
12                                 <div class="section-subtitle-wrapper" role="tab" id="{{$g}}-settings-title">
13                                         <h4>
14                                                 <a class="accordion-toggle collapsed" data-toggle="collapse" data-parent="#settings" href="#{{$g}}-settings-content" aria-expanded="true" aria-controls="{{$g}}-settings-collapse">
15                                                         {{$f.0}}
16                                                 </a>
17                                         </h4>
18                                 </div>
19                                 <div id="{{$g}}-settings-content" class="panel-collapse collapse" role="tabpanel" aria-labelledby="{{$g}}-settings-title">
20                                         <div class="section-content-tools-wrapper">
21                                                 {{foreach $f.1 as $fcat}}
22                                                         {{include file="field_yesno.tpl" field=$fcat}}
23                                                 {{/foreach}}
24
25                                                 <div class="form-group pull-right settings-submit-wrapper" >
26                                                         <button type="submit" name="submit" class="btn btn-primary" value="{{$submit|escape:'html'}}">{{$submit}}</button>
27                                                 </div>
28                                                 <div class="clear"></div>
29                                         </div>
30                                 </div>
31                         </div>
32                         {{/foreach}}
33                 </div>
34
35         </form>
36 </div>