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>
|
|
|
|
<th trspan="name"></th>
|
|
|
|
<th trspan="authentication"></th>
|
|
|
|
<th trspan="userDB"></th>
|
|
|
|
<th trspan="passwordDB"></th>
|
2016-01-11 22:30:06 +01:00
|
|
|
<th trspan="url"></th>
|
2015-12-14 23:24:11 +01:00
|
|
|
</tr>
|
|
|
|
</thead>
|
|
|
|
<tbody>
|
|
|
|
<tr ng-repeat="c in currentNode.nodes">
|
|
|
|
<td>
|
2016-01-11 22:30:06 +01:00
|
|
|
<input class="form-control" ng-model="c.title">
|
2015-12-14 23:24:11 +01:00
|
|
|
</td>
|
|
|
|
<td ng-repeat="i in [0,1,2]">
|
2015-12-15 20:05:44 +01:00
|
|
|
<select class="form-control" ng-model="c.data[i]" ng-change="execFilters(_findScopeByKey('authParams'))">
|
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>
|
2016-01-11 22:30:06 +01:00
|
|
|
<td>
|
|
|
|
<input class="form-control" ng-model="c.data[3]">
|
|
|
|
</td>
|
2015-12-14 23:24:11 +01:00
|
|
|
</tr>
|
|
|
|
</tbody>
|
|
|
|
</table>
|
2015-12-13 08:25:41 +01:00
|
|
|
</div>
|
|
|
|
<script type="text/javascript">
|
|
|
|
buttons=[{
|
2015-12-14 23:24:11 +01:00
|
|
|
'action': 'newAuthChoice',
|
|
|
|
'title': 'newChain',
|
2015-12-13 08:25:41 +01:00
|
|
|
'icon': 'plus-sign'
|
|
|
|
}];
|
|
|
|
</script>
|