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

62 lines
2.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>
2017-03-24 16:03:40 +01:00
<td id="namelabel" for="namei" trspan="name"></td>
2015-12-14 23:24:11 +01:00
<td>
2017-03-24 16:03:40 +01:00
<input class="form-control" ng-model="currentNode.title" id="namei" aria-describedby="namelabel">
2015-12-14 23:24:11 +01:00
</td>
</tr>
<tr ng-repeat="i in [[0,'authentication'],[1,'userDB'],[2,'passwordDB']]">
2017-03-24 16:03:40 +01:00
<td trspan="{{i[1]}}" id="{{i[1]+'label'}}" for="{{i[1]+'selectform'}}"></td>
2015-12-14 23:24:11 +01:00
<td>
2017-03-24 16:03:40 +01:00
<select id="{{i[1]+'selectform'}}" class="form-control" ng-model="currentNode.data[i[0]]" ng-change="execFilters(_findScopeByKey('authParams'))" aria-describedby="{{i[1]+'label'}}">
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>
2017-03-24 16:03:40 +01:00
<td id="urllabel" for="urli" trspan="url"></td>
<td>
2017-03-24 16:03:40 +01:00
<input class="form-control" ng-model="currentNode.data[3]" id="urli" aria-describedby="urllabel">
</td>
</tr>
2018-04-25 15:40:19 +02:00
<tr>
<td id="condlabel" for="condi" trspan="condition"></td>
<td>
<input class="form-control" ng-model="currentNode.data[4]" id="condi" aria-describedby="condlabel">
</td>
</tr>
2015-12-14 23:24:11 +01:00
</tbody>
</table>
2018-10-08 16:57:24 +02:00
<h4 trspan="overPrm"></h4>
<table class="table">
<tr ng-repeat="t in currentNode.data[5]">
<td>
<input class="form-control" ng-model="t[0]" />
</td>
<td>
<input class="form-control" ng-model="t[1]" />
</td>
<td>
2020-07-28 13:45:54 +02:00
<span class="link text-danger glyphicon glyphicon-minus-sign" ng-click="del(currentNode.data[5],$index)"></span>
<span ng-if="$last" class="link text-success glyphicon glyphicon-plus-sign"
2020-07-28 13:45:54 +02:00
ng-click="menuClick({title:'newCmbOver', action:'newChoiceOver'})"></span>
2018-10-08 16:57:24 +02:00
</td>
</tr>
</table>
2015-12-13 08:25:41 +01:00
</div>
2016-02-16 07:21:40 +01:00
<script type="text/menu">
[{
2018-10-08 16:57:24 +02:00
"action": "newChoiceOver",
"title": "newCmbOver",
2017-01-18 17:31:53 +01:00
"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>