2015-12-30 19:32:01 +01:00
|
|
|
<div class="panel panel-default">
|
|
|
|
<div class="panel-heading">
|
|
|
|
<h3 class="panel-title">{{translateTitle(currentNode)}}</h3>
|
|
|
|
</div>
|
|
|
|
<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="rules"></th>
|
|
|
|
<th width="50%" trspan="messages"></th>
|
2015-12-30 19:32:01 +01:00
|
|
|
<th />
|
|
|
|
</tr>
|
|
|
|
</thead>
|
|
|
|
<tbody>
|
|
|
|
<tr ng-repeat="s in currentNode.nodes">
|
|
|
|
<td>
|
|
|
|
<input class="form-control" ng-model="s.comment" ng-change="changeRuleTitle(s)"/>
|
|
|
|
</td>
|
|
|
|
<td>
|
2018-10-01 16:20:30 +02:00
|
|
|
<input class="form-control" ng-model="s.data"/>
|
2015-12-30 19:32:01 +01:00
|
|
|
</td>
|
|
|
|
<td>
|
2018-10-01 16:20:30 +02:00
|
|
|
<input class="form-control" ng-model="s.re" ng-change="changeRuleTitle(s)"/>
|
2015-12-30 19:32:01 +01:00
|
|
|
</td>
|
|
|
|
<td>
|
2018-10-01 22:28:04 +02:00
|
|
|
<span ng-model="s.title" class="link text-danger glyphicon glyphicon-minus-sign" ng-click="del(currentNode.nodes,$index)"/>
|
2018-10-01 22:32:10 +02:00
|
|
|
<span ng-if="$last" class="link text-success glyphicon glyphicon-plus-sign" ng-click="menuClick({title:'newGrantRule',action:'newGrantRule'})"/>
|
2015-12-30 19:32:01 +01:00
|
|
|
</td>
|
|
|
|
</tr>
|
|
|
|
</tbody>
|
|
|
|
</table>
|
|
|
|
</div>
|
2016-02-16 07:21:40 +01:00
|
|
|
<script type="text/menu">
|
|
|
|
[{
|
2017-01-18 17:31:53 +01:00
|
|
|
"title": "newGrantRule",
|
2018-10-01 22:32:10 +02:00
|
|
|
"action": "newGrantRule",
|
2017-01-18 17:31:53 +01:00
|
|
|
"icon": "plus-sign"
|
2016-02-16 07:21:40 +01:00
|
|
|
}]
|
2015-12-30 19:32:01 +01:00
|
|
|
</script>
|