Commit 3e854253 authored by Yadd's avatar Yadd
Browse files

Add optional URL in authChoice entries (Closes: #884)

parent 5bdea026
......@@ -7,17 +7,23 @@
<tr>
<td trspan="name"></td>
<td>
<input ng-model="currentNode.title">
<input class="form-control" ng-model="currentNode.title">
</td>
</tr>
<tr ng-repeat="i in [[0,'authentication'],[1,'userDB'],[2,'passwordDB']]">
<td trspan="{{i[1]}}"</td>
<td trspan="{{i[1]}}"></td>
<td>
<select id="selectform" class="form-control" ng-model="currentNode.data[i[0]]" ng-change="execFilters(_findScopeByKey('authParams'))">
<option ng-repeat="item in _findContainer().select[i[0]]" ng-selected="item.k==currentNode.data[i[0]]" value="{{item.k}}">{{item.v}}</option>
</select>
</td>
</tr>
<tr>
<td trspan="url"></td>
<td>
<input class="form-control" ng-model="currentNode.data[3]">
</td>
</tr>
</tbody>
</table>
</div>
......
......@@ -9,18 +9,22 @@
<th trspan="authentication"></th>
<th trspan="userDB"></th>
<th trspan="passwordDB"></th>
<th trspan="url"></th>
</tr>
</thead>
<tbody>
<tr ng-repeat="c in currentNode.nodes">
<td>
<input ng-model="c.title">
<input class="form-control" ng-model="c.title">
</td>
<td ng-repeat="i in [0,1,2]">
<select class="form-control" ng-model="c.data[i]" ng-change="execFilters(_findScopeByKey('authParams'))">
<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]">
</td>
</tr>
</tbody>
</table>
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment