application.html 6.5 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. <tr>
  13. <td class="editTableTitle">{{$.lp.activeType}}:</td>
  14. <td class="editTableValue">
  15. <input type="radio" name="activeType" value="immediately" text{(!$.activeType || $.activeType=='immediately')?'checked':''} onclick="if (this.checked){
  16. $('text{$.pid}delayArea').setStyle('display', 'none');
  17. }"/>{{$.lp.immediately}}
  18. <input type="radio" name="activeType" value="delay" text{($.activeType == 'delay')?'checked':''} onclick="if (this.checked){
  19. $('text{$.pid}delayArea').setStyle('display', 'block');
  20. }"/>{{$.lp.delay}}
  21. </td>
  22. </tr>
  23. </table>
  24. <div style="display: text{($.activeType=='delay') ?'block':'none'}" id="text{$.pid}delayArea">
  25. <div style="padding: 10px;">{{$.lp.delayNote}}</div>
  26. </div>
  27. <div class="MWFMaplist" name="styles" title="{{$.lp.style}}"></div>
  28. <div class="MWFMaplist" name="properties" title="{{$.lp.attribute}}"></div>
  29. <table width="100%" border="0" cellpadding="5" cellspacing="0" class="editTable">
  30. <tr>
  31. <td class="editTableValue" colspan="2">
  32. <input type="radio" name="componentType" value="select" text{($.componentType!='script')?'checked':''} onclick="if (this.checked) {
  33. $('text{$.pid}selectComponent').setStyle('display', 'block');
  34. $('text{$.pid}scriptComponent').setStyle('display', 'none');}"
  35. />{{$.lp.selectComponent}}
  36. <input type="radio" name="componentType" value="script" text{($.componentType=='script')?'checked':''} onclick="if (this.checked) {
  37. $('text{$.pid}selectComponent').setStyle('display', 'none');
  38. $('text{$.pid}scriptComponent').setStyle('display', 'block');}"
  39. />{{$.lp.calculationComponent}}<br/>
  40. </td>
  41. </tr>
  42. </table>
  43. <div id="text{$.pid}selectComponent" class="MWFComponentSelectContainer" style="display: text{($.componentType!='script')?'block':'none'}">
  44. <table width="100%" border="0" cellpadding="5" cellspacing="0" class="editTable">
  45. <tr>
  46. <td class="editTableTitle">{{$.lp.component}}:</td>
  47. <td class="editTableValue">
  48. <div class="MWFComponentSelect" name="componentSelected"></div>
  49. </td>
  50. </tr>
  51. </table>
  52. </div>
  53. <div id="text{$.pid}scriptComponent" style="display: text{($.componentType=='script')?'block':'none'}">
  54. <div style="padding: 5px;"> {{$.lp.scriptComponentNote}}:<br/>return "Org"; </div>
  55. <div class="MWFScriptArea" name="componentScript" title="{{$.lp.componentScript}} (S)"></div>
  56. </div>
  57. <table width="100%" border="0" cellpadding="5" cellspacing="0" class="editTable">
  58. <tr>
  59. <td class="editTableTitle">{{$.lp.applicationStatus}}:</td>
  60. <td class="editTableValue">
  61. <input class="editTableRadio" onclick="
  62. if (this.checked){
  63. $('text{$.pid}statusMapList').setStyle('display', 'block');
  64. $('text{$.pid}statusScript').setStyle('display', 'none')}
  65. " name="statusType" text{($.statusType!='script')?'checked':''} type="radio" value="map"/>{{$.lp.textValue}}
  66. <input class="editTableRadio" onclick="
  67. if (this.checked){
  68. $('text{$.pid}statusScript').setStyle('display', 'block');
  69. $('text{$.pid}statusMapList').setStyle('display', 'none')}
  70. " name="statusType" text{($.statusType=='script')?'checked':''} type="radio" value="script"/>{{$.lp.script}}
  71. </td>
  72. </tr>
  73. </table>
  74. <div id="text{$.pid}statusMapList" class="MWFMaplist" name="statusMapList" title="{{$.lp.option}}" style="display: text{($.statusType !=='script')?'block':'none'}" ></div>
  75. <div id="text{$.pid}statusScript" class="MWFScriptArea" name="statusScript" title="status {{$.lp.script}}" style="display: text{($.statusType=='script')?'block':'none'}"></div>
  76. <table width="100%" border="0" cellpadding="5" cellspacing="0" class="editTable">
  77. <tr>
  78. <td class="editTableTitle">{{$.lp.applicationOptions}}:</td>
  79. <td class="editTableValue">
  80. <input class="editTableRadio" onclick="
  81. if (this.checked){
  82. $('text{$.pid}optionsMapList').setStyle('display', 'block');
  83. $('text{$.pid}optionsScript').setStyle('display', 'none')}
  84. " name="optionsType" text{($.optionsType!='script')?'checked':''} type="radio" value="map"/>{{$.lp.textValue}}
  85. <input class="editTableRadio" onclick="
  86. if (this.checked){
  87. $('text{$.pid}optionsScript').setStyle('display', 'block');
  88. $('text{$.pid}optionsMapList').setStyle('display', 'none')}
  89. " name="optionsType" text{($.optionsType=='script')?'checked':''} type="radio" value="script"/>{{$.lp.script}}
  90. </td>
  91. </tr>
  92. </table>
  93. <div id="text{$.pid}optionsMapList" class="MWFMaplist" name="optionsMapList" title="{{$.lp.option}}" style="display: text{($.optionsType !=='script')?'block':'none'}" ></div>
  94. <div id="text{$.pid}optionsScript" class="MWFScriptArea" name="optionsScript" title="options {{$.lp.script}}" style="display: text{($.optionsType=='script')?'block':'none'}"></div>
  95. </div>
  96. <div title="{{$.lp.event}}" class="MWFTab">
  97. <div class="MWFEventsArea" name="events"></div>
  98. </div>
  99. <div title="{{$.lp.html}}" class="MWFTab">
  100. <div class="MWFHTMLArea" style="font-family: Verdana, Geneva, sans-serif; font-size:14px"></div>
  101. </div>
  102. <div title="{{$.lp.json}}" class="MWFTab">
  103. <div class="MWFJSONArea" style="font-family: Verdana, Geneva, sans-serif; font-size:14px"></div>
  104. </div>
  105. </div>