2015-12-30 19:32:01 +01:00
|
|
|
<div class="panel panel-default">
|
|
|
|
<div class="panel-heading">
|
2016-01-20 22:23:29 +01:00
|
|
|
<h3 class="panel-title" trspan="rule"></h3>
|
2015-12-30 19:32:01 +01:00
|
|
|
</div>
|
|
|
|
<table class="table">
|
|
|
|
<tr>
|
2016-01-20 22:23:29 +01:00
|
|
|
<th><span trspan="comment"></span></th>
|
2015-12-30 19:32:01 +01:00
|
|
|
<td ng-if="currentNode.re!='default'"><input id="rulecomment" class="form-control" ng-model="currentNode.comment" ng-change="changeRuleTitle(currentNode)"/></td>
|
2016-01-20 22:23:29 +01:00
|
|
|
<td ng-if="currentNode.re=='default'"><p><strong><span trspan="defaultRule"></span></strong></p></td>
|
2015-12-30 19:32:01 +01:00
|
|
|
</tr>
|
|
|
|
<tr>
|
2016-01-20 22:23:29 +01:00
|
|
|
<th><span trspan="rule"></span></th>
|
2015-12-30 19:32:01 +01:00
|
|
|
<td><input id="rule" class="form-control"ng-model="currentNode.re" ng-change="changeRuleTitle(currentNode)"/></td>
|
|
|
|
</tr>
|
|
|
|
<tr>
|
2016-01-20 22:23:29 +01:00
|
|
|
<th><span trspan="message"></span></th>
|
2015-12-30 19:32:01 +01:00
|
|
|
<td><textarea rows="3" id="rulemessage" class="form-control" ng-model="currentNode.data"/></td>
|
|
|
|
</tr>
|
|
|
|
</table>
|
|
|
|
</div>
|
|
|
|
<script type="text/javascript">
|
|
|
|
buttons=[{
|
|
|
|
'title': 'newGrantRule',
|
|
|
|
'icon': 'plus-sign'
|
|
|
|
},{
|
|
|
|
'title': 'deleteEntry',
|
|
|
|
'icon': 'minus-sign'
|
|
|
|
}];
|
|
|
|
</script>
|