address.html 6.6 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100
  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.selectRange}}:</td>
  25. <td class="editTableValue">
  26. <input type="radio" name="selectRange" value="province" text{($.selectRange==='province')?'checked':''}/>{{$.lp.province}}
  27. <input type="radio" name="selectRange" value="city" text{($.selectRange==='city')?'checked':''}/>{{$.lp.city}}
  28. <input type="radio" name="selectRange" value="county" text{($.selectRange==='county' || !$.selectRange)?'checked':''}/>{{$.lp.county}}
  29. </td>
  30. </tr>
  31. </table>
  32. <div class="MWFMaplist" name="styles" title="{{$.lp.style}}"></div>
  33. <div class="MWFMaplist" name="inputStyles" title="{{$.lp.addressStyle}}"></div>
  34. <div class="MWFMaplist" name="properties" title="{{$.lp.attribute}}"></div>
  35. <table width="100%" border="0" cellpadding="5" cellspacing="0" class="editTable">
  36. <tr>
  37. <td class="editTableTitle">{{$.lp.compute}}:</td>
  38. <td class="editTableValue">
  39. <input type="radio" name="compute" value="create" text{($.compute.indexOf('create')!=-1)?'checked':''}/>{{$.lp.create}}
  40. <input type="radio" name="compute" value="save" text{($.compute.indexOf('save')!=-1)?'checked':''}/>{{$.lp.save}}
  41. <input type="radio" name="compute" value="show" text{($.compute.indexOf('show')!=-1)?'checked':''}/>{{$.lp.show}}
  42. </td>
  43. </tr>
  44. </table>
  45. <div class="MWFScriptArea" name="defaultValue" title="{{$.lp.defaultValue}} (S)"></div>
  46. <div class="MWFValidation" name="validationConfig"></div>
  47. <div class="MWFScriptArea" name="validation" title="{{$.lp.verificationScript}} (S)"></div>
  48. </div>
  49. <div title="{{$.lp.section}}" class="MWFTab">
  50. <table width="100%" border="0" cellpadding="5" cellspacing="0" class="editTable">
  51. <tr>
  52. <td class="editTableTitle">{{$.lp.enableSection}}:</td>
  53. <td class="editTableValue">
  54. <input onclick="if (this.checked){
  55. $('text{$.pid}sectionByEditArea').setStyle('display', 'block');
  56. $('text{$.pid}sectionMergeArea').setStyle('display', 'none')
  57. }" type="radio" name="section" value="yes" text{($.section=='yes')?'checked':''}/>{{$.lp.yes}}
  58. <input onclick="if (this.checked){
  59. $('text{$.pid}sectionByEditArea').setStyle('display', 'none');
  60. $('text{$.pid}sectionMergeArea').setStyle('display', 'block')
  61. }" type="radio" name="section" value="no" text{($.section!='yes')?'checked':''}/>{{$.lp.no}}
  62. </td>
  63. </tr>
  64. </table>
  65. <div id="text{$.pid}sectionByEditArea" style="display: text{($.section=='yes')?'block':'none'};">
  66. <table width="100%" border="0" cellpadding="5" cellspacing="0" class="editTable">
  67. <tr>
  68. <td class="editTableTitle">{{$.lp.sectionBy}}:</td>
  69. <td class="editTableValue">
  70. <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/>
  71. <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/>
  72. <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/>
  73. <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/>
  74. <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/>
  75. </td>
  76. </tr>
  77. </table>
  78. <div id="text{$.pid}sectionByScriptEditArea" style="display: text{($.sectionBy=='script')?'block':'none'};">
  79. <div class="MWFScriptArea" name="sectionByScript" title="{{$.lp.sectionBy}} (S)"></div>
  80. </div>
  81. </div>
  82. <div id="text{$.pid}sectionMergeArea" class="MWFSectionMergeArea" style="display: text{($.section=='yes')?'none':''};"></div>
  83. </div>
  84. <div title="{{$.lp.event}}" class="MWFTab">
  85. <div class="MWFEventsArea" name="events"></div>
  86. </div>
  87. <div title="HTML" class="MWFTab">
  88. <div class="MWFHTMLArea" style="font-family: Verdana, Geneva, sans-serif; font-size:14px"></div>
  89. </div>
  90. <div title="JSON" class="MWFTab">
  91. <div class="MWFJSONArea" style="font-family: Verdana, Geneva, sans-serif; font-size:14px"></div>
  92. </div>
  93. </div>