textfield.html 3.7 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970
  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{$.id}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. <div class="MWFMaplist" name="styles" title="{{$.lp.style}}"></div>
  39. <div class="MWFMaplist" name="inputStyles" title="{{$.lp.inputStyle}}"></div>
  40. <div class="MWFMaplist" name="properties" title="{{$.lp.attribute}}"></div>
  41. <table width="100%" border="0" cellpadding="5" cellspacing="0" class="editTable">
  42. <tr>
  43. <td class="editTableTitle">{{$.lp.compute}}:</td>
  44. <td class="editTableValue">
  45. <input type="radio" name="compute" value="create" text{($.compute.indexOf('create')!=-1)?'checked':''}/>{{$.lp.create}}
  46. <input type="radio" name="compute" value="save" text{($.compute.indexOf('save')!=-1)?'checked':''}/>{{$.lp.save}}
  47. <input type="radio" name="compute" value="show" text{($.compute.indexOf('show')!=-1)?'checked':''}/>{{$.lp.show}}
  48. </td>
  49. </tr>
  50. </table>
  51. <div class="MWFScriptArea" name="defaultValue" title="{{$.lp.defaultValue}} (S)"></div>
  52. <div class="MWFValidation" name="validationConfig"></div>
  53. <div class="MWFScriptArea" name="validation" title="{{$.lp.verificationScript}} (S)"></div>
  54. </div>
  55. <div title="{{$.lp.event}}" class="MWFTab">
  56. <div class="MWFEventsArea" name="events"></div>
  57. </div>
  58. <div title="HTML" class="MWFTab">
  59. <div class="MWFHTMLArea" style="font-family: Verdana, Geneva, sans-serif; font-size:14px"></div>
  60. </div>
  61. <div title="JSON" class="MWFTab">
  62. <div class="MWFJSONArea" style="font-family: Verdana, Geneva, sans-serif; font-size:14px"></div>
  63. </div>
  64. </div>