checkbox.html 4.1 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172
  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.countPerline}}:</td>
  25. <td class="editTableValue">
  26. <input type="text" name="countPerline" value="text{$.countPerline}" class="editTableInput" onkeyup="this.value=this.value.replace(/[^\d]/g,'')"/>
  27. <div style="color:#999999; padding:5px;">{{$.lp.countPerlineNote}}</div>
  28. </td>
  29. </td>
  30. </tr>
  31. <tr>
  32. <td class="editTableTitle">{{$.lp.options}}:</td>
  33. <td class="editTableValue">
  34. <input class="editTableRadio" onclick="if (this.checked){ $('text{$.pid}selectEditItemValues').setStyle('display', 'block'); $('text{$.pid}selectEditItemScript').setStyle('display', 'none')}" name="itemType" text{($.itemType=='values')?'checked':''} type="radio" value="values"/>{{$.lp.textValue}}
  35. <input class="editTableRadio" onclick="if (this.checked){ $('text{$.pid}selectEditItemScript').setStyle('display', 'block'); $('text{$.pid}selectEditItemValues').setStyle('display', 'none')}" name="itemType" text{($.itemType=='script')?'checked':''} type="radio" value="script"/>{{$.lp.script}}
  36. </td>
  37. </tr>
  38. </table>
  39. <div id="text{$.pid}selectEditItemValues" style="display: text{($.itemType=='values')?'block':'none'}" class="MWFArraylist" name="itemValues" title="{{$.lp.options}}"></div>
  40. <div id="text{$.pid}selectEditItemScript" style="display: text{($.itemType=='script')?'block':'none'}" class="MWFScriptArea" name="itemScript" title="{{$.lp.optionScript}} (S)"></div>
  41. <div class="MWFMaplist" name="styles" title="{{$.lp.divStyle}}"></div>
  42. <div class="MWFMaplist" name="buttonStyles" title="{{$.lp.buttonStyle}}"></div>
  43. <div class="MWFMaplist" name="properties" title="{{$.lp.attribute}}"></div>
  44. <table width="100%" border="0" cellpadding="5" cellspacing="0" class="editTable">
  45. <tr>
  46. <td class="editTableTitle">{{$.lp.compute}}:</td>
  47. <td class="editTableValue">
  48. <input type="radio" name="compute" value="create" text{($.compute.indexOf('create')!=-1)?'checked':''}/>{{$.lp.create}}
  49. <input type="radio" name="compute" value="save" text{($.compute.indexOf('save')!=-1)?'checked':''}/>{{$.lp.save}}
  50. <input type="radio" name="compute" value="show" text{($.compute.indexOf('show')!=-1)?'checked':''}/>{{$.lp.show}}
  51. </td>
  52. </tr>
  53. </table>
  54. <div class="MWFScriptArea" name="defaultValue" title="{{$.lp.defaultValue}} (S)"></div>
  55. <div class="MWFValidation" name="validationConfig"></div>
  56. <div class="MWFScriptArea" name="validation" title="{{$.lp.verificationScript}} (S)"></div>
  57. </div>
  58. <div title="{{$.lp.event}}" class="MWFTab">
  59. <div class="MWFEventsArea" name="events"></div>
  60. </div>
  61. <div title="HTML" class="MWFTab">
  62. <div class="MWFHTMLArea" style="font-family: Verdana, Geneva, sans-serif; font-size:14px"></div>
  63. </div>
  64. <div title="JSON" class="MWFTab">
  65. <div class="MWFJSONArea" style="font-family: Verdana, Geneva, sans-serif; font-size:14px"></div>
  66. </div>
  67. </div>