54027ccf0a86c7697ea240b689a17f1820b5918e
[dlux.git] / modules / loader-resources / src / main / resources / assets / views / yangui / container.tpl.html
1 <div ng-controller="containerCtrl" class="customContainer {{ node.expanded ? '' : 'withoutBorder' }}">\r
2     <div class="topContainerPart">\r
3         <span class="treeBullet containerBullet" ng-show="node !== selSubApi.node">&#8226;</span>\r
4         <button class="btn add-row btn-orange ng-scope btn-slim btn-show-custom" tooltip="{{ 'SHOW_HIDE_CON' | translate }}" ng-click='toggleExpanded()'>\r
5             <i class="icon-caret-down" ng-show="node.expanded"></i>\r
6             <i class="icon-caret-right" ng-show="!node.expanded"></i>\r
7         </button>\r
8         <button class="btn-name btn-slim">\r
9             {{node.localeLabel | translate}}\r
10         </button>\r
11         <button ng-if="node.getChildren('description', null, null, 'label').length > 0" class="btn add-row btn-orange ng-scope btn-slim btn-show-custom inlineBlock" tooltip="{{node.getChildren('description', null, null, 'label')[0]}}" >\r
12             <i class="icon-question-sign"></i> \r
13         </button>\r
14     </div>\r
15 \r
16     <div ng-show="node.expanded">\r
17         <div ng-repeat="node in node.children" ng-include="currentPath+'/'+node.type+'.tpl.html'">\r
18     </div>\r
19     \r
20     <i class="icon-caret-down borderArrow" ng-show="node.expanded"></i>\r
21 </div>