textarea.html 5.9 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485868788899091
  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="MWFMaplist" name="styles" title="{{$.lp.style}}"></div>
  25. <div class="MWFMaplist" name="inputStyles" title="{{$.lp.inputStyle}}"></div>
  26. <div class="MWFMaplist" name="properties" title="{{$.lp.attribute}}"></div>
  27. <table width="100%" border="0" cellpadding="5" cellspacing="0" class="editTable">
  28. <tr>
  29. <td class="editTableTitle">{{$.lp.compute}}:</td>
  30. <td class="editTableValue">
  31. <input type="radio" name="compute" value="create" text{($.compute.indexOf('create')!=-1)?'checked':''}/>{{$.lp.create}}
  32. <input type="radio" name="compute" value="save" text{($.compute.indexOf('save')!=-1)?'checked':''}/>{{$.lp.save}}
  33. <input type="radio" name="compute" value="show" text{($.compute.indexOf('show')!=-1)?'checked':''}/>{{$.lp.show}}
  34. </td>
  35. </tr>
  36. </table>
  37. <div class="MWFScriptArea" name="defaultValue" title="{{$.lp.defaultValue}} (S)"></div>
  38. <div class="MWFValidation" name="validationConfig"></div>
  39. <div class="MWFScriptArea" name="validation" title="{{$.lp.verificationScript}} (S)"></div>
  40. </div>
  41. <div title="{{$.lp.section}}" class="MWFTab">
  42. <table width="100%" border="0" cellpadding="5" cellspacing="0" class="editTable">
  43. <tr>
  44. <td class="editTableTitle">{{$.lp.enableSection}}:</td>
  45. <td class="editTableValue">
  46. <input onclick="if (this.checked){
  47. $('text{$.pid}sectionByEditArea').setStyle('display', 'block');
  48. $('text{$.pid}sectionMergeArea').setStyle('display', 'none')
  49. }" type="radio" name="section" value="yes" text{($.section=='yes')?'checked':''}/>{{$.lp.yes}}
  50. <input onclick="if (this.checked){
  51. $('text{$.pid}sectionByEditArea').setStyle('display', 'none');
  52. $('text{$.pid}sectionMergeArea').setStyle('display', 'block')
  53. }" type="radio" name="section" value="no" text{($.section!='yes')?'checked':''}/>{{$.lp.no}}
  54. </td>
  55. </tr>
  56. </table>
  57. <div id="text{$.pid}sectionByEditArea" style="display: text{($.section=='yes')?'block':'none'};">
  58. <table width="100%" border="0" cellpadding="5" cellspacing="0" class="editTable">
  59. <tr>
  60. <td class="editTableTitle">{{$.lp.sectionBy}}:</td>
  61. <td class="editTableValue">
  62. <input class="editTableRadio" onclick="if (this.checked){ $('text{$.pid}sectionByScriptEditArea').setStyle('display', 'none');}" name="sectionBy" text{(($.sectionBy=='person') || ($.sectionBy!='unit' && $.sectionBy!='activity' && $.sectionBy!='script'))?'checked':''} type="radio" value="person"/>{{$.lp.handler}}<br/>
  63. <input class="editTableRadio" onclick="if (this.checked){ $('text{$.pid}sectionByScriptEditArea').setStyle('display', 'none');}" name="sectionBy" text{($.sectionBy=='unit')?'checked':''} type="radio" value="unit"/>{{$.lp.handlerUnit}}<br/>
  64. <input class="editTableRadio" onclick="if (this.checked){ $('text{$.pid}sectionByScriptEditArea').setStyle('display', 'none');}" name="sectionBy" text{($.sectionBy=='activity')?'checked':''} type="radio" value="activity"/>{{$.lp.activityId}}<br/>
  65. <input class="editTableRadio" onclick="if (this.checked){ $('text{$.pid}sectionByScriptEditArea').setStyle('display', 'none');}" name="sectionBy" text{($.sectionBy=='splitValue')?'checked':''} type="radio" value="splitValue"/>{{$.lp.splitValue}}<br/>
  66. <input class="editTableRadio" onclick="if (this.checked){ $('text{$.pid}sectionByScriptEditArea').setStyle('display', 'block');}" name="sectionBy" text{($.sectionBy=='script')?'checked':''} type="radio" value="script"/>{{$.lp.script}}<br/>
  67. </td>
  68. </tr>
  69. </table>
  70. <div id="text{$.pid}sectionByScriptEditArea" style="display: text{($.sectionBy=='script')?'block':'none'};">
  71. <div class="MWFScriptArea" name="sectionByScript" title="{{$.lp.sectionBy}} (S)"></div>
  72. </div>
  73. </div>
  74. <div id="text{$.pid}sectionMergeArea" class="MWFSectionMergeArea" style="display: text{($.section=='yes')?'none':''};"></div>
  75. </div>
  76. <div title="{{$.lp.event}}" class="MWFTab">
  77. <div class="MWFEventsArea" name="events"></div>
  78. </div>
  79. <div title="HTML" class="MWFTab">
  80. <div class="MWFHTMLArea" style="font-family: Verdana, Geneva, sans-serif; font-size:14px"></div>
  81. </div>
  82. <div title="JSON" class="MWFTab">
  83. <div class="MWFJSONArea" style="font-family: Verdana, Geneva, sans-serif; font-size:14px"></div>
  84. </div>
  85. </div>