lemonldap-ng/lemonldap-ng-manager/site/htdocs/static/forms/rule.html
2019-10-26 12:43:27 +02:00

35 lines
1.3 KiB
HTML

<div class="panel panel-default">
<div class="panel-heading">
<h3 class="panel-title" trspan="rule"></h3>
</div>
<table class="table">
<tr>
<th><span trspan="comment"></span></th>
<td ng-if="currentNode.re!='default'"><input id="hashkeycomment" class="form-control" ng-model="currentNode.comment" ng-change="changeRuleTitle(currentNode)"/></td>
<td ng-if="currentNode.re=='default'"><p><strong><span trspan="defaultRule"></span></strong></p></td>
</tr>
<tr>
<th><span trspan="regexp"></span></th>
<td ng-if="currentNode.re!='default'"><input id="hashkeyinput" class="form-control" ng-model="currentNode.re" ng-change="changeRuleTitle(currentNode)"/></td>
<td ng-if="currentNode.re=='default'"><input class="form-control" placeholder="default" readonly /></td>
</tr>
<tr>
<th><span trspan="rule"></span></th>
<td><textarea rows="3" id="hashvalueinput" class="form-control" ng-model="currentNode.data"/></td>
</tr>
<tr ng-if="currentNode.re!='default'">
<th><span trspan="ruleAuthnLevel"></span></th>
<td><input id="ruleAuthnLevel" type="number" class="form-control" ng-model="currentNode.level"/></td>
</tr>
</table>
</div>
<script type="text/menu">
[{
"title": "newRule",
"icon": "plus-sign"
},{
"title": "deleteEntry",
"icon": "minus-sign"
}]
</script>