label.html 3.0 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657
  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.prefix}}:</td>
  22. <td class="editTableValue"><div class="MWFLabelFlag" name="prefixIcon"></div></td>
  23. </tr>
  24. <tr>
  25. <td class="editTableTitle">{{$.lp.suffix}}:</td>
  26. <td class="editTableValue"><div class="MWFLabelFlag" name="suffixIcon"></div></td>
  27. </tr>
  28. </table>
  29. <div class="MWFMaplist" name="styles" title="{{$.lp.style}}"></div>
  30. <div class="MWFMaplist" name="properties" title="{{$.lp.attribute}}"></div>
  31. <table width="100%" border="0" cellpadding="5" cellspacing="0" class="editTable">
  32. <tr>
  33. <td class="editTableTitle">{{$.lp.value}}:</td>
  34. <td class="editTableValue">
  35. <input class="editTableRadio" onclick="if (this.checked){ $('text{$.pid}labelEditTextValue').setStyle('display', 'block'); $('text{$.pid}labelEditScriptValue').setStyle('display', 'none')}" name="valueType" text{($.valueType=='text')?'checked':''} type="radio" value="text"/>{{$.lp.textValue}}
  36. <input class="editTableRadio" onclick="if (this.checked){ $('text{$.pid}labelEditScriptValue').setStyle('display', 'block'); $('text{$.pid}labelEditTextValue').setStyle('display', 'none')}" name="valueType" text{($.valueType=='script')?'checked':''} type="radio" value="script"/>{{$.lp.script}}
  37. </td>
  38. </tr>
  39. </table>
  40. <div id="text{$.pid}labelEditTextValue" title="{{$.lp.value}}" style="display: text{($.valueType=='text')?'block':'none'}">
  41. <textarea name="text" class="editTableTextarea">text{$.text}</textarea>
  42. </div>
  43. <div id="text{$.pid}labelEditScriptValue" class="MWFScriptArea" name="script" title="{{$.lp.value}} (S)" style="display: text{($.valueType=='script')?'block':'none'}"></div>
  44. </div>
  45. <div title="{{$.lp.event}}" class="MWFTab">
  46. <div class="MWFEventsArea" name="events"></div>
  47. </div>
  48. <div title="HTML" class="MWFTab">
  49. <div class="MWFHTMLArea" style="font-family: Verdana, Geneva, sans-serif; font-size:14px"></div>
  50. </div>
  51. <div title="JSON" class="MWFTab">
  52. <div class="MWFJSONArea" style="font-family: Verdana, Geneva, sans-serif; font-size:14px"></div>
  53. </div>
  54. </div>