page.html 6.4 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485868788899091
  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">{{$.lp.id}}:</td>
  6. <td class="editTableValue">text{$.id}</td>
  7. </tr>
  8. <tr>
  9. <td class="editTableTitle">{{$.lp.name}}:</td>
  10. <td class="editTableValue"><input type="text" name="name" value="text{$.name}" class="editTableInput"/></td>
  11. </tr>
  12. <tr>
  13. <td class="editTableTitle">{{$.lp.description}}:</td>
  14. <td class="editTableValue"><input type="text" name="description" value="text{$.description}" class="editTableInput"/></td>
  15. </tr>
  16. <tr>
  17. <td class="editTableTitle">{{$.lp.category}}:</td>
  18. <td class="editTableValue"><input type="text" name="category" value="text{$.category}" class="editTableInput"/></td>
  19. </tr>
  20. <!--<tr>-->
  21. <!--<td class="editTableTitle">标题字段</td>-->
  22. <!--<td class="editTableValue">-->
  23. <!--<select class="" name="titleField"></select>-->
  24. <!--</td>-->
  25. <!--</tr>-->
  26. <tr>
  27. <td class="editTableTitle">{{$.lp.formStyle}}:</td>
  28. <td class="editTableValue">
  29. <div class="MWFFormStyleSelect" name="formStyleType"></div>
  30. <div class="MWFScriptSelectRefresh"></div>
  31. </td>
  32. </tr>
  33. <tr>
  34. <td class="editTableTitle">{{$.lp.icon}}:</td>
  35. <td class="editTableValue"><div class="MWFIcon" name="formIcon"></div></td>
  36. </tr>
  37. </table>
  38. <div style="height:24px; text-align: center; line-height: 24px; background-color: #EEE; border-top: 1px solid #999;font-weight:bold;">{{$.lp.preloadScript}}</div>
  39. <table width="100%" border="0" cellpadding="5" cellspacing="0" class="editTable">
  40. <tr>
  41. <td class="editTableTitle">{{$.lp.script}}:</td>
  42. <td class="editTableValue">
  43. <div class="MWFScriptSelect" data-count=0 name="includeScripts"></div>
  44. <div class="MWFScriptSelectAction"><div style="color: #0b58a2; cursor: pointer; float: left">{{$.lp.copy}}</div><div style="color: #0b58a2; cursor: pointer; float: left; margin-left:10px">{{$.lp.paste}}</div></div>
  45. </td>
  46. </tr>
  47. </table>
  48. <!--<div class="MWFArraylist" name="cssLinks" title="CSS引用"></div>-->
  49. <!--<div class="MWFArraylist" name="scriptSrc" title="JS引用"></div>-->
  50. <div class="MWFMaplist" name="styles" title="{{$.lp.style}}"></div>
  51. <div class="MWFMaplist" name="properties" title="{{$.lp.attribute}}"></div>
  52. <div class="MWFCssArea" name="css" title="CSS"></div>
  53. <!-- <div class="MWFScriptArea" name="jsheader" title="JS Header"></div>-->
  54. <table width="100%" border="0" cellpadding="5" cellspacing="0" class="editTable">
  55. <tr>
  56. <td class="editTableTitle">{{$.lp.language}}:</td>
  57. <td class="editTableValue">
  58. <input class="editTableRadio" onclick="if (this.checked){ $('text{$.pid}languageDefaultDictArea').setStyle('display', 'none'); $('text{$.pid}languageDefaultScriptArea').setStyle('display', 'none'); $('text{$.pid}languageScriptArea').setStyle('display', 'none');}" name="languageType" text{($.languageType!=='default' && $.languageType!=='script' && $.languageType!=='lib' && $.languageType!=='dict')?'checked':''} type="radio" value="none"/>{{$.lp.none}}
  59. <!-- <input class="editTableRadio" onclick="if (this.checked){ $('text{$.pid}languageDefaultArea').setStyle('display', 'block'); $('text{$.pid}languageScriptArea').setStyle('display', 'none');}" name="languageType" text{($.languageType==='default')?'checked':''} type="radio" value="default"/>{{$.lp.default}}-->
  60. <input class="editTableRadio" onclick="if (this.checked){ $('text{$.pid}languageDefaultDictArea').setStyle('display', 'none'); $('text{$.pid}languageDefaultScriptArea').setStyle('display', 'block'); $('text{$.pid}languageScriptArea').setStyle('display', 'none');}" name="languageType" text{($.languageType==='lib')?'checked':''} type="radio" value="lib"/>{{$.lp.scriptLib}}
  61. <input class="editTableRadio" onclick="if (this.checked){ $('text{$.pid}languageDefaultDictArea').setStyle('display', 'block'); $('text{$.pid}languageDefaultScriptArea').setStyle('display', 'none'); $('text{$.pid}languageScriptArea').setStyle('display', 'none');}" name="languageType" text{($.languageType==='dict')?'checked':''} type="radio" value="dict"/>{{$.lp.dict}}
  62. <input class="editTableRadio" onclick="if (this.checked){ $('text{$.pid}languageDefaultDictArea').setStyle('display', 'none'); $('text{$.pid}languageScriptArea').setStyle('display', 'block'); $('text{$.pid}languageDefaultScriptArea').setStyle('display', 'none'); }" name="languageType" text{($.languageType==='script')?'checked':''} type="radio" value="script"/>{{$.lp.byScript}}
  63. </td>
  64. </tr>
  65. </table>
  66. <div id="text{$.pid}languageDefaultScriptArea" style="display: text{($.languageType==='lib')?'block':'none'}">
  67. <div style="padding: 5px;">{{$.lp.languageDefaultInfoScript}}</div>
  68. </div>
  69. <div id="text{$.pid}languageDefaultDictArea" style="display: text{($.languageType==='dict')?'block':'none'}">
  70. <div style="padding: 5px;">{{$.lp.languageDefaultInfoDict}}</div>
  71. </div>
  72. <div id="text{$.pid}languageScriptArea" style="display: text{($.languageType=='script')?'block':'none'}">
  73. <div class="MWFScriptArea" name="languageScript" title="{{$.lp.languageScript}}"></div>
  74. <div style="padding: 5px;">{{$.lp.languageInfo}}</div>
  75. </div>
  76. <div style="height: 30px"></div>
  77. </div>
  78. <div title="{{$.lp.event}}" class="MWFTab">
  79. <div class="MWFEventsArea" name="events"></div>
  80. </div>
  81. <div title="HTML" class="MWFTab">
  82. <div class="MWFHTMLArea" style="font-family: Verdana, Geneva, sans-serif; font-size:14px"></div>
  83. </div>
  84. <div title="JSON" class="MWFTab">
  85. <div class="MWFJSONArea" style="font-family: Verdana, Geneva, sans-serif; font-size:14px"></div>
  86. </div>
  87. </div>