1 <div ng-controller="ListCtrl as yangList"
2 class="yangmanModule__right-panel__form__element-container"
3 ng-class="{'expanded' : node.expanded}"
4 ng-init="yangList.init()">
6 <!-- container title -->
8 layout-align="start center"
9 class="container-label">
12 <md-icon md-font-set="material-icons" class="top-icon top-element pointer" ng-click="yangList.toggleExpanded()">
13 <md-tooltip md-direction="left">{{ 'YANGMAN_SHOW_HIDE_CON' | translate }}</md-tooltip>
14 {{node.expanded ? 'keyboard_arrow_down':'keyboard_arrow_right'}}
18 <p class="top-element pointer list-label" ng-click="yangList.toggleExpanded()" ym-info-box node="node">
19 {{yangForm.getNodeName(node.localeLabel, node.label)}}
23 <yang-form-menu is-action-menu="yangList.isActionMenu()"
24 augmentations="augmentations"
25 add-list-item-func="yangList.addListElem()"
26 add-list-item="!yangList.disableAddingListElement"
29 node="node"></yang-form-menu>
31 <!--<ng-include src="currentPath+'/filter.tpl.html'"></ng-include>-->
34 layout-align="start center"
35 class="yangmanModule__right-panel__form__list__paginator"
36 ng-include="yangForm.viewPath + '/list-data-top.tpl.html'"
37 ng-if="!(node.filteredListData && node.filteredListData.length)"></section>
39 <div class="listItemWrapper"
40 ng-include="yangForm.viewPath + '/config/list-filtered-data-top.tpl.html'"
41 ng-if="(node.filteredListData && node.filteredListData.length)"></div>
45 <!-- list's children -->
46 <div ng-if="node.actElemStructure" ng-show="node.expanded">
47 <div ng-repeat="node in node.actElemStructure.getChildren(null,null,constants.NODE_UI_DISPLAY) | ymOnlyConfigElem"
48 ng-include="yangForm.viewPath + '/config/' + node.type+'.tpl.html'"
49 ng-hide="node.augmentationId && !augmentations.getAugmentation(node.parent, node.augmentationId).expanded">