office.html 5.1 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100
  1. <div style="background-color: #FFF; overflow: hidden">
  2. <div title="{{$.lp.base}}" 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"><input type="text" name="id" value="text{$.id}" class="editTableInput"/></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.readonly}}:</td>
  18. <td class="editTableValue">
  19. <input type="radio" name="isReadonly" value="true" text{($.isReadonly)?'checked':''}/>{{$.lp.yes}}
  20. <input type="radio" name="isReadonly" value="false" text{(!$.isReadonly)?'checked':''}/>{{$.lp.no}}
  21. </td>
  22. </tr>
  23. <tr>
  24. <td class="editTableTitle">{{$.lp.delayedLoading}}:</td>
  25. <td class="editTableValue">
  26. <input type="radio" name="isNotLoadNow" value="true" text{($.isNotLoadNow)?'checked':''}/>{{$.lp.yes}}
  27. <input type="radio" name="isNotLoadNow" value="false" text{(!$.isNotLoadNow)?'checked':''}/>{{$.lp.no}}
  28. </td>
  29. </tr>
  30. <tr>
  31. <td class="editTableTitle">{{$.lp.allowUpload}}:</td>
  32. <td class="editTableValue">
  33. <input type="radio" name="allowUpload" value="true" text{($.allowUpload)?'checked':''}/>{{$.lp.yes}}
  34. <input type="radio" name="allowUpload" value="false" text{(!$.allowUpload)?'checked':''}/>{{$.lp.no}}
  35. </td>
  36. </tr>
  37. </table>
  38. <table width="100%" border="0" cellpadding="5" cellspacing="0" class="editTable">
  39. <tr>
  40. <td class="editTableValue" colspan="2">
  41. <b>{{$.lp.showSummary}}:</b>
  42. <input type="radio" name="isShowSummary" value="true" text{($.isShowSummary!==false)?'checked':''}/>{{$.lp.yes}}
  43. <input type="radio" name="isShowSummary" value="false" text{($.isShowSummary===false)?'checked':''}/>{{$.lp.no}}
  44. </td>
  45. </tr>
  46. </table>
  47. <div class="MWFMaplist" name="styles" title="{{$.lp.style}}"></div>
  48. <table width="100%" border="0" cellpadding="5" cellspacing="0" class="editTable">
  49. <tr>
  50. <td class="editTableTitle">{{$.lp.type}}:</td>
  51. <td class="editTableValue">
  52. <input class="editTableRadio" onclick="if (this.checked) $('officeTemplateArea').setStyle('display', 'none'); " name="officeType" text{($.officeType=='word')?'checked':''} type="radio" value="word"/>Word<br/>
  53. <input class="editTableRadio" onclick="if (this.checked) $('officeTemplateArea').setStyle('display', 'none'); " name="officeType" text{($.officeType=='excel')?'checked':''} type="radio" value="excel"/>Excel<br/>
  54. <input class="editTableRadio" onclick="if (this.checked) $('officeTemplateArea').setStyle('display', 'none'); " name="officeType" text{($.officeType=='ppt')?'checked':''} type="radio" value="ppt"/>PowerPoint<br/>
  55. <input class="editTableRadio" onclick="if (this.checked) $('officeTemplateArea').setStyle('display', 'block'); " name="officeType" text{($.officeType=='other')?'checked':''} type="radio" value="other"/>{{$.lp.byTemplate}}
  56. </td>
  57. </tr>
  58. </table>
  59. <div id="officeTemplateArea" title="src" style="display: text{($.officeType=='other')?'block':'none'}">
  60. <table width="100%" border="0" cellpadding="5" cellspacing="0" class="editTable">
  61. <tr>
  62. <td class="editTableValue">
  63. <input type="radio" onclick="if (this.checked){ $('templateArea').setStyle('display', 'block'); $('templateScriptArea').setStyle('display', 'none')}" name="templateType" value="value" text{($.templateType=='value')?'checked':''}/>{{$.lp.textValue}}
  64. <input type="radio" onclick="if (this.checked){ $('templateArea').setStyle('display', 'none'); $('templateScriptArea').setStyle('display', 'block')}" name="templateType" value="script" text{($.templateType=='script')?'checked':''}/>{{$.lp.script}}
  65. </td>
  66. </tr>
  67. </table>
  68. <div id="templateArea" style="display: text{($.templateType=='value')?'block':'none'};">
  69. <table width="100%" border="0" cellpadding="5" cellspacing="0" class="editTable">
  70. <tr>
  71. <td class="editTableTitle">{{$.lp.templateId}}:</td>
  72. <td class="editTableValue">
  73. <input type="text" name="template" value="text{$.template}" class="editTableInput"/>
  74. </td>
  75. </tr>
  76. </table>
  77. </div>
  78. <div id="templateScriptArea" style="display: text{($.templateType=='script')?'block':'none'};">
  79. <div class="MWFScriptArea" name="templeteScript" title="{{$.lp.editScript}} (S)"></div>
  80. </div>
  81. </div>
  82. <div class="MWFScriptArea" name="readScript" title="{{$.lp.readonlyCondition}} (S)"></div>
  83. </div>
  84. <div title="{{$.lp.event}}" class="MWFTab">
  85. <div class="MWFEventsArea" name="events"></div>
  86. </div>
  87. <div title="HTML" class="MWFTab">
  88. <div class="MWFHTMLArea" style="font-family: Verdana, Geneva, sans-serif; font-size:14px"></div>
  89. </div>
  90. <div title="JSON" class="MWFTab">
  91. <div class="MWFJSONArea" style="font-family: Verdana, Geneva, sans-serif; font-size:14px"></div>
  92. </div>
  93. </div>