elnumber.html 9.4 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151
  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. <table width="100%" border="0" cellpadding="5" cellspacing="0" class="editTable">
  25. <tr>
  26. <td class="editTableTitle">{{$.lp.max}}:</td>
  27. <td class="editTableValue"><input type="number" name="max" value="text{$.max}" class="editTableInput"/></td>
  28. </tr>
  29. <tr>
  30. <td class="editTableTitle">{{$.lp.min}}:</td>
  31. <td class="editTableValue"><input type="number" name="min" value="text{$.min}" class="editTableInput"/></td>
  32. </tr>
  33. <tr>
  34. <td class="editTableTitle">{{$.lp.step}}:</td>
  35. <td class="editTableValue"><input type="number" name="step" value="text{$.step || '1'}" class="editTableInput"/></td>
  36. </tr>
  37. <tr>
  38. <td class="editTableValue" colspan="2"><b>{{$.lp.step_strictly}}:</b>
  39. <input type="radio" name="stepStrictly" value="true" text{($.stepStrictly===true)?'checked':''}/>{{$.lp.yes}}
  40. <input type="radio" name="stepStrictly" value="false" text{($.stepStrictly!==true)?'checked':''}/>{{$.lp.no}}
  41. </td>
  42. </tr>
  43. <tr>
  44. <td class="editTableTitle">{{$.lp.precision}}:</td>
  45. <td class="editTableValue"><input type="number" name="precision" value="text{$.precision || 0}" class="editTableInput"/></td>
  46. </tr>
  47. <tr>
  48. <td class="editTableTitle">{{$.lp.size}}:</td>
  49. <td class="editTableValue">
  50. <input type="radio" name="size" value="default" text{(!$.size || $.size==='default')?'checked':''}/>default
  51. <input type="radio" name="size" value="medium" text{($.size==='medium')?'checked':''}/>medium
  52. <input type="radio" name="size" value="small" text{($.size==='small')?'checked':''}/>small
  53. <input type="radio" name="size" value="mini" text{($.size==='mini')?'checked':''}/>mini
  54. </td>
  55. </tr>
  56. <!-- <tr>-->
  57. <!-- <td class="editTableValue" colspan="2"><b>{{$.lp.controls}}:</b>-->
  58. <!-- <input type="radio" name="controls" value="true" text{($.showPassword!==false)?'checked':''}/>{{$.lp.yes}}-->
  59. <!-- <input type="radio" name="controls" value="false" text{($.showPassword===false)?'checked':''}/>{{$.lp.no}}-->
  60. <!-- </td>-->
  61. <!-- </tr>-->
  62. <tr>
  63. <td class="editTableTitle">{{$.lp.controlsPosition}}:</td>
  64. <td class="editTableValue">
  65. <input type="radio" name="controlsPosition" value="default" text{(!$.controlsPosition || $.controlsPosition!=='right')?'checked':''}/>default
  66. <input type="radio" name="controlsPosition" value="right" text{($.controlsPosition==='right')?'checked':''}/>right
  67. </td>
  68. </tr>
  69. </table>
  70. <div class="MWFMaplist" name="elStyles" title="{{$.lp.style}}"></div>
  71. <div class="MWFMaplist" name="elProperties" title="{{$.lp.attribute}}"></div>
  72. <table width="100%" border="0" cellpadding="5" cellspacing="0" class="editTable">
  73. <tr>
  74. <td class="editTableTitle">{{$.lp.compute}}:</td>
  75. <td class="editTableValue">
  76. <input type="radio" name="compute" value="create" text{(!$.compute || $.compute=='create')?'checked':''}/>{{$.lp.create}}
  77. <input type="radio" name="compute" value="save" text{($.compute=='save')?'checked':''}/>{{$.lp.save}}
  78. <input type="radio" name="compute" value="show" text{($.compute=='show')?'checked':''}/>{{$.lp.show}}
  79. </td>
  80. </tr>
  81. </table>
  82. <div class="MWFScriptArea" name="defaultValue" title="{{$.lp.defaultValue}} (S)"></div>
  83. <div class="MWFValidation" name="validationConfig"></div>
  84. <div class="MWFScriptArea" name="validation" title="{{$.lp.verificationScript}} (S)"></div>
  85. </div>
  86. <div title="Vue" class="MWFTab">
  87. <div onclick="var node = this.getNext(); node.setStyle('display', ((node.getStyle('display')!='none') ? 'none': 'block'))" style="cursor: pointer; height:24px; padding-left: 5px; line-height: 24px; background-color: #EEE; border-bottom: 1px solid #999;font-weight:bold;">Vue Data</div>
  88. <div style="display: text{($.vueData && $.vueData.code) ? 'block': 'none'}" class="MWFScriptArea" name="vueData" title="Vue Data (S)"></div>
  89. <div onclick="var node = this.getNext(); node.setStyle('display', ((node.getStyle('display')!='none') ? 'none': 'block'))" style="cursor: pointer; height:24px; padding-left: 5px; line-height: 24px; background-color: #EEE; border-bottom: 1px solid #999;font-weight:bold;">Vue Method</div>
  90. <div div style="display: text{($.vueMethods && $.vueMethods.code) ? 'block': 'none'}" class="MWFScriptArea" name="vueMethods" title="Vue Methods (S)"></div>
  91. <div onclick="var node = this.getNext(); node.setStyle('display', ((node.getStyle('display')!='none') ? 'none': 'block'))" style="cursor: pointer; height:24px; padding-left: 5px; line-height: 24px; background-color: #EEE; border-bottom: 1px solid #999;font-weight:bold;">Vue CSS</div>
  92. <div div style="display: text{($.vueCss && $.vueCss.code) ? 'block': 'none'}" class="MWFCssArea" name="vueCss" title="Vue Css (S)"></div>
  93. <div onclick="var node = this.getNext(); node.setStyle('display', ((node.getStyle('display')!='none') ? 'none': 'block'))" style="cursor: pointer; height:24px; padding-left: 5px; line-height: 24px; background-color: #EEE; border-bottom: 1px solid #999;font-weight:bold;">Vue Slots</div>
  94. <div style="display: text{($.vueSlot) ? 'block' : 'none'}">
  95. <div class="MWFHtmlEditorArea" name="vueSlot" title="Input Slot (HTML)"></div>
  96. </div>
  97. </div>
  98. <div title="{{$.lp.section}}" class="MWFTab">
  99. <table width="100%" border="0" cellpadding="5" cellspacing="0" class="editTable">
  100. <tr>
  101. <td class="editTableTitle">{{$.lp.enableSection}}:</td>
  102. <td class="editTableValue">
  103. <input onclick="if (this.checked){
  104. $('text{$.pid}sectionByEditArea').setStyle('display', 'block');
  105. $('text{$.pid}sectionMergeArea').setStyle('display', 'none')
  106. }" type="radio" name="section" value="yes" text{($.section=='yes')?'checked':''}/>{{$.lp.yes}}
  107. <input onclick="if (this.checked){
  108. $('text{$.pid}sectionByEditArea').setStyle('display', 'none');
  109. $('text{$.pid}sectionMergeArea').setStyle('display', 'block')
  110. }" type="radio" name="section" value="no" text{($.section!='yes')?'checked':''}/>{{$.lp.no}}
  111. </td>
  112. </tr>
  113. </table>
  114. <div id="text{$.pid}sectionByEditArea" style="display: text{($.section=='yes')?'block':'none'};">
  115. <table width="100%" border="0" cellpadding="5" cellspacing="0" class="editTable">
  116. <tr>
  117. <td class="editTableTitle">{{$.lp.sectionBy}}:</td>
  118. <td class="editTableValue">
  119. <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/>
  120. <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/>
  121. <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/>
  122. <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/>
  123. <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/>
  124. </td>
  125. </tr>
  126. </table>
  127. <div id="text{$.pid}sectionByScriptEditArea" style="display: text{($.sectionBy=='script')?'block':'none'};">
  128. <div class="MWFScriptArea" name="sectionByScript" title="{{$.lp.sectionBy}} (S)"></div>
  129. </div>
  130. </div>
  131. <div id="text{$.pid}sectionMergeArea" class="MWFSectionMergeArea" style="display: text{($.section=='yes')?'none':''};"></div>
  132. </div>
  133. <div title="{{$.lp.event}}" class="MWFTab">
  134. <div class="MWFEventsArea" name="events"></div>
  135. </div>
  136. <div title="HTML" class="MWFTab">
  137. <div class="MWFHTMLArea" style="width:100%; height:400px; border:0px;font-family: Verdana, Geneva, sans-serif; font-size:14px"></div>
  138. </div>
  139. <div title="JSON" class="MWFTab">
  140. <div class="MWFJSONArea" style="font-family: Verdana, Geneva, sans-serif; font-size:14px"></div>
  141. </div>
  142. </div>