2015-11-29 22:25:01 +01:00
|
|
|
<div class="header">
|
|
|
|
<div class="title">
|
|
|
|
<h1 translate>Settings</h1>
|
|
|
|
</div>
|
|
|
|
</div>
|
2015-06-15 21:25:43 +02:00
|
|
|
|
2015-11-29 22:25:01 +01:00
|
|
|
<div class="details">
|
2016-01-22 20:45:04 +01:00
|
|
|
<div os-perms="core.can_manage_config" class="panel-group" id="accordion"
|
|
|
|
role="tablist" aria-multiselectable="true">
|
2015-11-29 22:25:01 +01:00
|
|
|
<!-- generate config groups -->
|
|
|
|
<div ng-repeat="group in configGroups">
|
|
|
|
<div class="panel panel-default">
|
2016-03-21 19:50:55 +01:00
|
|
|
<div class="panel-heading" role="tab" id="heading-group{{ $index }}">
|
2015-11-29 22:25:01 +01:00
|
|
|
<h4 class="panel-title">
|
2016-03-21 19:50:55 +01:00
|
|
|
<a data-toggle="collapse" data-parent="#accordion" href="#group{{ $index }}"
|
|
|
|
aria-expanded="false" aria-controls="group{{ $index }}">
|
2016-01-27 22:32:38 +01:00
|
|
|
{{ group.name | translate }}
|
2015-11-29 22:25:01 +01:00
|
|
|
</a>
|
|
|
|
</h4>
|
|
|
|
</div> <!-- heading -->
|
2016-03-21 19:50:55 +01:00
|
|
|
<div id="group{{ $index }}" class="panel-collapse collapse" role="tabpanel" aria-labelledby="heading-group{{ $index }}">
|
2015-11-29 22:25:01 +01:00
|
|
|
<div class="panel-body">
|
|
|
|
<div ng-repeat="subgroup in group.subgroups">
|
2016-08-03 21:03:40 +02:00
|
|
|
<h3>{{ subgroup.name | translate }}</h3>
|
2015-11-29 22:25:01 +01:00
|
|
|
<div ng-repeat="configOption in subgroup.items">
|
|
|
|
<os-form-field field="configOption"></os-form-field>
|
|
|
|
</div>
|
2015-06-15 21:25:43 +02:00
|
|
|
</div>
|
|
|
|
</div>
|
2015-11-29 22:25:01 +01:00
|
|
|
</div> <!-- group.name -->
|
|
|
|
</div>
|
2015-06-15 21:25:43 +02:00
|
|
|
</div>
|
|
|
|
</div>
|
2015-06-29 14:17:05 +02:00
|
|
|
</div>
|
2015-06-15 21:25:43 +02:00
|
|
|
|