yangUI changes
[dlux.git] / modules / loader-resources / src / main / resources / assets / views / yangui / operational / container.tpl.html
1 <div ng-controller="containerCtrl" class="customContainer {{ node.expanded ? '' : 'withoutBorder' }}" ng-show='node.isFilled()'>
2     <div class="topContainerPart">
3         <span class="treeBullet containerBullet" ng-show="node !== selSubApi.node">&#8226;</span>
4         <button class="yangButton {{ node.expanded ? 'iconArrowDown' : 'iconArrowRight' }} inlineBlock" tooltip="{{ 'SHOW_HIDE_CON' | translate }}" ng-click='toggleExpanded()'></button>
5         <button class=" btn-name btn-slim">
6             {{node.localeLabel | translate}}
7         </button>
8         <button ng-if="node.getChildren('description', null, null, 'label').length > 0" class="yangButton iconQuestion inlineBlock" tooltip="{{node.getChildren('description', null, null, 'label')[0]}}" ></button>
9     </div>
10     
11     <div ng-show="node.expanded">
12         <div ng-repeat="node in node.getChildren(null,null,constants.NODE_UI_DISPLAY) | filter:filterNodes" ng-include="currentPath+'/operational/'+node.type+'.tpl.html'"></div>
13     </div>
14
15     <i class="icon-caret-down borderArrow" ng-show="node.expanded"></i>
16 </div>