2017-02-06 07:42:22 +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>
|
|
|
|
<th width="25%" trspan="name"></th>
|
|
|
|
<th width="25%" trspan="type"></th>
|
|
|
|
<th width="35%" trspan="use"></th>
|
2020-07-28 14:17:07 +02:00
|
|
|
<th></th>
|
2017-02-06 07:42:22 +01:00
|
|
|
</tr>
|
|
|
|
</thead>
|
|
|
|
<tbody>
|
|
|
|
<tr ng-repeat="s in currentNode.nodes">
|
|
|
|
<td>
|
|
|
|
<input class="form-control" ng-model="s.title" />
|
|
|
|
</td>
|
|
|
|
<td>
|
|
|
|
<select class="form-control" ng-model="s.data.type" ng-change="execFilters(_findScopeByKey('authParams'))">
|
2017-02-06 13:36:29 +01:00
|
|
|
<option ng-repeat="item in currentNode.select" ng-selected="item.k==s.data.type" value="{{item.k}}">{{item.v}}</option>
|
2017-02-06 07:42:22 +01:00
|
|
|
</select>
|
|
|
|
</td>
|
|
|
|
<td>
|
|
|
|
<select class="form-control" ng-model="s.data.for">
|
2020-07-28 14:17:07 +02:00
|
|
|
<option value="0" ng-selected="s.data.for==0" trspan="authAndUserdb"></option>
|
|
|
|
<option value="1" ng-selected="s.data.for==1" trspan="authOnly"></option>
|
|
|
|
<option value="2" ng-selected="s.data.for==2" trspan="userdbOnly"></option>
|
2017-02-06 07:42:22 +01:00
|
|
|
</select>
|
|
|
|
</td>
|
|
|
|
<td>
|
2020-07-28 13:45:54 +02:00
|
|
|
<span 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:'newCmbMod'})"></span>
|
2017-02-06 07:42:22 +01:00
|
|
|
</td>
|
|
|
|
</tr>
|
|
|
|
</tbody>
|
|
|
|
</table>
|
|
|
|
</div>
|
|
|
|
<script type="text/menu">
|
|
|
|
[{
|
|
|
|
"title": "newCmbMod",
|
|
|
|
"icon": "plus-sign"
|
|
|
|
}]
|
|
|
|
</script>
|