| 1 | <div class="panel panel-default"> |
| 2 | <div class="panel-heading"> |
| 3 | <h3 class="panel-title" trspan="formReplay"></h3> |
| 4 | </div> |
| 5 | <table class="table"> |
| 6 | <tr> |
| 7 | <th><span trspan="postUrl"></span></th> |
| 8 | <td colspan="2"><input id="pi1" class="form-control" ng-model="currentNode.title"/></td> |
| 9 | </tr> |
| 10 | <tr> |
| 11 | <th><span trspan="postTargetUrl"></span></th> |
| 12 | <td colspan="2"><input id="pi2" class="form-control" ng-model="currentNode.data.target"/></td> |
| 13 | </tr> |
| 14 | <tr> |
| 15 | <th><span trspan="jqueryUrl"></span></th> |
| 16 | <td colspan="2"><input id="pi3" class="form-control" ng-model="currentNode.data.jqueryUrl"/></td> |
| 17 | </tr> |
| 18 | <tr> |
| 19 | <th><span trspan="jqueryFormSelector"></span></th> |
| 20 | <td colspan="2"><input id="pi4" class="form-control" ng-model="currentNode.data.formSelector"/></td> |
| 21 | </tr> |
| 22 | <tr> |
| 23 | <th><span trspan="jqueryButtonSelector"></span></th> |
| 24 | <td colspan="2"><input id="pi5" class="form-control" ng-model="currentNode.data.buttonSelector"/></td> |
| 25 | </tr> |
| 26 | <tr> |
| 27 | <th colspan="3"> |
| 28 | <span trspan="postedVars"></span> |
| 29 | <span ng-if="!currentNode.data.vars.length" class="link text-success glyphicon glyphicon-plus-sign" ng-click="menuClick({title:'newPostVar'})"></span> |
| 30 | </th> |
| 31 | </tr> |
| 32 | <tr ng-repeat="v in currentNode.data.vars"> |
| 33 | <td><input class="form-control" ng-model="v[0]"/></td> |
| 34 | <td><input class="form-control" ng-model="v[1]"/></td> |
| 35 | <td> |
| 36 | <span class="link text-danger glyphicon glyphicon-minus-sign" ng-click="del(currentNode.data.vars,$index)"></span> |
| 37 | <span ng-if="$last" class="link text-success glyphicon glyphicon-plus-sign" ng-click="menuClick({title:'newPostVar'})"></span> |
| 38 | </td> |
| 39 | </tr> |
| 40 | </table> |
| 41 | </div> |
| 42 | <script type="text/menu"> |
| 43 | [{ |
| 44 | "title": "newPost", |
| 45 | "icon": "plus-sign" |
| 46 | },{ |
| 47 | "title": "newPostVar", |
| 48 | "icon": "plus-sign" |
| 49 | },{ |
| 50 | "title": "deleteEntry", |
| 51 | "icon": "minus-sign" |
| 52 | }] |
| 53 | </script> |