+++ /dev/null
-<div ng-controller="ListCtrl" class="customContainer listContainer {{ node.expanded ? '' : 'withoutBorder' }}" ng-show='node.isFilled()'>\r
- <div class="topContainerPart">\r
- <span class="treeBullet containerBullet" ng-if="node !== selSubApi.node">•</span>\r
- <button class="yangButton {{ node.expanded ? 'iconArrowDown' : 'iconArrowRight' }} inlineBlock" tooltip="{{ 'SHOW_HIDE_LIST' | translate }}" ng-click='toggleExpanded()'></button>\r
- <button class="btn-slim btn-name inlineBlock">\r
- {{getNodeName(node.localeLabel, node.label)}} {{ 'YANGUI_LIST_LABEL' | translate }}\r
- </button>\r
- <button ng-if="node.getChildren('description', null, null, 'label').length > 0" class="yangButton iconQuestion inlineBlock" tooltip="{{node.getChildren('description', null, null, 'label')[0]}}" ></button>\r
-\r
- <!-- Augmentation control -->\r
- <div class="modalWrapper" ng-if="node.augmentionGroups.length" ng-include src="currentPath + 'modal/augmentation-modal.tpl.html'"></div>\r
- <span ng-if="node.augmentationId" class="augmentIcon reversed" tooltip="{{ 'YANGUI_IS_AUGMENT' | translate }} {{ node.augmentationId }}">A</span>\r
- <!-- Augmentation control end -->\r
-\r
- <div class="modalWrapper">\r
- <button ng-click="showModalWin()" ng-show="node.listData.length > 0 && !showModal" tooltip="{{ 'LIST_SHOW_ALL' | translate }}" class="yangButton iconList"></button>\r
- <div class="listModal simpleContainer listFilterWindow" ng-if="showModal && node.listData.length > 0">\r
- <button class="yangButton iconListBck inlineBlock iconFilterOver" ng-click="showModalWin()"></button>\r
- <div class="leaf ng-scope">\r
- <span class="leaf-label list-title">{{ 'YANGUI_LIST_OF_NODES' | translate }}</span>\r
- <button class="yangButton icon-remove close" ng-click="showModalWin()"></button>\r
- </div>\r
- <div class="listWrapper">\r
- <ul>\r
- <li ng-repeat="_ in node.listData" class="pl30">\r
- <button class="yangButton iconView" ng-if="[currentDisplayIndex, currentDisplayIndex + 1, currentDisplayIndex - 1].indexOf($index) !== -1"></button>\r
- <button class="btn btn-like-tab {{ (node.actElemIndex === $index ? 'btn-selected':'') }} {{ ((node.doubleKeyIndexes.indexOf($index)>-1) ? 'btn-red':'') }}" style="margin-right: 5px" ng-click="node.changeActElementData($index)">\r
- {{getNodeName(node.localeLabel, node.label)}} {{node.createListName($index)}}\r
- </button>\r
- </li>\r
- </ul>\r
- </div>\r
- </div>\r
- </div>\r
-\r
- <ng-include src="currentPath+'/filter.tpl.html'"></ng-include>\r
-\r
- <div class="listItemWrapper" ng-include="currentPath+'/operational/list-data-top.tpl.html'" ng-if="!(node.filteredListData && node.filteredListData.length)"></div>\r
- <div class="listItemWrapper" ng-include="currentPath+'/operational/list-filtered-data-top.tpl.html'" ng-if="(node.filteredListData && node.filteredListData.length)"></div>\r
- </div>\r
-\r
- <!-- <button ng-repeat="_ in node.listData" class="btn btn-orange {{ (node.actElemIndex === $index ? 'btn-selected':'') }} {{ ((node.doubleKeyIndexes.indexOf($index)>-1) ? 'btn-red':'') }} add-row ng-scope btn-slim" style="margin-right: 5px" ng-click="node.changeActElementData($index)">\r
- {{node.localeLabel | translate}} {{node.createListName($index)}}\r
- </button> -->\r
-\r
- <div ng-if="node.actElemStructure" ng-show="node.expanded"><!-- class="simpleContainer" -->\r
- <div ng-repeat="node in node.actElemStructure.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" >\r
- <div class="clear"></div>\r
- </div>\r
- </div>\r
-\r
-\r
- <i class="icon-caret-down borderArrow" ng-show="node.expanded"></i>\r
-</div>\r