lemonldap-ng/lemonldap-ng-manager/site/htdocs/static/forms/ruleContainer.html

52 lines
1.7 KiB
HTML
Raw Normal View History

<div class="panel panel-default">
2015-07-09 17:38:35 +02:00
<div class="panel-heading">
<h3 class="panel-title">{{translateTitle(currentNode)}}</h3>
</div>
<table class="table table-striped">
<thead>
<tr>
<th trspan="comments"></th>
<th trspan="regexps"></th>
<th trspan="rules"></th>
<th class="th_rulesAuthnLevel" trspan="rulesAuthnLevel"></th>
2020-07-28 14:17:07 +02:00
<th class="th_rulesAuthnLevel"></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>
2019-10-26 12:43:27 +02:00
<td ng-if="s.re!='default'">
<input type="number" class="form-control" ng-model="s.level"/>
</td>
2019-10-26 13:02:04 +02:00
<td ng-if="s.re=='default'">
2019-12-03 12:22:59 +01:00
<input class="form-control" placeholder="default" readonly/>
2019-10-26 13:02:04 +02:00
</td>
<td>
2020-07-28 13:45:54 +02:00
<span ng-if="s.re!='default'" class="link text-danger glyphicon glyphicon-minus-sign" ng-click="del(currentNode.nodes,$index)"></span>
<span ng-if="$last" class="link text-success glyphicon glyphicon-plus-sign" ng-click="menuClick({title:'newRule'})"></span>
</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": "newRule",
"icon": "plus-sign"
2016-02-16 07:21:40 +01:00
}]
</script>