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