eltime.html 14 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229
  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. </table>
  17. <table width="100%" border="0" cellpadding="5" cellspacing="0" class="editTable">
  18. <tr>
  19. <td class="editTableTitle">{{$.lp.timeSelectType2}}:</td>
  20. <td class="editTableValue">
  21. <input type="radio" name="timeSelectType" value="picker" text{($.timeSelectType!=='select')?'checked':''}
  22. onclick="if (this.checked){
  23. $('text{$.pid}timeSelectTable').setStyle('display', 'none');
  24. $('text{$.pid}timePickTable').setStyle('display', '');
  25. $('text{$.pid}isRangeTr').setStyle('display', '');
  26. }" />{{$.lp.anyTimePoint}}
  27. <input type="radio" name="timeSelectType" value="select" text{($.timeSelectType==='select')?'checked':''}
  28. onclick="if (this.checked){
  29. $('text{$.pid}timeSelectTable').setStyle('display', '');
  30. $('text{$.pid}timePickTable').setStyle('display', 'none');
  31. $('text{$.pid}isRangeTr').setStyle('display', 'none');
  32. }" />{{$.lp.fixedTimePoint}}
  33. </td>
  34. </tr>
  35. <tr id="text{$.pid}isRangeTr" style="display: text{($.timeSelectType==='select') ? 'none':''};">
  36. <td class="editTableTitle">{{$.lp.isRange}}:</td>
  37. <td class="editTableValue">
  38. <input type="radio" name="isRange" text{($.isRange)?'checked':''} value="true"
  39. onclick="if (this.checked){
  40. $('text{$.pid}noRangeTable').setStyle('display', 'none');
  41. $('text{$.pid}rangeTable').setStyle('display', '');
  42. }"/>{{$.lp.yes}}
  43. <input type="radio" name="isRange" text{(!$.isRange)?'checked':''} value="false"
  44. onclick="if (this.checked){
  45. $('text{$.pid}noRangeTable').setStyle('display', '');
  46. $('text{$.pid}rangeTable').setStyle('display', 'none');
  47. }"/>{{$.lp.no}}
  48. </td>
  49. </tr>
  50. <tr>
  51. <td class="editTableTitle">{{$.lp.readonly}}:</td>
  52. <td class="editTableValue">
  53. <input type="radio" name="isReadonly" value="true" text{($.isReadonly)?'checked':''}/>{{$.lp.yes}}
  54. <input type="radio" name="isReadonly" value="false" text{(!$.isReadonly)?'checked':''}/>{{$.lp.no}}
  55. </td>
  56. </tr>
  57. <tr>
  58. <td class="editTableTitle">{{$.lp.disabled}}:</td>
  59. <td class="editTableValue">
  60. <input type="radio" name="disabled" value="true" text{($.disabled)?'checked':''}/>{{$.lp.yes}}
  61. <input type="radio" name="disabled" value="false" text{(!$.disabled)?'checked':''}/>{{$.lp.no}}
  62. </td>
  63. </tr>
  64. <tr>
  65. <td class="editTableTitle">{{$.lp.editable}}:</td>
  66. <td class="editTableValue">
  67. <input type="radio" name="editable" value="true" text{($.editable)?'checked':''}/>{{$.lp.yes}}
  68. <input type="radio" name="editable" value="false" text{(!$.editable)?'checked':''}/>{{$.lp.no}}
  69. </td>
  70. </tr>
  71. <tr>
  72. <td class="editTableTitle">{{$.lp.clearable}}:</td>
  73. <td class="editTableValue">
  74. <input type="radio" name="clearable" value="true" text{($.clearable)?'checked':''}/>{{$.lp.yes}}
  75. <input type="radio" name="clearable" value="false" text{(!$.clearable)?'checked':''}/>{{$.lp.no}}
  76. </td>
  77. </tr>
  78. <tr>
  79. <td class="editTableTitle">{{$.lp.size}}:</td>
  80. <td class="editTableValue">
  81. <input type="radio" name="size" value="default" text{(!$.size || $.size==='default')?'checked':''}/>default
  82. <input type="radio" name="size" value="large" text{($.size==='large')?'checked':''}/>large
  83. <input type="radio" name="size" value="small" text{($.size==='small')?'checked':''}/>small
  84. <input type="radio" name="size" value="mini" text{($.size==='mini')?'checked':''}/>mini
  85. </td>
  86. </tr>
  87. </table>
  88. <table id="text{$.pid}timeSelectTable" style="display: text{($.timeSelectType==='select') ? '':'none'};">
  89. <tr>
  90. <td class="editTableTitle">{{$.lp.step}}:</td>
  91. <td class="editTableValue"><input type="text" name="step" value="text{$.step}" class="editTableInput"/></td>
  92. </tr>
  93. <tr>
  94. <td class="editTableTitle">{{$.lp.startTime}}:</td>
  95. <td class="editTableValue"><input type="text" name="start" value="text{$.start}" class="editTableInput"/></td>
  96. </tr>
  97. <tr>
  98. <td class="editTableTitle">{{$.lp.endTime}}:</td>
  99. <td class="editTableValue"><input type="text" name="end" value="text{$.end}" class="editTableInput"/></td>
  100. </tr>
  101. </table>
  102. <div id="text{$.pid}timePickTable" style="display: text{($.timeSelectType!=='select') ? '':'none'};">
  103. <table>
  104. <tr>
  105. <td class="editTableTitle">{{$.lp.format}}:</td>
  106. <td class="editTableValue"><input type="text" name="format" value="text{$.format}" class="editTableInput"/></td>
  107. </tr>
  108. <tr>
  109. <td class="editTableTitle">{{$.lp.arrowControl}}:</td>
  110. <td class="editTableValue">
  111. <input type="radio" name="arrowControl" value="true" text{($.arrowControl)?'checked':''}/>{{$.lp.yes}}
  112. <input type="radio" name="arrowControl" value="false" text{(!$.arrowControl)?'checked':''}/>{{$.lp.no}}
  113. </td>
  114. </tr>
  115. </table>
  116. <div id="text{$.pid}noRangeTable" style="display: text{(!$.isRange) ? '':'none'};">
  117. <div>{{$.lp.selectableRangeNote}}</div>
  118. <div class="MWFFormulaArea" name="selectableRange" title="{{$.lp.selectableRangeScript}}"></div>
  119. </div>
  120. <table id="text{$.pid}rangeTable" style="display: text{($.isRange) ? '':'none'};">
  121. <!-- <tr>-->
  122. <!-- <td class="editTableTitle">{{$.lp.endSelectableRange}}:</td>-->
  123. <!-- <td class="editTableValue">-->
  124. <!-- <input type="text" name="start_endPicker" value="text{$.start_endPicker}" class="editTableInputNoWidth"/> - -->
  125. <!-- <input type="text" name="end_endPicker" value="text{$.end_endPicker}" class="editTableInputNoWidth"/>-->
  126. <!-- </td>-->
  127. <!-- </tr>-->
  128. <tr>
  129. <td class="editTableTitle">{{$.lp.rangeSeparator}}:</td>
  130. <td class="editTableValue"><input type="text" name="rangeSeparator" value="text{$.rangeSeparator}" class="editTableInput"/></td>
  131. </tr>
  132. <tr>
  133. <td class="editTableTitle">{{$.lp.startPlaceholder}}:</td>
  134. <td class="editTableValue"><input type="text" name="startPlaceholder" value="text{$.startPlaceholder}" class="editTableInput"/></td>
  135. </tr>
  136. <tr>
  137. <td class="editTableTitle">{{$.lp.endPlaceholder}}:</td>
  138. <td class="editTableValue"><input type="text" name="endPlaceholder" value="text{$.endPlaceholder}" class="editTableInput"/></td>
  139. </tr>
  140. </table>
  141. </div>
  142. <div onclick="var node = this.getNext(); node.setStyle('display', ((node.getStyle('display')!='none') ? 'none': 'block'))" style="cursor: pointer; height:24px; text-align: center; line-height: 24px; background-color: #EEE; border-top: 1px solid #999;font-weight:bold;">{{$.lp.prefixIcon}}</div>
  143. <div style="display: text{($.prefixIcon)?'block':'none'}" class="MWFElIcon" name="prefixIcon"></div>
  144. <!-- <div onclick="var node = this.getNext(); node.setStyle('display', ((node.getStyle('display')!='none') ? 'none': 'block'))" style="cursor: pointer; height:24px; text-align: center; line-height: 24px; background-color: #EEE; border-top: 1px solid #999;font-weight:bold;">{{$.lp.suffixIcon}}</div>-->
  145. <!-- <div style="display: text{($.suffixIcon)?'block':'none'}" class="MWFElIcon" name="suffixIcon"></div>-->
  146. <div class="MWFMaplist" name="elStyles" title="{{$.lp.style}}"></div>
  147. <div class="MWFMaplist" name="elProperties" title="{{$.lp.attribute}}"></div>
  148. <table width="100%" border="0" cellpadding="5" cellspacing="0" class="editTable">
  149. <tr>
  150. <td class="editTableTitle">{{$.lp.compute}}:</td>
  151. <td class="editTableValue">
  152. <input type="radio" name="compute" value="create" text{(!$.compute || $.compute=='create')?'checked':''}/>{{$.lp.create}}
  153. <input type="radio" name="compute" value="save" text{($.compute=='save')?'checked':''}/>{{$.lp.save}}
  154. <input type="radio" name="compute" value="show" text{($.compute=='show')?'checked':''}/>{{$.lp.show}}
  155. </td>
  156. </tr>
  157. </table>
  158. <div class="MWFScriptArea" name="defaultValue" title="{{$.lp.defaultValue}} (S)"></div>
  159. <div class="MWFValidation" name="validationConfig"></div>
  160. <div class="MWFScriptArea" name="validation" title="{{$.lp.verificationScript}} (S)"></div>
  161. </div>
  162. <div title="Vue" class="MWFTab">
  163. <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>
  164. <div style="display: text{($.vueData && $.vueData.code) ? 'block': 'none'}" class="MWFScriptArea" name="vueData" title="Vue Data (S)"></div>
  165. <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>
  166. <div div style="display: text{($.vueMethods && $.vueMethods.code) ? 'block': 'none'}" class="MWFScriptArea" name="vueMethods" title="Vue Methods (S)"></div>
  167. <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>
  168. <div div style="display: text{($.vueCss && $.vueCss.code) ? 'block': 'none'}" class="MWFCssArea" name="vueCss" title="Vue Css (S)"></div>
  169. <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>
  170. <div style="display: text{($.vueSlot) ? 'block' : 'none'}">
  171. <div class="MWFHtmlEditorArea" name="vueSlot" title="Input Slot (HTML)"></div>
  172. </div>
  173. </div>
  174. <div title="{{$.lp.section}}" class="MWFTab">
  175. <table width="100%" border="0" cellpadding="5" cellspacing="0" class="editTable">
  176. <tr>
  177. <td class="editTableTitle">{{$.lp.enableSection}}:</td>
  178. <td class="editTableValue">
  179. <input onclick="if (this.checked){
  180. $('text{$.pid}sectionByEditArea').setStyle('display', 'block');
  181. $('text{$.pid}sectionMergeArea').setStyle('display', 'none')
  182. }" type="radio" name="section" value="yes" text{($.section=='yes')?'checked':''}/>{{$.lp.yes}}
  183. <input onclick="if (this.checked){
  184. $('text{$.pid}sectionByEditArea').setStyle('display', 'none');
  185. $('text{$.pid}sectionMergeArea').setStyle('display', 'block')
  186. }" type="radio" name="section" value="no" text{($.section!='yes')?'checked':''}/>{{$.lp.no}}
  187. </td>
  188. </tr>
  189. </table>
  190. <div id="text{$.pid}sectionByEditArea" style="display: text{($.section=='yes')?'block':'none'};">
  191. <table width="100%" border="0" cellpadding="5" cellspacing="0" class="editTable">
  192. <tr>
  193. <td class="editTableTitle">{{$.lp.sectionBy}}:</td>
  194. <td class="editTableValue">
  195. <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/>
  196. <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/>
  197. <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/>
  198. <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/>
  199. <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/>
  200. </td>
  201. </tr>
  202. </table>
  203. <div id="text{$.pid}sectionByScriptEditArea" style="display: text{($.sectionBy=='script')?'block':'none'};">
  204. <div class="MWFScriptArea" name="sectionByScript" title="{{$.lp.sectionBy}} (S)"></div>
  205. </div>
  206. </div>
  207. <div id="text{$.pid}sectionMergeArea" class="MWFSectionMergeArea" style="display: text{($.section=='yes')?'none':''};"></div>
  208. </div>
  209. <div title="{{$.lp.event}}" class="MWFTab">
  210. <div class="MWFEventsArea" name="events"></div>
  211. </div>
  212. <div title="HTML" class="MWFTab">
  213. <div class="MWFHTMLArea" style="width:100%; height:400px; border:0px;font-family: Verdana, Geneva, sans-serif; font-size:14px"></div>
  214. </div>
  215. <div title="JSON" class="MWFTab">
  216. <div class="MWFJSONArea" style="font-family: Verdana, Geneva, sans-serif; font-size:14px"></div>
  217. </div>
  218. </div>