Template fixes
- Fix config groups. Use group index instead of group names (with blanks). - Use 100% width for all chosen fields.
This commit is contained in:
parent
aa122263e1
commit
0565d57789
@ -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;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -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>
|
||||||
|
Loading…
Reference in New Issue
Block a user