| 1 | <div class="panel panel-default"> |
| 2 | <div class="panel-heading"> |
| 3 | <h3 class="panel-title">{{currentNode.title}}</h3> |
| 4 | </div> |
| 5 | <table class="table table-striped"> |
| 6 | <thead> |
| 7 | <tr> |
| 8 | <th width="25%" trspan="name"></th> |
| 9 | <th width="25%" trspan="type"></th> |
| 10 | <th width="35%" trspan="use"></th> |
| 11 | <th></th> |
| 12 | </tr> |
| 13 | </thead> |
| 14 | <tbody> |
| 15 | <tr> |
| 16 | <td> |
| 17 | <input class="form-control" ng-model="currentNode.title" /> |
| 18 | </td> |
| 19 | <td> |
| 20 | <select class="form-control" ng-model="currentNode.data.type" ng-change="execFilters(_findScopeByKey('authParams'))"> |
| 21 | <option ng-repeat="item in _findContainer().select" ng-selected="item.k===currentNode.data.type" value="{{item.k}}" trspan="{{item.v}}">{{item.v}}</option> |
| 22 | </select> |
| 23 | </td> |
| 24 | <td> |
| 25 | <select class="form-control" ng-model="currentNode.data.for"> |
| 26 | <option value="0" ng-selected="currentNode.data.for==0" trspan="authAndUserdb"></option> |
| 27 | <option value="1" ng-selected="currentNode.data.for==1" trspan="authOnly"></option> |
| 28 | <option value="2" ng-selected="currentNode.data.for==2" trspan="userdbOnly"></option> |
| 29 | </select> |
| 30 | </td> |
| 31 | </tr> |
| 32 | </tbody> |
| 33 | </table> |
| 34 | <h4 trspan="overPrm"></h4> |
| 35 | <table class="table"> |
| 36 | <tr ng-repeat="t in currentNode.data.over"> |
| 37 | <td> |
| 38 | <input class="form-control" ng-model="t[0]" /> |
| 39 | </td> |
| 40 | <td> |
| 41 | <input class="form-control" ng-model="t[1]" /> |
| 42 | </td> |
| 43 | <td> |
| 44 | <span class="link text-danger glyphicon glyphicon-minus-sign" ng-click="del(currentNode.data.over,$index)"></span> |
| 45 | <span ng-if="$last" class="link text-success glyphicon glyphicon-plus-sign" ng-click="menuClick({title:'newCmbOver'})"></span> |
| 46 | </td> |
| 47 | </tr> |
| 48 | </table> |
| 49 | </div> |
| 50 | <script type="text/menu"> |
| 51 | [{ |
| 52 | "title": "newCmbOver", |
| 53 | "icon": "plus-sign" |
| 54 | },{ |
| 55 | "title": "deleteEntry", |
| 56 | "icon": "minus-sign" |
| 57 | }] |
| 58 | </script> |