You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
51 lines
1.7 KiB
51 lines
1.7 KiB
<div class="panel panel-default">
|
|
<div class="panel-heading">
|
|
<h3 class="panel-title">{{translateTitle(currentNode)}}</h3>
|
|
</div>
|
|
<table class="table table-striped">
|
|
<thead>
|
|
<tr>
|
|
<th width="20%" trspan="comments"></th>
|
|
<th width="30%" trspan="regexps"></th>
|
|
<th width="40%" trspan="rules"></th>
|
|
<th width="7%" trspan="rulesAuthnLevel"></th>
|
|
<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'">
|
|
<p><strong><span trspan="defaultRule"></span></strong></p>
|
|
</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 ng-if="s.re!='default'">
|
|
<input type="number" class="form-control" ng-model="s.level"/>
|
|
</td>
|
|
<td ng-if="s.re=='default'">
|
|
<input class="form-control" placeholder="defaultLevel" readonly/>
|
|
</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>
|
|
</div>
|
|
<script type="text/menu">
|
|
[{
|
|
"title": "newRule",
|
|
"icon": "plus-sign"
|
|
}]
|
|
</script>
|
|
|