47 lines
1.4 KiB
HTML
47 lines
1.4 KiB
HTML
<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="postUrl"/>
|
|
<th trspan="postTargetUrl"/>
|
|
<th trspan="jqueryUrl"/>
|
|
<th trspan="jqueryFormSelector"/>
|
|
<th trspan="jqueryButtonSelector"/>
|
|
</tr>
|
|
</thead>
|
|
<tbody>
|
|
<tr ng-repeat="s in currentNode.nodes">
|
|
<td ng-if="s.re!='default'">
|
|
<input class="form-control" ng-model="s.title"/>
|
|
</td>
|
|
<td ng-if="s.re!='default'">
|
|
<input class="form-control" ng-model="s.data[0]"/>
|
|
</td>
|
|
<td ng-if="s.re!='default'">
|
|
<input class="form-control" ng-model="s.data[1]"/>
|
|
</td>
|
|
<td ng-if="s.re!='default'">
|
|
<input class="form-control" ng-model="s.data[2]"/>
|
|
</td>
|
|
<td ng-if="s.re!='default'">
|
|
<input class="form-control" ng-model="s.data[3]"/>
|
|
</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:'newPost'})"/>
|
|
</td>
|
|
</tr>
|
|
</tbody>
|
|
</table>
|
|
</div>
|
|
<script type="text/javascript">
|
|
buttons=[{
|
|
'title': 'newPost',
|
|
'icon': 'plus-sign'
|
|
}];
|
|
</script>
|
|
|