number.html 7.9 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132
  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.decimal}}:</td>
  18. <td class="editTableValue"><input type="text" name="decimals" value="text{$.decimals || '*'}" class="editTableInput"/></td>
  19. </tr>
  20. <tr>
  21. <td class="editTableTitle">{{$.lp.showIcon}}:</td>
  22. <td class="editTableValue">
  23. <input type="radio" name="showIcon" value="yes" text{($.showIcon!='no')?'checked':''}/>{{$.lp.yes}}
  24. <input type="radio" name="showIcon" value="no" text{($.showIcon=='no')?'checked':''}/>{{$.lp.no}}
  25. </td>
  26. </tr>
  27. <tr>
  28. <td class="editTableTitle">{{$.lp.readonly}}:</td>
  29. <td class="editTableValue">
  30. <input type="radio" name="isReadonly" value="true" text{($.isReadonly)?'checked':''}/>{{$.lp.yes}}
  31. <input type="radio" name="isReadonly" value="false" text{(!$.isReadonly)?'checked':''}/>{{$.lp.no}}
  32. </td>
  33. </tr>
  34. <tr>
  35. <td class="editTableTitle">{{$.lp.emptyValue}}:</td>
  36. <td class="editTableValue">
  37. <input type="radio" name="emptyValue" value="zero" text{($.emptyValue!='string')?'checked':''}/>{{$.lp.showZero}}
  38. <input type="radio" name="emptyValue" value="string" text{($.emptyValue=='string')?'checked':''}/>{{$.lp.showNullString}}
  39. </td>
  40. </tr>
  41. <tr>
  42. <td class="editTableTitle">{{$.lp.digitsToSeparate}}:</td>
  43. <td class="editTableValue">
  44. <input type="number" name="digitsToSeparate" value="text{$.digitsToSeparate}" class="editTableInput"/>
  45. <div style="padding: 5px;">{{$.lp.digitsToSeparateNote}}</div>
  46. </td>
  47. </tr>
  48. <tr>
  49. <td class="editTableTitle">{{$.lp.max}}:</td>
  50. <td class="editTableValue">
  51. <input type="number" name="max" value="text{$.max}" class="editTableInput"/>
  52. </td>
  53. </tr>
  54. <tr>
  55. <td class="editTableTitle">{{$.lp.min}}:</td>
  56. <td class="editTableValue">
  57. <input type="number" name="min" value="text{$.min}" class="editTableInput"/>
  58. </td>
  59. </tr>
  60. </table>
  61. <div class="MWFMaplist" name="styles" title="{{$.lp.style}}"></div>
  62. <div class="MWFMaplist" name="inputStyles" title="{{$.lp.inputStyle}}"></div>
  63. <div class="MWFMaplist" name="properties" title="{{$.lp.attribute}}"></div>
  64. <table width="100%" border="0" cellpadding="5" cellspacing="0" class="editTable">
  65. <tr>
  66. <td class="editTableTitle">{{$.lp.compute}}:</td>
  67. <td class="editTableValue">
  68. <input type="radio" name="compute" value="create" text{($.compute.indexOf('create')!=-1)?'checked':''}/>{{$.lp.create}}
  69. <input type="radio" name="compute" value="save" text{($.compute.indexOf('save')!=-1)?'checked':''}/>{{$.lp.save}}
  70. <input type="radio" name="compute" value="show" text{($.compute.indexOf('show')!=-1)?'checked':''}/>{{$.lp.show}}
  71. </td>
  72. </tr>
  73. </table>
  74. <div class="MWFScriptArea" name="defaultValue" title="{{$.lp.defaultValue}} (S)"></div>
  75. <div class="MWFValidation" name="validationConfig"></div>
  76. <div class="MWFScriptArea" name="validation" title="{{$.lp.verificationScript}} (S)"></div>
  77. </div>
  78. <div title="{{$.lp.section}}" class="MWFTab">
  79. <table width="100%" border="0" cellpadding="5" cellspacing="0" class="editTable">
  80. <tr>
  81. <td class="editTableTitle">{{$.lp.enableSection}}:</td>
  82. <td class="editTableValue">
  83. <input onclick="if (this.checked){
  84. $('text{$.pid}sectionByEditArea').setStyle('display', 'block');
  85. $('text{$.pid}sectionMergeArea').setStyle('display', 'none')
  86. }" type="radio" name="section" value="yes" text{($.section=='yes')?'checked':''}/>{{$.lp.yes}}
  87. <input onclick="if (this.checked){
  88. $('text{$.pid}sectionByEditArea').setStyle('display', 'none');
  89. $('text{$.pid}sectionMergeArea').setStyle('display', 'block')
  90. }" type="radio" name="section" value="no" text{($.section!='yes')?'checked':''}/>{{$.lp.no}}
  91. </td>
  92. </tr>
  93. </table>
  94. <div id="text{$.pid}sectionByEditArea" style="display: text{($.section=='yes')?'block':'none'};">
  95. <table width="100%" border="0" cellpadding="5" cellspacing="0" class="editTable">
  96. <tr>
  97. <td class="editTableTitle">{{$.lp.sectionBy}}:</td>
  98. <td class="editTableValue">
  99. <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/>
  100. <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/>
  101. <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/>
  102. <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/>
  103. <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/>
  104. </td>
  105. </tr>
  106. </table>
  107. <div id="text{$.pid}sectionByScriptEditArea" style="display: text{($.sectionBy=='script')?'block':'none'};">
  108. <div class="MWFScriptArea" name="sectionByScript" title="{{$.lp.sectionBy}} (S)"></div>
  109. </div>
  110. </div>
  111. <div id="text{$.pid}sectionMergeArea" class="MWFSectionMergeArea" style="display: text{($.section=='yes')?'none':''};"></div>
  112. </div>
  113. <div title="{{$.lp.event}}" class="MWFTab">
  114. <div class="MWFEventsArea" name="events"></div>
  115. </div>
  116. <div title="HTML" class="MWFTab">
  117. <div class="MWFHTMLArea" style="font-family: Verdana, Geneva, sans-serif; font-size:14px"></div>
  118. </div>
  119. <div title="JSON" class="MWFTab">
  120. <div class="MWFJSONArea" style="font-family: Verdana, Geneva, sans-serif; font-size:14px"></div>
  121. </div>
  122. </div>