officeonline.html 4.4 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586
  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="companyName" value="text{$.companyName}" 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.allowUpload}}:</td>
  25. <td class="editTableValue">
  26. <input type="radio" name="allowUpload" value="true" text{($.allowUpload)?'checked':''}/>{{$.lp.yes}}
  27. <input type="radio" name="allowUpload" value="false" text{(!$.allowUpload)?'checked':''}/>{{$.lp.no}}
  28. </td>
  29. </tr>
  30. </table>
  31. <div class="MWFMaplist" name="styles" title="{{$.lp.style}}"></div>
  32. <table width="100%" border="0" cellpadding="5" cellspacing="0" class="editTable">
  33. <tr>
  34. <td class="editTableTitle">{{$.lp.type}}:</td>
  35. <td class="editTableValue">
  36. <input class="editTableRadio" onclick="if (this.checked) $('officeTemplateArea').setStyle('display', 'none'); " name="officeType" text{($.officeType=='docx')?'checked':''} type="radio" value="docx"/>Word <br/>
  37. <input class="editTableRadio" onclick="if (this.checked) $('officeTemplateArea').setStyle('display', 'none'); " name="officeType" text{($.officeType=='xlsx')?'checked':''} type="radio" value="xlsx"/>Excel <br/>
  38. <input class="editTableRadio" onclick="if (this.checked) $('officeTemplateArea').setStyle('display', 'none'); " name="officeType" text{($.officeType=='pptx')?'checked':''} type="radio" value="pptx"/>PowerPoint <br/>
  39. <input class="editTableRadio" onclick="if (this.checked) $('officeTemplateArea').setStyle('display', 'block'); " name="officeType" text{($.officeType=='other')?'checked':''} type="radio" value="other"/>{{$.lp.byTemplate}}
  40. </td>
  41. </tr>
  42. </table>
  43. <div id="officeTemplateArea" title="src" style="display: text{($.officeType=='other')?'block':'none'}">
  44. <table width="100%" border="0" cellpadding="5" cellspacing="0" class="editTable">
  45. <tr>
  46. <td class="editTableValue">
  47. <input type="radio" onclick="if (this.checked){ $('templateArea').setStyle('display', 'block'); $('templateScriptArea').setStyle('display', 'none')}" name="templateType" value="value" text{($.templateType!='script')?'checked':''}/>{{$.lp.textValue}}
  48. <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}}
  49. </td>
  50. </tr>
  51. </table>
  52. <div id="templateArea" style="display: text{($.templateType=='value')?'block':'none'};">
  53. <table width="100%" border="0" cellpadding="5" cellspacing="0" class="editTable">
  54. <tr>
  55. <td class="editTableTitle">{{$.lp.templateId}}:</td>
  56. <td class="editTableValue">
  57. <input type="text" name="template" value="text{$.template}" class="editTableInput"/>
  58. </td>
  59. </tr>
  60. </table>
  61. </div>
  62. <div id="templateScriptArea" style="display: text{($.templateType=='script')?'block':'none'};">
  63. <div class="MWFScriptArea" name="templeteScript" title="{{$.lp.editScript}} (S)"></div>
  64. </div>
  65. </div>
  66. <div class="MWFScriptArea" name="readScript" title="{{$.lp.readonlyCondition}} (S)"></div>
  67. </div>
  68. <div title="{{$.lp.event}}" class="MWFTab">
  69. <div class="MWFEventsArea" name="events"></div>
  70. </div>
  71. <div title="HTML" class="MWFTab">
  72. <div class="MWFHTMLArea" style="font-family: Verdana, Geneva, sans-serif; font-size:14px"></div>
  73. </div>
  74. <div title="JSON" class="MWFTab">
  75. <div class="MWFJSONArea" style="font-family: Verdana, Geneva, sans-serif; font-size:14px"></div>
  76. </div>
  77. </div>