common.html 5.1 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071
  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.appearance}}:</td>
  18. <td class="editTableValue"><select class="MWFDivTemplate" name="templateType"></select></td>
  19. </tr>
  20. <tr>
  21. <td class="editTableTitle">{{$.lp.selectTag}}:</td>
  22. <td class="editTableValue">
  23. <select onchange="if (this.options[this.selectedIndex].value){ $('text{$.pid}tagName').set('value', this.options[this.selectedIndex].value); $('text{$.pid}tagName').focus();}">
  24. <option value=""></option>
  25. <option text{($.tagName.toLowerCase()=='div')?'selected':''} value="div">&lt;div&gt;</option>
  26. <option text{($.tagName.toLowerCase()=='a')?'selected':''} value="a">&lt;a&gt;</option>
  27. <option text{($.tagName.toLowerCase()=='button')?'selected':''} value="button">&lt;button&gt;</option>
  28. <option text{($.tagName.toLowerCase()=='center')?'selected':''} value="center">&lt;center&gt;</option>
  29. <option text{($.tagName.toLowerCase()=='dl')?'selected':''} value="dl">&lt;dl&gt;</option>
  30. <option text{($.tagName.toLowerCase()=='dt')?'selected':''} value="dt">&lt;dt&gt;</option>
  31. <option text{($.tagName.toLowerCase()=='dd')?'selected':''} value="dd">&lt;dd&gt;</option>
  32. <option text{($.tagName.toLowerCase()=='h1')?'selected':''} value="h1">&lt;h1&gt;</option>
  33. <option text{($.tagName.toLowerCase()=='h2')?'selected':''} value="h2">&lt;h2&gt;</option>
  34. <option text{($.tagName.toLowerCase()=='h3')?'selected':''} value="h3">&lt;h3&gt;</option>
  35. <option text{($.tagName.toLowerCase()=='h4')?'selected':''} value="h4">&lt;h4&gt;</option>
  36. <option text{($.tagName.toLowerCase()=='h5')?'selected':''} value="h5">&lt;h5&gt;</option>
  37. <option text{($.tagName.toLowerCase()=='h6')?'selected':''} value="h6">&lt;h6&gt;</option>
  38. <option text{($.tagName.toLowerCase()=='ul')?'selected':''} value="ul">&lt;ul&gt;</option>
  39. <option text{($.tagName.toLowerCase()=='ol')?'selected':''} value="ol">&lt;ol&gt;</option>
  40. <option text{($.tagName.toLowerCase()=='li')?'selected':''} value="li">&lt;li&gt;</option>
  41. <option text{($.tagName.toLowerCase()=='p')?'selected':''} value="p">&lt;p&gt;</option>
  42. <option text{($.tagName.toLowerCase()=='pre')?'selected':''} value="pre">&lt;pre&gt;</option>
  43. <option text{($.tagName.toLowerCase()=='span')?'selected':''} value="span">&lt;span&gt;</option>
  44. <option text{($.tagName.toLowerCase()=='audio')?'selected':''} value="audio">&lt;audio&gt;</option>
  45. <option text{($.tagName.toLowerCase()=='video')?'selected':''} value="video">&lt;video&gt;</option>
  46. <option text{($.tagName.toLowerCase()=='source')?'selected':''} value="source">&lt;source&gt;</option>
  47. <option text{($.tagName.toLowerCase()=='canvas')?'selected':''} value="canvas">&lt;canvas&gt;</option>
  48. </select>
  49. </td>
  50. </tr>
  51. <tr>
  52. <td class="editTableTitle">{{$.lp.elementTag}}:</td>
  53. <td class="editTableValue"><input type="text" id="text{$.pid}tagName" name="tagName" value="text{$.tagName}" class="editTableInput"/></td>
  54. </tr>
  55. </table>
  56. <div class="MWFMaplist" name="styles" title="{{$.lp.style}}"></div>
  57. <div class="MWFMaplist" name="properties" title="{{$.lp.attribute}}"></div>
  58. <div class="MWFHtmlEditorArea" name="innerHTML" title="{{$.lp.innerHtml}} (H)"></div>
  59. </div>
  60. <div title="{{$.lp.event}}" class="MWFTab">
  61. <div class="MWFEventsArea" name="events"></div>
  62. </div>
  63. <div title="HTML" class="MWFTab">
  64. <div class="MWFHTMLArea" style="font-family: Verdana, Geneva, sans-serif; font-size:14px"></div>
  65. </div>
  66. <div title="JSON" class="MWFTab">
  67. <div class="MWFJSONArea" style="font-family: Verdana, Geneva, sans-serif; font-size:14px"></div>
  68. </div>
  69. </div>