Yang UI - new features and fixes
[dlux.git] / modules / yangui-resources / src / main / resources / yangui / views / rpc.tpl.html
1 <div ng-controller="rpcCtrl" class="customContainer {{ node.expanded ? '' : 'withoutBorder' }}">\r
2     <div class="topContainerPart">\r
3         <span class="treeBullet" ng-show="node !== selSubApi.node">&#8226;</span>\r
4         <button class="yangButton {{ node.expanded ? 'iconArrowDown' : 'iconArrowRight' }} inlineBlock" tooltip="{{ 'SHOW_HIDE_ELEM' | translate }}" ng-click='toggleExpanded()'></button>\r
5         <span>\r
6             <b>{{getNodeName(node.localeLabel, node.label)}}</b>\r
7             <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
8             <span ng-if="node.augmentationId" class="augmentIcon reversed" tooltip="{{ 'YANGUI_IS_AUGMENT' | translate }} {{ node.augmentationId }}">A</span>\r
9         </span>\r
10     </div>\r
11 \r
12     <div ng-show="node.expanded">\r
13         <div ng-repeat="node in node.getChildren(null,null,constants.NODE_UI_DISPLAY) | onlyConfigStmts" ng-include="currentPath+'/'+node.type+'.tpl.html'">\r
14         </div>\r
15     </div>\r
16 \r
17     <i class="icon-caret-down borderArrow" ng-show="node.expanded"></i>\r
18 </div>