ofdView.html 2.8 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162
  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. </table>
  24. <div class="MWFScriptArea" name="readScript" title="{{$.lp.readonlyCondition}} (S)"></div>
  25. <table width="100%" border="0" cellpadding="5" cellspacing="0" class="editTable">
  26. <tr>
  27. <td class="editTableTitle">{{$.lp.fileTemplate}}:</td>
  28. <td class="editTableValue">
  29. <input type="radio" onclick="if (this.checked){ $('templateArea').setStyle('display', 'block'); $('templateScriptArea').setStyle('display', 'none')}" name="templateType" value="value" text{($.result!='script')?'checked':''}/>{{$.lp.textValue}}
  30. <input type="radio" onclick="if (this.checked){ $('templateArea').setStyle('display', 'none'); $('templateScriptArea').setStyle('display', 'block')}" name="templateType" value="script" text{($.result=='script')?'checked':''}/>{{$.lp.script}}
  31. </td>
  32. </tr>
  33. </table>
  34. <div id="templateArea" style="display: text{($.templateType=='value')?'block':'none'};">
  35. <table width="100%" border="0" cellpadding="5" cellspacing="0" class="editTable">
  36. <tr>
  37. <td class="editTableValue" colspan="2">
  38. <input type="text" name="template" value="text{$.template}" class="editTableInput"/>
  39. </td>
  40. </tr>
  41. </table>
  42. </div>
  43. <div id="templateScriptArea" style="display: text{($.templateType=='script')?'block':'none'};">
  44. <div class="MWFScriptArea" name="templeteScript" title="{{$.lp.editScript}} (S)"></div>
  45. </div>
  46. <div class="MWFMaplist" name="styles" title="{{$.lp.style}}"></div>
  47. </div>
  48. <div title="{{$.lp.event}}" class="MWFTab">
  49. <div class="MWFEventsArea" name="events"></div>
  50. </div>
  51. <div title="HTML" class="MWFTab">
  52. <div class="MWFHTMLArea" style="font-family: Verdana, Geneva, sans-serif; font-size:14px"></div>
  53. </div>
  54. <div title="JSON" class="MWFTab">
  55. <div class="MWFJSONArea" style="font-family: Verdana, Geneva, sans-serif; font-size:14px"></div>
  56. </div>
  57. </div>