2015-05-14 08:44:38 +02:00
|
|
|
<div class="panel panel-default">
|
2015-07-09 17:38:35 +02:00
|
|
|
<div class="panel-heading">
|
2016-01-20 22:23:29 +01:00
|
|
|
<h3 class="panel-title" trspan="rule"></h3>
|
2015-05-14 08:44:38 +02:00
|
|
|
</div>
|
2015-10-23 16:03:46 +02:00
|
|
|
<table class="table">
|
|
|
|
<tr>
|
2016-01-20 22:23:29 +01:00
|
|
|
<th><span trspan="comment"></span></th>
|
2015-10-23 16:03:46 +02:00
|
|
|
<td ng-if="currentNode.re!='default'"><input id="hashkeycomment" 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-10-23 16:03:46 +02:00
|
|
|
</tr>
|
|
|
|
<tr>
|
2016-01-20 22:23:29 +01:00
|
|
|
<th><span trspan="regexp"></span></th>
|
2015-10-23 16:03:46 +02:00
|
|
|
<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>
|
2016-01-20 22:23:29 +01:00
|
|
|
<th><span trspan="rule"></span></th>
|
2015-10-23 16:03:46 +02:00
|
|
|
<td><textarea rows="3" id="hashvalueinput" class="form-control" ng-model="currentNode.data"/></td>
|
|
|
|
</tr>
|
|
|
|
</table>
|
2015-05-14 08:44:38 +02:00
|
|
|
</div>
|
2016-02-16 07:21:40 +01:00
|
|
|
<script type="text/menu">
|
|
|
|
[{
|
2015-05-14 08:44:38 +02:00
|
|
|
'title': 'newRule',
|
2015-07-23 18:26:37 +02:00
|
|
|
'icon': 'plus-sign'
|
2015-05-14 08:44:38 +02:00
|
|
|
},{
|
2015-07-23 18:26:37 +02:00
|
|
|
'title': 'deleteEntry',
|
|
|
|
'icon': 'minus-sign'
|
2016-02-16 07:21:40 +01:00
|
|
|
}]
|
2015-05-14 08:44:38 +02:00
|
|
|
</script>
|