Merge pull request #2061 from emanuelschuetze/template-Fixes

Template fixes
This commit is contained in:
Norman Jäckel 2016-03-21 20:03:43 +01:00
commit d51652ff72
2 changed files with 5 additions and 5 deletions

View File

@ -661,7 +661,7 @@ img {
} }
/* angular-chosen: override default width of select fields in quickmode */ /* angular-chosen: override default width of select fields in quickmode */
.quickmode .chosen-container { .chosen-container {
width: 100% !important; width: 100% !important;
} }

View File

@ -10,15 +10,15 @@
<!-- generate config groups --> <!-- generate config groups -->
<div ng-repeat="group in configGroups"> <div ng-repeat="group in configGroups">
<div class="panel panel-default"> <div class="panel panel-default">
<div class="panel-heading" role="tab" id="heading-{{ group.name }}"> <div class="panel-heading" role="tab" id="heading-group{{ $index }}">
<h4 class="panel-title"> <h4 class="panel-title">
<a data-toggle="collapse" data-parent="#accordion" href="#{{ group.name }}" <a data-toggle="collapse" data-parent="#accordion" href="#group{{ $index }}"
aria-expanded="false" aria-controls="{{ group.name }}"> aria-expanded="false" aria-controls="group{{ $index }}">
{{ group.name | translate }} {{ group.name | translate }}
</a> </a>
</h4> </h4>
</div> <!-- heading --> </div> <!-- heading -->
<div id="{{ group.name }}" class="panel-collapse collapse" role="tabpanel" aria-labelledby="heading-{{ group.name }}"> <div id="group{{ $index }}" class="panel-collapse collapse" role="tabpanel" aria-labelledby="heading-group{{ $index }}">
<div class="panel-body"> <div class="panel-body">
<div ng-repeat="subgroup in group.subgroups"> <div ng-repeat="subgroup in group.subgroups">
<h3>{{ subgroup.name }}</h3> <h3>{{ subgroup.name }}</h3>