textfield.html 7.2 KB

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