| 1 | <div class="panel panel-default"> |
| 2 | <div class="panel-heading"> |
| 3 | <h3 class="panel-title">{{translateTitle(currentNode)}}</h3> |
| 4 | </div> |
| 5 | <table class="table table-striped"> |
| 6 | <thead> |
| 7 | <tr> |
| 8 | <th trspan="postUrl"></th> |
| 9 | <th trspan="postTargetUrl"></th> |
| 10 | <th trspan="jqueryUrl"></th> |
| 11 | <th trspan="jqueryFormSelector"></th> |
| 12 | <th trspan="jqueryButtonSelector"></th> |
| 13 | </tr> |
| 14 | </thead> |
| 15 | <tbody> |
| 16 | <tr ng-repeat="s in currentNode.nodes"> |
| 17 | <td> |
| 18 | <input class="form-control" ng-model="s.title"/> |
| 19 | </td> |
| 20 | <td> |
| 21 | <input class="form-control" ng-model="s.data.target"/> |
| 22 | </td> |
| 23 | <td> |
| 24 | <input class="form-control" ng-model="s.data.jqueryUrl"/> |
| 25 | </td> |
| 26 | <td> |
| 27 | <input class="form-control" ng-model="s.data.formSelector"/> |
| 28 | </td> |
| 29 | <td> |
| 30 | <input class="form-control" ng-model="s.data.buttonSelector"/> |
| 31 | </td> |
| 32 | <td> |
| 33 | <span class="link text-danger glyphicon glyphicon-minus-sign" ng-click="del(currentNode.nodes,$index)"></span> |
| 34 | <span ng-if="$last" class="link text-success glyphicon glyphicon-plus-sign" ng-click="menuClick({title:'newPost'})"></span> |
| 35 | </td> |
| 36 | </tr> |
| 37 | </tbody> |
| 38 | </table> |
| 39 | </div> |
| 40 | <script type="text/menu"> |
| 41 | [{ |
| 42 | "title": "newPost", |
| 43 | "icon": "plus-sign" |
| 44 | }] |
| 45 | </script> |
| 46 |