currency.html 8.4 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138
  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 || '2'}" 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.currencySymbol}}:</td>
  43. <td class="editTableValue">
  44. <input name="currencySymbol" value="text{$.currencySymbol}" class="editTableInput"/>
  45. </td>
  46. </tr>
  47. <tr>
  48. <td class="editTableTitle">{{$.lp.digitsToSeparate}}:</td>
  49. <td class="editTableValue">
  50. <input type="number" name="digitsToSeparate" value="text{$.digitsToSeparate}" class="editTableInput"/>
  51. <div style="padding: 5px;">{{$.lp.digitsToSeparateNote}}</div>
  52. </td>
  53. </tr>
  54. <tr>
  55. <td class="editTableTitle">{{$.lp.max}}:</td>
  56. <td class="editTableValue">
  57. <input type="number" name="max" value="text{$.max}" class="editTableInput"/>
  58. </td>
  59. </tr>
  60. <tr>
  61. <td class="editTableTitle">{{$.lp.min}}:</td>
  62. <td class="editTableValue">
  63. <input type="number" name="min" value="text{$.min}" class="editTableInput"/>
  64. </td>
  65. </tr>
  66. </table>
  67. <div class="MWFMaplist" name="styles" title="{{$.lp.style}}"></div>
  68. <div class="MWFMaplist" name="inputStyles" title="{{$.lp.inputStyle}}"></div>
  69. <div class="MWFMaplist" name="symbolStyles" title="{{$.lp.currencySymbolStyles}}"></div>
  70. <div class="MWFMaplist" name="properties" title="{{$.lp.attribute}}"></div>
  71. <table width="100%" border="0" cellpadding="5" cellspacing="0" class="editTable">
  72. <tr>
  73. <td class="editTableTitle">{{$.lp.compute}}:</td>
  74. <td class="editTableValue">
  75. <input type="radio" name="compute" value="create" text{($.compute.indexOf('create')!=-1)?'checked':''}/>{{$.lp.create}}
  76. <input type="radio" name="compute" value="save" text{($.compute.indexOf('save')!=-1)?'checked':''}/>{{$.lp.save}}
  77. <input type="radio" name="compute" value="show" text{($.compute.indexOf('show')!=-1)?'checked':''}/>{{$.lp.show}}
  78. </td>
  79. </tr>
  80. </table>
  81. <div class="MWFScriptArea" name="defaultValue" title="{{$.lp.defaultValue}} (S)"></div>
  82. <div class="MWFValidation" name="validationConfig"></div>
  83. <div class="MWFScriptArea" name="validation" title="{{$.lp.verificationScript}} (S)"></div>
  84. </div>
  85. <div title="{{$.lp.section}}" class="MWFTab">
  86. <table width="100%" border="0" cellpadding="5" cellspacing="0" class="editTable">
  87. <tr>
  88. <td class="editTableTitle">{{$.lp.enableSection}}:</td>
  89. <td class="editTableValue">
  90. <input onclick="if (this.checked){
  91. $('text{$.pid}sectionByEditArea').setStyle('display', 'block');
  92. $('text{$.pid}sectionMergeArea').setStyle('display', 'none')
  93. }" type="radio" name="section" value="yes" text{($.section=='yes')?'checked':''}/>{{$.lp.yes}}
  94. <input onclick="if (this.checked){
  95. $('text{$.pid}sectionByEditArea').setStyle('display', 'none');
  96. $('text{$.pid}sectionMergeArea').setStyle('display', 'block')
  97. }" type="radio" name="section" value="no" text{($.section!='yes')?'checked':''}/>{{$.lp.no}}
  98. </td>
  99. </tr>
  100. </table>
  101. <div id="text{$.pid}sectionByEditArea" style="display: text{($.section=='yes')?'block':'none'};">
  102. <table width="100%" border="0" cellpadding="5" cellspacing="0" class="editTable">
  103. <tr>
  104. <td class="editTableTitle">{{$.lp.sectionBy}}:</td>
  105. <td class="editTableValue">
  106. <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/>
  107. <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/>
  108. <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/>
  109. <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/>
  110. <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/>
  111. </td>
  112. </tr>
  113. </table>
  114. <div id="text{$.pid}sectionByScriptEditArea" style="display: text{($.sectionBy=='script')?'block':'none'};">
  115. <div class="MWFScriptArea" name="sectionByScript" title="{{$.lp.sectionBy}} (S)"></div>
  116. </div>
  117. </div>
  118. <div id="text{$.pid}sectionMergeArea" class="MWFSectionMergeArea" style="display: text{($.section=='yes')?'none':''};"></div>
  119. </div>
  120. <div title="{{$.lp.event}}" class="MWFTab">
  121. <div class="MWFEventsArea" name="events"></div>
  122. </div>
  123. <div title="HTML" class="MWFTab">
  124. <div class="MWFHTMLArea" style="font-family: Verdana, Geneva, sans-serif; font-size:14px"></div>
  125. </div>
  126. <div title="JSON" class="MWFTab">
  127. <div class="MWFJSONArea" style="font-family: Verdana, Geneva, sans-serif; font-size:14px"></div>
  128. </div>
  129. </div>