2015-12-13 08:25:41 +01:00
|
|
|
<div class="panel panel-default">
|
|
|
|
<div class="panel-heading">
|
|
|
|
<h3 class="panel-title">{{translateTitle(currentNode)}}</h3>
|
|
|
|
</div>
|
2015-12-14 23:24:11 +01:00
|
|
|
<table class="table table-striped">
|
|
|
|
<thead>
|
|
|
|
<tr>
|
2017-03-24 16:03:40 +01:00
|
|
|
<th id="namelabel" trspan="name"></th>
|
|
|
|
<th id="authlabel" trspan="authentication"></th>
|
|
|
|
<th id="userdblabel" trspan="userDB"></th>
|
|
|
|
<th id="pwdlabel" trspan="passwordDB"></th>
|
|
|
|
<th id="urllabel" trspan="url"></th>
|
2018-04-25 15:40:19 +02:00
|
|
|
<th id="condlabel" trspan="condition"></th>
|
2015-12-14 23:24:11 +01:00
|
|
|
</tr>
|
|
|
|
</thead>
|
|
|
|
<tbody>
|
|
|
|
<tr ng-repeat="c in currentNode.nodes">
|
2018-09-20 21:53:43 +02:00
|
|
|
<td width="12%">
|
2017-03-24 16:03:40 +01:00
|
|
|
<input class="form-control" ng-model="c.title" aria-decribedby="namelabel">
|
2015-12-14 23:24:11 +01:00
|
|
|
</td>
|
2018-09-20 21:53:43 +02:00
|
|
|
<td width="16%" ng-repeat="i in [0,1,2]">
|
2017-03-24 16:03:40 +01:00
|
|
|
<select class="form-control" ng-model="c.data[i]" ng-change="execFilters(_findScopeByKey('authParams'))" aria-decribedby="{{['authlabel','userdblabel','pwdlabel'][i]}}">
|
2015-12-14 23:24:11 +01:00
|
|
|
<option ng-repeat="item in currentNode.select[i]" ng-selected="item.k==c.data[i]" value="{{item.k}}">{{item.v}}</option>
|
|
|
|
</select>
|
|
|
|
</td>
|
2018-09-20 21:53:43 +02:00
|
|
|
<td width="20%">
|
2017-03-24 16:03:40 +01:00
|
|
|
<input class="form-control" ng-model="c.data[3]" aria-describedby="urllabel">
|
2016-01-11 22:30:06 +01:00
|
|
|
</td>
|
2018-09-20 21:53:43 +02:00
|
|
|
<td width="15%">
|
2018-04-25 15:40:19 +02:00
|
|
|
<input class="form-control" ng-model="c.data[4]" aria-describedby="condlabel">
|
|
|
|
</td>
|
2018-09-20 21:53:43 +02:00
|
|
|
<td width="5%">
|
2017-12-14 22:41:07 +01:00
|
|
|
<span class="link text-danger glyphicon glyphicon-minus-sign" ng-click="del(currentNode.nodes,$index)"/>
|
2018-09-20 21:30:44 +02:00
|
|
|
<span ng-if="$last" class="link text-success glyphicon glyphicon-plus-sign" ng-click="menuClick({title:'newChain',action: 'newAuthChoice'})"/>
|
2017-12-14 22:41:07 +01:00
|
|
|
</td>
|
2015-12-14 23:24:11 +01:00
|
|
|
</tr>
|
|
|
|
</tbody>
|
|
|
|
</table>
|
2015-12-13 08:25:41 +01:00
|
|
|
</div>
|
2016-02-16 07:21:40 +01:00
|
|
|
<script type="text/menu">
|
|
|
|
[{
|
2017-01-18 17:31:53 +01:00
|
|
|
"action": "newAuthChoice",
|
|
|
|
"title": "newChain",
|
|
|
|
"icon": "plus-sign"
|
2016-02-16 07:21:40 +01:00
|
|
|
}]
|
2015-12-13 08:25:41 +01:00
|
|
|
</script>
|