elbutton.html 7.0 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129
  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. </table>
  17. <table width="100%" border="0" cellpadding="5" cellspacing="0" class="editTable">
  18. <tr>
  19. <td class="editTableTitle">{{$.lp.size}}:</td>
  20. <td class="editTableValue">
  21. <input type="radio" name="size" value="medium" text{($.size==='medium')?'checked':''}/>medium
  22. <input type="radio" name="size" value="small" text{($.size==='small')?'checked':''}/>small
  23. <input type="radio" name="size" value="mini" text{($.size==='mini')?'checked':''}/>mini
  24. <input type="radio" name="size" value="auto" text{($.size!=='medium' && $.size!=='small' && $.size!=='mini')?'checked':''}/>auto
  25. </td>
  26. </tr>
  27. <tr>
  28. <td class="editTableTitle">{{$.lp.type}}:</td>
  29. <td class="editTableValue">
  30. <input type="radio" name="bttype" value="default" text{($.bttype!=='primary' && $.bttype!=='success' && $.bttype!=='warning' && $.bttype!=='danger' && $.bttype!=='info' && $.bttype!=='text')?'checked':''}/>{{$.lp.el_bt_default}}
  31. <input type="radio" name="bttype" value="primary" text{($.bttype=='primary')?'checked':''}/>{{$.lp.el_bt_primary}}
  32. <input type="radio" name="bttype" value="success" text{($.bttype==='success')?'checked':''}/>{{$.lp.el_bt_success}}
  33. <input type="radio" name="bttype" value="warning" text{($.bttype==='warning')?'checked':''}/>{{$.lp.el_bt_warning}}
  34. <input type="radio" name="bttype" value="danger" text{($.bttype==='danger')?'checked':''}/>{{$.lp.el_bt_danger}}
  35. <input type="radio" name="bttype" value="info" text{($.bttype==='info')?'checked':''}/>{{$.lp.el_bt_info}}
  36. <input type="radio" name="bttype" value="text" text{($.bttype==='text')?'checked':''}/>{{$.lp.el_bt_text}}
  37. </td>
  38. </tr>
  39. <tr>
  40. <td class="editTableTitle">{{$.lp.el_icon}}:</td>
  41. <td class="editTableValue">
  42. <div class="MWFElIcon" name="icon"></div>
  43. </td>
  44. </tr>
  45. <tr>
  46. <td class="editTableTitle">{{$.lp.el_iconPosition}}:</td>
  47. <td class="editTableValue">
  48. <input type="radio" name="iconPosition" value="left" text{($.iconPosition!='right')?'checked':''}/>{{$.lp.left}}
  49. <input type="radio" name="iconPosition" value="right" text{($.iconPosition=='right')?'checked':''}/>{{$.lp.right}}
  50. </td>
  51. </tr>
  52. <tr>
  53. <td class="editTableTitle">{{$.lp.el_plain}}:</td>
  54. <td class="editTableValue">
  55. <input type="radio" name="plain" value="true" text{($.plain==true)?'checked':''}/>{{$.lp.yes}}
  56. <input type="radio" name="plain" value="false" text{($.plain!=true)?'checked':''}/>{{$.lp.no}}
  57. </td>
  58. </tr>
  59. <tr>
  60. <td class="editTableTitle">{{$.lp.el_round}}:</td>
  61. <td class="editTableValue">
  62. <input type="radio" name="round" value="true" text{($.round==true)?'checked':''}/>{{$.lp.yes}}
  63. <input type="radio" name="round" value="false" text{($.round!=true)?'checked':''}/>{{$.lp.no}}
  64. </td>
  65. </tr>
  66. <tr>
  67. <td class="editTableTitle">{{$.lp.el_circle}}:</td>
  68. <td class="editTableValue">
  69. <input type="radio" name="circle" value="true" text{($.circle==true)?'checked':''}/>{{$.lp.yes}}
  70. <input type="radio" name="circle" value="false" text{($.circle!=true)?'checked':''}/>{{$.lp.no}}
  71. </td>
  72. </tr>
  73. <tr>
  74. <td class="editTableTitle">{{$.lp.el_disabled}}:</td>
  75. <td class="editTableValue">
  76. <input type="radio" name="disabled" value="true" text{($.disabled==true)?'checked':''}/>{{$.lp.yes}}
  77. <input type="radio" name="disabled" value="false" text{($.disabled!=true)?'checked':''}/>{{$.lp.no}}
  78. </td>
  79. </tr>
  80. <tr>
  81. <td class="editTableTitle">{{$.lp.el_loading}}:</td>
  82. <td class="editTableValue">
  83. <input type="radio" name="loading" value="true" text{($.loading==true)?'checked':''}/>{{$.lp.yes}}
  84. <input type="radio" name="loading" value="false" text{($.loading!=true)?'checked':''}/>{{$.lp.no}}
  85. </td>
  86. </tr>
  87. <tr>
  88. <td class="editTableTitle">{{$.lp.el_autofocus}}:</td>
  89. <td class="editTableValue">
  90. <input type="radio" name="autofocus" value="true" text{($.autofocus==true)?'checked':''}/>{{$.lp.yes}}
  91. <input type="radio" name="autofocus" value="false" text{($.autofocus!=true)?'checked':''}/>{{$.lp.no}}
  92. </td>
  93. </tr>
  94. <tr>
  95. <td class="editTableTitle">{{$.lp.el_isText}}:</td>
  96. <td class="editTableValue">
  97. <input type="radio" name="isText" value="true" text{($.isText!=false)?'checked':''}/>{{$.lp.yes}}
  98. <input type="radio" name="isText" value="false" text{($.isText==false)?'checked':''}/>{{$.lp.no}}
  99. </td>
  100. </tr>
  101. </table>
  102. <div class="MWFMaplist" name="elStyles" title="{{$.lp.style}}"></div>
  103. <div class="MWFMaplist" name="elProperties" title="{{$.lp.attribute}}"></div>
  104. </div>
  105. <div title="Vue" class="MWFTab">
  106. <div onclick="var node = this.getNext(); node.setStyle('display', ((node.getStyle('display')!='none') ? 'none': 'block'))" style="cursor: pointer; height:24px; padding-left: 5px; line-height: 24px; background-color: #EEE; border-bottom: 1px solid #999;font-weight:bold;">Vue Data</div>
  107. <div style="display: text{($.vueData && $.vueData.code) ? 'block': 'none'}" class="MWFScriptArea" name="vueData" title="Vue Data (S)"></div>
  108. <div onclick="var node = this.getNext(); node.setStyle('display', ((node.getStyle('display')!='none') ? 'none': 'block'))" style="cursor: pointer; height:24px; padding-left: 5px; line-height: 24px; background-color: #EEE; border-bottom: 1px solid #999;font-weight:bold;">Vue Method</div>
  109. <div div style="display: text{($.vueMethods && $.vueMethods.code) ? 'block': 'none'}" class="MWFScriptArea" name="vueMethods" title="Vue Methods (S)"></div>
  110. <div onclick="var node = this.getNext(); node.setStyle('display', ((node.getStyle('display')!='none') ? 'none': 'block'))" style="cursor: pointer; height:24px; padding-left: 5px; line-height: 24px; background-color: #EEE; border-bottom: 1px solid #999;font-weight:bold;">Vue CSS</div>
  111. <div div style="display: text{($.vueCss && $.vueCss.code) ? 'block': 'none'}" class="MWFCssArea" name="vueCss" title="Vue Css (S)"></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="width:100%; height:400px; border:0px;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>