subpage.html 4.2 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485
  1. <div style="background-color: #FFF; overflow: hidden">
  2. <div title="基本" class="MWFTab">
  3. <table width="100%" border="0" cellpadding="5" cellspacing="0" class="editTable">
  4. <tr>
  5. <td class="editTableTitle">标识:</td>
  6. <td class="editTableValue"><input type="text" name="id" value="text{$.id}" class="editTableInput"/></td>
  7. </tr>
  8. <tr>
  9. <td class="editTableTitle">名称:</td>
  10. <td class="editTableValue"><input type="text" name="name" value="text{$.name}" class="editTableInput"/></td>
  11. </tr>
  12. <tr>
  13. <td class="editTableTitle">描述:</td>
  14. <td class="editTableValue"><input type="text" name="description" value="text{$.description}" class="editTableInput"/></td>
  15. </tr>
  16. <!--<tr>-->
  17. <!--<td class="editTableTitle">Class:</td>-->
  18. <!--<td class="editTableValue"><input type="text" name="description" value="text{$.description}" class="editTableInput"/></td>-->
  19. <!--</tr>-->
  20. </table>
  21. <table width="100%" border="0" cellpadding="5" cellspacing="0" class="editTable">
  22. <tr>
  23. <td class="editTableValue" colspan="2">
  24. <input type="radio" onclick="if (this.checked) {$('text{$.pid}selectSubpage').setStyle('display', 'block'); $('text{$.pid}scriptSubpage').setStyle('display', 'none');}" name="subpageType" value="select" text{($.subpageType!='script')?'checked':''}/>选择子页面
  25. <input type="radio" onclick="if (this.checked) {$('text{$.pid}selectSubpage').setStyle('display', 'none'); $('text{$.pid}scriptSubpage').setStyle('display', 'block');}" name="subpageType" value="script" text{($.subpageType=='script')?'checked':''}/>计算子页面<br/>
  26. </td>
  27. </tr>
  28. </table>
  29. <div id="text{$.pid}selectSubpage" style="display: text{($.subpageType!='script')?'block':'none'}">
  30. <table width="100%" border="0" cellpadding="5" cellspacing="0" class="editTable">
  31. <tr>
  32. <td class="editTableTitle">子页面:</td>
  33. <td class="editTableValue">
  34. <div class="MWFPageSelect" name="subpageSelected"></div>
  35. </td>
  36. </tr>
  37. <!--<tr>-->
  38. <!--<td class="editTableTitle"></td>-->
  39. <!--<td class="editTableValue">-->
  40. <!--<input type="button" value="编辑页面" onclick="">-->
  41. <!--</td>-->
  42. <!--</tr>-->
  43. </table>
  44. </div>
  45. <div id="text{$.pid}scriptSubpage" style="display: text{($.subpageType=='script')?'block':'none'}">
  46. <div class="MWFScriptArea" name="subpageScript" title="子页面脚本 (S)"></div>
  47. </div>
  48. <table width="100%" border="0" cellpadding="5" cellspacing="0" class="editTable">
  49. <tr>
  50. <td class="editTableTitle">参数:</td>
  51. <td class="editTableValue">
  52. <input class="editTableRadio" onclick="
  53. if (this.checked){
  54. $('text{$.pid}parametersMapList').setStyle('display', 'block');
  55. $('text{$.pid}parametersScript').setStyle('display', 'none')}
  56. " name="parameterType" text{($.parameterType!='script')?'checked':''} type="radio" value="map"/>固定值
  57. <input class="editTableRadio" onclick="
  58. if (this.checked){
  59. $('text{$.pid}parametersScript').setStyle('display', 'block');
  60. $('text{$.pid}parametersMapList').setStyle('display', 'none')}
  61. " name="parameterType" text{($.parameterType=='script')?'checked':''} type="radio" value="script"/>脚本
  62. </td>
  63. </tr>
  64. </table>
  65. <!--<div id="text{$.pid}labelEditTextValue" title="值" style="display: text{($.valueType=='text')?'block':'none'}">-->
  66. <!--<textarea name="text" class="editTableTextarea">text{$.text}</textarea>-->
  67. <!--</div>-->
  68. <div id="text{$.pid}parametersMapList" class="MWFMaplist" name="parametersMapList" title="参数" style="display: text{($.parameterType !=='script')?'block':'none'}" ></div>
  69. <div id="text{$.pid}parametersScript" class="MWFScriptArea" name="parametersScript" title="参数脚本 (返回对象)" style="display: text{($.parameterType=='script')?'block':'none'}"></div>
  70. <!--<div title="事件" class="MWFTab">-->
  71. <!--<div class="MWFEventsArea" name="events"></div>-->
  72. <!--</div>-->
  73. </div>
  74. <div title="HTML" class="MWFTab">
  75. <div class="MWFHTMLArea" style="font-family: Verdana, Geneva, sans-serif; font-size:14px"></div>
  76. </div>
  77. <div title="JSON" class="MWFTab">
  78. <div class="MWFJSONArea" style="font-family: Verdana, Geneva, sans-serif; font-size:14px"></div>
  79. </div>
  80. </div>