Combination in progress (#1151)
parent
8a3bb7b0f9
commit
1780092b0c
@ -0,0 +1,57 @@ |
||||
<div class="panel panel-default"> |
||||
<div class="panel-heading"> |
||||
<h3 class="panel-title">{{currentNode.title}}</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> |
||||
<th /> |
||||
</tr> |
||||
</thead> |
||||
<tbody> |
||||
<tr> |
||||
<td> |
||||
<input class="form-control" ng-model="currentNode.title" /> |
||||
</td> |
||||
<td> |
||||
<select class="form-control" ng-model="currentNode.data.type" ng-change="execFilters(_findScopeByKey('authParams'))"> |
||||
<option ng-repeat="item in _findContainer().select" ng-selected="item.k==currentNode.data[i]" value="{{item.k}}">{{item.v}}</option> |
||||
</select> |
||||
</td> |
||||
<td> |
||||
<select class="form-control" ng-model="currentNode.data.for"> |
||||
<option value="0" trspan="authAndUserdb"> |
||||
<option value="0" trspan="authOnly"> |
||||
<option value="0" trspan="userdbOnly"> |
||||
</select> |
||||
</td> |
||||
</tr> |
||||
</tbody> |
||||
</table> |
||||
<table class="table"> |
||||
<tr ng-repeat="(k,v) in currentNode.data.over"> |
||||
<td> |
||||
<input class="form-control" ng-model="k" /> |
||||
</td> |
||||
<td> |
||||
<input class="form-control" ng-model="v" /> |
||||
</td> |
||||
<td> |
||||
<span class="link text-danger glyphicon glyphicon-minus-sign" ng-click="del(currentNode.data.over,$index)"/> |
||||
<span ng-if="$last" class="link text-success glyphicon glyphicon-plus-sign" ng-click="menuClick({title:'newCmbOver'})"/> |
||||
</td> |
||||
</tr> |
||||
</table> |
||||
</div> |
||||
<script type="text/menu"> |
||||
[{ |
||||
"title": "newCmbOver", |
||||
"icon": "plus-sign" |
||||
},{ |
||||
"title": "deleteEntry", |
||||
"icon": "minus-sign" |
||||
}] |
||||
</script> |
@ -0,0 +1,44 @@ |
||||
<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> |
||||
<th /> |
||||
</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'))"> |
||||
<option ng-repeat="item in currentNode.select[i]" ng-selected="item.k==s.data.type" value="{{item.k}}">{{item.v}}</option> |
||||
</select> |
||||
</td> |
||||
<td> |
||||
<select class="form-control" ng-model="s.data.for"> |
||||
<option value="0" trspan="authAndUserdb"> |
||||
<option value="0" trspan="authOnly"> |
||||
<option value="0" trspan="userdbOnly"> |
||||
</select> |
||||
</td> |
||||
<td> |
||||
<span 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:'newCmbMod'})"/> |
||||
</td> |
||||
</tr> |
||||
</tbody> |
||||
</table> |
||||
</div> |
||||
<script type="text/menu"> |
||||
[{ |
||||
"title": "newCmbMod", |
||||
"icon": "plus-sign" |
||||
}] |
||||
</script> |
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
Loading…
Reference in new issue