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

40 lines
1.1 KiB
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"></h3>
2015-12-13 08:25:41 +01:00
</div>
2015-12-14 23:24:11 +01:00
<table class="table table-striped">
<tbody>
<tr>
<td trspan="name"></td>
<td>
<input class="form-control" ng-model="currentNode.title">
2015-12-14 23:24:11 +01:00
</td>
</tr>
<tr ng-repeat="i in [[0,'authentication'],[1,'userDB'],[2,'passwordDB']]">
<td trspan="{{i[1]}}"></td>
2015-12-14 23:24:11 +01:00
<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>
<tr>
<td trspan="url"></td>
<td>
<input class="form-control" ng-model="currentNode.data[3]">
</td>
</tr>
2015-12-14 23:24:11 +01:00
</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"
2015-12-13 08:25:41 +01:00
},{
2017-01-18 17:31:53 +01:00
"title": "deleteEntry",
"icon": "minus-sign"
2016-02-16 07:21:40 +01:00
}]
2015-12-13 08:25:41 +01:00
</script>