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