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.
52 lines
1.6 KiB
52 lines
1.6 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 trspan="name"></th>
|
|
<th trspan="type"></th>
|
|
<th trspan="label"></th>
|
|
<th trspan="logo"></th>
|
|
<th trspan="level"></th>
|
|
<th trspan="rule"></th>
|
|
<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">
|
|
<option ng-repeat="item in currentNode.select" ng-selected="item.k==s.data.type" value="{{item.k}}">{{item.v}}</option>
|
|
</select>
|
|
</td>
|
|
<td>
|
|
<input class="form-control" ng-model="s.data.label" />
|
|
</td>
|
|
<td>
|
|
<input class="form-control" ng-model="s.data.logo" />
|
|
</td>
|
|
<td>
|
|
<input class="form-control" ng-model="s.data.level" />
|
|
</td>
|
|
<td>
|
|
<input class="form-control" ng-model="s.data.rule" />
|
|
</td>
|
|
<td>
|
|
<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:'newSfExtra'})"></span>
|
|
</td>
|
|
</tr>
|
|
</tbody>
|
|
</table>
|
|
</div>
|
|
<script type="text/menu">
|
|
[{
|
|
"title": "newSfExtra",
|
|
"icon": "plus-sign"
|
|
}]
|
|
</script>
|
|
|