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">
|
2015-05-14 08:44:38 +02:00
|
|
|
<h3 class="panel-title">{{translateTitle(currentNode)}}</h3>
|
|
|
|
</div>
|
2015-10-23 16:03:46 +02:00
|
|
|
<table class="table table-striped">
|
|
|
|
<thead>
|
|
|
|
<tr>
|
2016-01-20 22:23:29 +01:00
|
|
|
<th width="20%" trspan="comments"></th>
|
|
|
|
<th width="30%" trspan="regexps"></th>
|
|
|
|
<th width="50%" trspan="rules"></th>
|
2015-10-23 16:03:46 +02:00
|
|
|
<th />
|
|
|
|
</tr>
|
|
|
|
</thead>
|
|
|
|
<tbody>
|
|
|
|
<tr ng-repeat="s in currentNode.nodes">
|
|
|
|
<td ng-if="s.re!='default'">
|
|
|
|
<input class="form-control" ng-model="s.comment" ng-change="changeRuleTitle(s)"/>
|
|
|
|
</td>
|
|
|
|
<td ng-if="s.re!='default'">
|
|
|
|
<input class="form-control" ng-model="s.re" ng-change="changeRuleTitle(s)"/>
|
|
|
|
</td>
|
|
|
|
<td ng-if="s.re=='default'">
|
2016-01-20 22:23:29 +01:00
|
|
|
<p><strong><span trspan="defaultRule"></span></strong></p>
|
2015-10-23 16:03:46 +02:00
|
|
|
</td>
|
|
|
|
<td ng-if="s.re=='default'">
|
|
|
|
<input class="form-control" placeholder="default" readonly/>
|
|
|
|
</td>
|
|
|
|
<td>
|
|
|
|
<input class="form-control" ng-model="s.data"/>
|
|
|
|
</td>
|
|
|
|
<td>
|
|
|
|
<span ng-if="s.re!='default'" class="link text-danger glyphicon glyphicon-minus-sign" ng-click="del(currentNode.nodes,$index)"/>
|
|
|
|
<span ng-if="$last" class="link text-success glyphicon glyphicon-plus-sign" ng-click="menuClick({title:'newRule'})"/>
|
|
|
|
</td>
|
|
|
|
</tr>
|
|
|
|
</tbody>
|
|
|
|
</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'
|
2016-02-16 07:21:40 +01:00
|
|
|
}]
|
2015-05-14 08:44:38 +02:00
|
|
|
</script>
|