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

31 lines
1.1 KiB
HTML
Raw Normal View History

<div class="panel panel-default">
2015-07-09 17:38:35 +02:00
<div class="panel-heading">
<h3 class="panel-title" trspan="rule"/>
</div>
<table class="table">
<tr>
<th><span trspan="comment" /></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" /></strong></p></td>
</tr>
<tr>
<th><span trspan="regexp" /></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" /></th>
<td><textarea rows="3" id="hashvalueinput" class="form-control" ng-model="currentNode.data"/></td>
</tr>
</table>
</div>
<script type="text/javascript">
buttons=[{
'title': 'newRule',
'icon': 'plus-sign'
},{
'title': 'deleteEntry',
'icon': 'minus-sign'
}];
</script>