lemonldap-ng/lemonldap-ng-manager/site/static/forms/authChoice.html

34 lines
990 B
HTML
Raw Normal View History

2015-12-13 08:25:41 +01:00
<div class="panel panel-default">
<div class="panel-heading">
<h3 class="panel-title" trspan="authChain"/>
</div>
2015-12-14 23:24:11 +01:00
<table class="table table-striped">
<tbody>
<tr>
<td trspan="name"></td>
<td>
<input ng-model="currentNode.title">
</td>
</tr>
<tr ng-repeat="i in [[0,'authentication'],[1,'userDB'],[2,'passwordDB']]">
<td trspan="{{i[1]}}"</td>
<td>
<select id="selectform" class="form-control" ng-model="currentNode.data[i[0]]" ng-change="execFilters(_findScopeByKey('authParams'))">
2015-12-14 23:24:11 +01:00
<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>
</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'
},{
'title': 'deleteEntry',
'icon': 'minus-sign'
}];
</script>