6e27659c51
This reverts commit b77d45eca9
42 lines
1.4 KiB
HTML
42 lines
1.4 KiB
HTML
<div class="panel panel-default">
|
|
<div class="panel-heading">
|
|
<h3 class="panel-title">{{translateTitle(currentNode)}}</h3>
|
|
</div>
|
|
<table class="table table-striped">
|
|
<thead>
|
|
<tr>
|
|
<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>
|
|
</tr>
|
|
</thead>
|
|
<tbody>
|
|
<tr ng-repeat="c in currentNode.nodes">
|
|
<td>
|
|
<input class="form-control" ng-model="c.title" aria-decribedby="namelabel">
|
|
</td>
|
|
<td ng-repeat="i in [0,1,2]">
|
|
<select class="form-control" ng-model="c.data[i]" ng-change="execFilters(_findScopeByKey('authParams'))" aria-decribedby="{{['authlabel','userdblabel','pwdlabel'][i]}}">
|
|
<option ng-repeat="item in currentNode.select[i]" ng-selected="item.k==c.data[i]" value="{{item.k}}">{{item.v}}</option>
|
|
</select>
|
|
</td>
|
|
<td>
|
|
<input class="form-control" ng-model="c.data[3]" aria-describedby="urllabel">
|
|
</td>
|
|
<td>
|
|
<span class="link text-danger glyphicon glyphicon-minus-sign" ng-click="del(currentNode.nodes,$index)"/>
|
|
</td>
|
|
</tr>
|
|
</tbody>
|
|
</table>
|
|
</div>
|
|
<script type="text/menu">
|
|
[{
|
|
"action": "newAuthChoice",
|
|
"title": "newChain",
|
|
"icon": "plus-sign"
|
|
}]
|
|
</script>
|