1b3daf6ed3b0c920a437e9ea1d825e6c1d956627
[dlux.git] / modules / yangman-resources / src / main / resources / yangman / views / rightpanel / form / 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-if="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             {{yangForm.getNodeName(node.localeLabel, node.label)}}
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
10         <!-- Augmentation control -->
11         <div class="modalWrapper" ng-if="node.augmentionGroups.length" ng-include src="currentPath + 'modal/augmentation-modal.tpl.html'"></div>
12         <span ng-if="node.augmentationId" class="augmentIcon reversed" tooltip="{{ 'YANGUI_IS_AUGMENT' | translate }} {{ node.augmentationId }}">A</span>
13         <!-- Augmentation control end -->
14     </div>
15
16     <div ng-if="node.expanded">
17         <div ng-repeat="node in node.getChildren(null,null,constants.NODE_UI_DISPLAY) | filter:filterNodes" ng-include="currentPath+'/operational/'+node.type+'.tpl.html'" ng-hide="node.augmentationId && !augmentations.getAugmentation(node.parent, node.augmentationId).expanded"></div>
18     </div>
19
20     <i class="icon-caret-down borderArrow" ng-show="node.expanded"></i>
21 </div>