relatedlink.html 5.7 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110
  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. </table>
  13. <table width="100%" border="0" cellpadding="5" cellspacing="0" class="editTable">
  14. <tr>
  15. <td class="editTableTitle">{{$.lp.count}}:</td>
  16. <td class="editTableValue"><input type="number" name="count" value="text{$.count}" min="1" class="editTableInput"/></td>
  17. </tr>
  18. <tr>
  19. <td class="editTableTitle">{{$.lp.activeType}}:</td>
  20. <td class="editTableValue">
  21. <input type="radio" name="activeType" value="click" text{(!$.activeType || $.activeType=='click')?'checked':''} onclick="if (this.checked){
  22. $('text{$.pid}delayArea').setStyle('display', 'none');
  23. $('text{$.pid}clickButtonArea').setStyle('display', 'block');
  24. }"/>{{$.lp.click}}
  25. <input type="radio" name="activeType" value="delay" text{($.activeType == 'delay')?'checked':''} onclick="if (this.checked){
  26. $('text{$.pid}delayArea').setStyle('display', 'block');
  27. $('text{$.pid}clickButtonArea').setStyle('display', 'none');
  28. }"/>{{$.lp.delay}}
  29. <input type="radio" name="activeType" value="immediately" text{($.activeType == 'immediately')?'checked':''} onclick="if (this.checked){
  30. $('text{$.pid}delayArea').setStyle('display', 'none');
  31. $('text{$.pid}clickButtonArea').setStyle('display', 'none');
  32. }"/>{{$.lp.immediately}}
  33. </td>
  34. </tr>
  35. </table>
  36. <div style="display: text{($.activeType=='click' || !$.activeType) ?'block':'none'}" id="text{$.pid}clickButtonArea">
  37. <table width="100%" border="0" cellpadding="5" cellspacing="0" class="editTable">
  38. <tr>
  39. <td class="editTableTitle">{{$.lp.buttonText}}:</td>
  40. <td class="editTableValue"><input type="text" name="buttonText" value="text{$.buttonText}" class="editTableInput"/></td>
  41. </tr>
  42. </table>
  43. <div class="MWFMaplist" name="buttonStyles" title="{{$.lp.buttonStyle}}"></div>
  44. </div>
  45. <div style="display: text{($.activeType=='delay') ?'block':'none'}" id="text{$.pid}delayArea">
  46. <div style="padding: 10px;">{{$.lp.delayNote}}</div>
  47. </div>
  48. <table width="100%" border="0" cellpadding="5" cellspacing="0" class="editTable">
  49. <tr>
  50. <td class="editTableTitle">{{$.lp.style}}:</td>
  51. <td class="editTableValue">
  52. <input class="editTableRadio" onclick="if (this.checked){
  53. $('text{$.pid}tableArea').setStyle('display', 'block');
  54. $('text{$.pid}displayScriptArea').setStyle('display', 'none');
  55. $('text{$.pid}textStyleArea').setStyle('display', 'none');
  56. }" name="mode" text{($.mode=='table')?'checked':''} type="radio" value="table"/>{{$.lp.table}}
  57. <input class="editTableRadio" onclick="if (this.checked){
  58. $('text{$.pid}tableArea').setStyle('display', 'none');
  59. $('text{$.pid}displayScriptArea').setStyle('display', 'none');
  60. $('text{$.pid}textStyleArea').setStyle('display', 'block');
  61. }" name="mode" text{($.mode=='text')?'checked':''} type="radio" value="text"/>{{$.lp.byFormat}}
  62. <input class="editTableRadio" onclick="if (this.checked){
  63. $('text{$.pid}tableArea').setStyle('display', 'none');
  64. $('text{$.pid}displayScriptArea').setStyle('display', 'block');
  65. $('text{$.pid}textStyleArea').setStyle('display', 'none');
  66. }" name="mode" text{($.mode=='script')?'checked':''} type="radio" value="script"/>{{$.lp.byScript}}
  67. <br>
  68. </td>
  69. </tr>
  70. </table>
  71. <div class="MWFMaplist" name="styles" title="{{$.lp.containStyle}}"></div>
  72. <div class="MWFMaplist" name="properties" title="{{$.lp.containAttribute}}"></div>
  73. <div style="display: text{($.mode=='table' || !$.mode) ?'block':'none'}" id="text{$.pid}tableArea">
  74. <div class="MWFMaplist" name="tableStyles" collapse="true" title="{{$.lp.titleStyle}}"></div>
  75. <div class="MWFMaplist" name="tableTitleCellStyles" collapse="true" title="{{$.lp.titleCellStyle}}"></div>
  76. <div class="MWFMaplist" name="tableContentLineStyles" collapse="true" title="{{$.lp.contentLineStyle}}"></div>
  77. <div class="MWFMaplist" name="tableContentLineStyles_over" collapse="true" title="{{$.lp.contentLineOverStyle}}"></div>
  78. <div class="MWFMaplist" name="tableContentCellStyles" collapse="true" title="{{$.lp.contentCellStyle}}"></div>
  79. <div class="MWFMaplist" name="tableContentCellStyles_title" collapse="true" title="{{$.lp.contentTitleCellStyle}}"></div>
  80. </div>
  81. <div style="display: text{($.mode=='script') ?'block':'none'}" id="text{$.pid}displayScriptArea">
  82. <div style="color:#999; padding:5px; line-height:20px">{{$.lp.relativedLinkField}}</div>
  83. <div class="MWFScriptArea" name="displayScript" title="{{$.lp.logFormatScript}} (S)"></div>
  84. </div>
  85. <div style="display: text{($.mode=='default') ?'block':'none'}" id="text{$.pid}textStyleArea">
  86. <div style="color:#999; padding:5px; line-height:20px">{{$.lp.relativedLinkField}}</div>
  87. <div class="MWFHtmlEditorArea" name="textStyle" title="{{$.lp.logFormat}} (H)"></div>
  88. </div>
  89. </div>
  90. <div title="{{$.lp.event}}" class="MWFTab">
  91. <div class="MWFEventsArea" name="events"></div>
  92. </div>
  93. <div title="HTML" class="MWFTab">
  94. <div class="MWFHTMLArea" style="font-family: Verdana, Geneva, sans-serif; font-size:14px"></div>
  95. </div>
  96. <div title="JSON" class="MWFTab">
  97. <div class="MWFJSONArea" style="font-family: Verdana, Geneva, sans-serif; font-size:14px"></div>
  98. </div>
  99. </div>