associateddocument.html 14 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256
  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.site}}:</td>
  14. <td class="editTableValue"><input type="text" name="site" value="text{$.site}" class="editTableInput"/><br>{{$.lp.defaultSiteInfo}}</td>
  15. </tr>
  16. <tr>
  17. <td class="editTableTitle">{{$.lp.readonly}}:</td>
  18. <td class="editTableValue">
  19. <input type="radio" name="isReadonly" value="true" text{($.isReadonly)?'checked':''}/>{{$.lp.yes}}
  20. <input type="radio" name="isReadonly" value="false" text{(!$.isReadonly)?'checked':''}/>{{$.lp.no}}
  21. </td>
  22. </tr>
  23. <tr>
  24. <td class="editTableTitle">{{$.lp.showCard}}:</td>
  25. <td class="editTableValue">
  26. <input type="radio" name="showCard" value="true" text{($.showCard!=false)?'checked':''}/>{{$.lp.yes}}
  27. <input type="radio" name="showCard" value="false" text{($.showCard==false)?'checked':''}/>{{$.lp.no}}
  28. </td>
  29. </tr>
  30. </table>
  31. <div class="MWFMaplist" name="styles" title="{{$.lp.style}}"></div>
  32. <div class="MWFMaplist" name="properties" title="{{$.lp.attribute}}"></div>
  33. <table width="100%" border="0" cellpadding="5" cellspacing="0" class="editTable">
  34. <tr>
  35. <td class="editTableTitle">{{$.lp.buttonText}}:</td>
  36. <td class="editTableValue"><input type="text" name="buttonText" value="text{$.buttonText}" class="editTableInput"/></td>
  37. </tr>
  38. <tr>
  39. <td class="editTableTitle">{{$.lp.buttonLocation}}:</td>
  40. <td class="editTableValue">
  41. <input type="radio" name="buttonPosition" value="leftTop" text{(!$.buttonPosition || $.buttonPosition==='leftTop')?'checked':''}/>{{$.lp.lefttop}}
  42. <input type="radio" name="buttonPosition" value="centerTop" text{($.buttonPosition==='centerTop')?'checked':''}/>{{$.lp.centertop}}
  43. <input type="radio" name="buttonPosition" value="rightTop" text{($.buttonPosition==='rightTop')?'checked':''}/>{{$.lp.righttop}}
  44. <input type="radio" name="buttonPosition" value="leftBottom" text{($.buttonPosition==='leftBottom')?'checked':''}/>{{$.lp.leftbottom}}
  45. <input type="radio" name="buttonPosition" value="centerBottom" text{($.buttonPosition==='centerBottom')?'checked':''}/>{{$.lp.centerbottom}}
  46. <input type="radio" name="buttonPosition" value="rightBottom" text{($.buttonPosition==='rightBottom')?'checked':''}/>{{$.lp.rightbottom}}
  47. </td>
  48. </tr>
  49. </table>
  50. <div class="MWFMaplist" name="buttonStyles" collapse="true" title="{{$.lp.buttonStyle}}"></div>
  51. <div style="background-color: #eeeeee; height: 24px; line-height: 24px; text-align: center; cursor:pointer">{{$.lp.documentListShow}}</div>
  52. <table width="100%" border="0" cellpadding="5" cellspacing="0" class="editTable">
  53. <tr>
  54. <td class="editTableValue">
  55. <input class="editTableRadio" onclick="if (this.checked){
  56. $('text{$.pid}displayScriptArea').setStyle('display', 'none');
  57. $('text{$.pid}textStyleArea').setStyle('display', 'none');
  58. }" name="mode" text{($.mode=='default')?'checked':''} type="radio" value="default"/>{{$.lp.default}}
  59. <input class="editTableRadio" onclick="if (this.checked){
  60. $('text{$.pid}displayScriptArea').setStyle('display', 'none');
  61. $('text{$.pid}textStyleArea').setStyle('display', 'block');
  62. }" name="mode" text{($.mode=='text')?'checked':''} type="radio" value="text"/>{{$.lp.byFormat}}
  63. <input class="editTableRadio" onclick="if (this.checked){
  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="documentListNodeStyles" title="{{$.lp.containStyle}}"></div>
  72. <div style="display: text{($.mode=='text') ?'block':'none'}" id="text{$.pid}textStyleArea">
  73. <div style="color:#999; padding:5px; line-height:20px">{{$.lp.associatedDocumentField}}</div>
  74. <div class="MWFHtmlEditorArea" name="textStyle" title="{{$.lp.logFormat}} (H)"></div>
  75. <div style="color:#999; padding:5px; line-height:20px">{{$.lp.associatedDocumentScriptNote}}</div>
  76. <div class="MWFScriptArea" name="textStyleScript" title="{{$.lp.logFormatScript}} (S)" collapse="true"></div>
  77. </div>
  78. <div style="display: text{($.mode=='script') ?'block':'none'}" id="text{$.pid}displayScriptArea">
  79. <div style="color:#999; padding:5px; line-height:20px;white-space:pre-wrap;">{{$.lp.associatedDocumentField}}{{$.lp.associatedDocumentScriptNote}}</div>
  80. <div class="MWFScriptArea" name="displayScript" title="{{$.lp.logHtmlScript}} (S)"></div>
  81. </div>
  82. </div>
  83. <div title="{{$.lp.select}}" class="MWFTab">
  84. <div style="background-color: #eeeeee; height: 24px; line-height: 24px; text-align: center;">{{$.lp.viewBox}}</div>
  85. <div>
  86. <table width="100%" border="0" cellpadding="5" cellspacing="0" class="editTable">
  87. <tr>
  88. <td class="editTableTitle">{{$.lp.viewBoxTitle}}:</td>
  89. <td class="editTableValue"><input type="text" name="title" value="text{$.title}" class="editTableInput"/></td>
  90. </tr>
  91. <tr>
  92. <td class="editTableTitle">{{$.lp.columnTitle}}:</td>
  93. <td class="editTableValue">
  94. <input type="radio" name="isTitle" value="true" text{($.isTitle)?'checked':''}/>{{$.lp.show}}
  95. <input type="radio" name="isTitle" value="false" text{(!$.isTitle)?'checked':''}/>{{$.lp.hide}}
  96. </td>
  97. </tr>
  98. <tr>
  99. <td class="editTableTitle">{{$.lp.expandDefault}}</td>
  100. <td class="editTableValue">
  101. <input class="editTableRadio" name="isExpand" text{($.isExpand=='yes')?'checked':''} type="radio" value="yes"/>{{$.lp.expand}}
  102. <input class="editTableRadio" name="isExpand" text{($.isExpand!='yes')?'checked':''} type="radio" value="no"/>{{$.lp.collapse}}
  103. </td>
  104. </tr>
  105. <tr>
  106. <td class="editTableTitle">{{$.lp.select}}:</td>
  107. <td class="editTableValue">
  108. <input type="radio" name="select" value="single" text{($.select=='single')?'checked':''}/>{{$.lp.singleChoice}}
  109. <input type="radio" name="select" value="multi" text{($.select!=='single')?'checked':''}/>{{$.lp.multipleChoice}}
  110. </td>
  111. </tr>
  112. <tr>
  113. <td class="editTableTitle">{{$.lp.actionBar}}</td>
  114. <td class="editTableValue">
  115. <input class="editTableRadio" name="actionbar" text{($.actionbar=='show')?'checked':''} type="radio" value="show"/>{{$.lp.show}}
  116. <input class="editTableRadio" name="actionbar" text{($.actionbar!='show')?'checked':''} type="radio" value="hidden"/>{{$.lp.hide}}
  117. </td>
  118. </tr>
  119. <tr>
  120. <td class="editTableTitle">{{$.lp.height}}</td>
  121. <td class="editTableValue">
  122. <input type="text" name="DialogHeight" value="text{$.DialogHeight}" class="editTableInput"/>
  123. </td>
  124. </tr>
  125. <tr>
  126. <td class="editTableTitle">{{$.lp.width}}</td>
  127. <td class="editTableValue">
  128. <input type="text" name="DialogWidth" value="text{$.DialogWidth}" class="editTableInput"/>
  129. </td>
  130. </tr>
  131. </table>
  132. </div>
  133. <div>
  134. <table width="100%" border="0" cellpadding="5" cellspacing="0" class="editTable">
  135. <tr>
  136. <td class="editTableTitle">{{$.lp.view}}:</td>
  137. <td class="editTableValue"><div class="MWFQueryViewSelect" name="queryView" data-count="0"></div></td>
  138. </tr>
  139. <tr>
  140. <td class="editTableTitle">{{$.lp.reserve}}:</td>
  141. <td class="editTableValue">
  142. <input class="editTableRadio" name="reserve" text{($.reserve!==false)?'checked':''} type="radio" value="true"/>{{$.lp.changeViewReserve}} <br/>
  143. <input class="editTableRadio" name="reserve" text{($.reserve==false)?'checked':''} type="radio" value="false"/>{{$.lp.changeViewNotReserve}}
  144. </td>
  145. </tr>
  146. </table>
  147. </div>
  148. <div class="MWFMaplist" name="titleStyles" title="{{$.lp.boxTitleStyle}}"></div>
  149. <div class="MWFMaplist" name="itemStyles" title="{{$.lp.boxItemStyle}}"></div>
  150. <div style="background-color: #eeeeee; height: 24px; line-height: 24px; text-align: center;">{{$.lp.filter}}</div>
  151. <div style="padding:5px;">
  152. {{$.lp.filterNote}}<a target="_blank" href="../api/global.html#ViewFilter">ViewFilter</a>
  153. </div>
  154. <div name="viewFilterScriptList" class="MWFFormulaListArea"></div>
  155. <!-- <div class="MWFViewFilter">-->
  156. <!-- <div class="inputAreaNode_vf">-->
  157. <!-- <table width="100%" border="0" cellpadding="5" cellspacing="0" class="editTable restrictViewFilterTable_vf">-->
  158. <!-- <tr style="display:none">-->
  159. <!-- <td class="editTableTitle">{{$.lp.title}}:</td>-->
  160. <!-- <td class="editTableValue"><input type="text" class="editTableInput titleInput_vf"/></td>-->
  161. <!-- </tr>-->
  162. <!-- <tr>-->
  163. <!-- <td class="editTableTitle">{{$.lp.path}}:</td>-->
  164. <!-- <td class="editTableValue"><input type="text" class="editTableInput pathInput_vf"/></td>-->
  165. <!-- </tr>-->
  166. <!-- <tr>-->
  167. <!-- <td class="editTableTitle">{{$.lp.dataType}}:</td>-->
  168. <!-- <td class="editTableValue"><select class="datatypeInput_vf">-->
  169. <!-- <option value="textValue" selected>{{$.lp.text}}</option>-->
  170. <!-- <option value="numberValue">{{$.lp.number}}</option>-->
  171. <!-- <option value="dateValue">{{$.lp.date}}</option>-->
  172. <!-- <option value="dateTimeValue">{{$.lp.dateTime2}}</option>-->
  173. <!-- <option value="booleanValue">{{$.lp.boolean}}</option>-->
  174. <!-- </select></td>-->
  175. <!-- </tr>-->
  176. <!-- <tr style="display:none">-->
  177. <!-- <td class="editTableTitle"></td>-->
  178. <!-- <td class="editTableValue">-->
  179. <!-- <input type="radio" class="restrictFilterInput_vf" value="restrict" name="text{$.id}viewFilterType" checked/>{{$.lp.asDefaultFilter}}<br>-->
  180. <!-- <input type="radio" class="customFilterInput_vf" value="custom" name="text{$.id}viewFilterType"/>{{$.lp.asCustomFilter}}-->
  181. <!-- </td>-->
  182. <!-- </tr>-->
  183. <!-- </table>-->
  184. <!-- <table id="text{$.pid}viewFilterRestrict" width="100%" border="0" cellpadding="5" cellspacing="0" class="editTable">-->
  185. <!-- <tr>-->
  186. <!-- <td class="editTableTitle">{{$.lp.logic}}:</td>-->
  187. <!-- <td class="editTableValue"><select class="logicInput_vf">-->
  188. <!-- <option selected value="and">{{$.lp.and}}</option>-->
  189. <!-- <option value="or">{{$.lp.or}}</option>-->
  190. <!-- </select></td>-->
  191. <!-- </tr>-->
  192. <!-- <tr>-->
  193. <!-- <td class="editTableTitle">{{$.lp.compare}}:</td>-->
  194. <!-- <td class="editTableValue"><select class="comparisonInput_vf">-->
  195. <!-- <option value="equals" selected>{{$.lp.equals}}(==)</option>-->
  196. <!-- <option value="notEquals">{{$.lp.notEquals}}(!=)</option>-->
  197. <!-- <option value="greaterThan">{{$.lp.greaterThan}}(>)</option>-->
  198. <!-- <option value="greaterThanOrEqualTo">{{$.lp.greaterThanOrEqualTo}}(>=)</option>-->
  199. <!-- <option value="lessThan">{{$.lp.lessThan}}(<)</option>-->
  200. <!-- <option value="lessThanOrEqualTo">{{$.lp.lessThanOrEqualTo}}(<=)</option>-->
  201. <!-- <option value="like">{{$.lp.like}}(like)</option>-->
  202. <!-- <option value="notLike">{{$.lp.notLike}}(not-like)</option>-->
  203. <!-- &lt;!&ndash; <option value="range">{{$.lp.range}}(range)</option>&ndash;&gt;-->
  204. <!-- <option value="in">{{$.lp.in}}(in)</option>-->
  205. <!-- </select></td>-->
  206. <!-- </tr>-->
  207. <!-- <tr style="display:none">-->
  208. <!-- <td class="editTableTitle">{{$.lp.value}}:</td>-->
  209. <!-- <td class="editTableValue">-->
  210. <!-- <input type="text" class="editTableInput valueTextInput_vf" style="display: block"/>-->
  211. <!-- <input type="number" class="editTableInput valueNumberInput_vf" style="display: none"/>-->
  212. <!-- <input type="text" class="editTableInput valueDatetimeInput_vf" style="display: none" readonly/>-->
  213. <!-- <input type="text" class="editTableInput valueDateInput_vf" style="display: none" readonly/>-->
  214. <!-- <input type="text" class="editTableInput valueTimeInput_vf" style="display: none" readonly/>-->
  215. <!-- <select class="valueBooleanInput_vf" style="display: none">-->
  216. <!-- <option value="true" selected>{{$.lp.true}}(True)</option>-->
  217. <!-- <option value="false">{{$.lp.false}}(False)</option>-->
  218. <!-- </select>-->
  219. <!-- <div class="multiValueNotice_vf" style="display: none;color: #999;line-height: 24px;">{{$.lp.filterValueInfo}}</div>-->
  220. <!-- </td>-->
  221. <!-- </tr>-->
  222. <!-- </table>-->
  223. <!-- <div title="{{$.lp.value}}" class="MWFFilterFormulaArea"></div>-->
  224. <!-- </div>-->
  225. <!-- <div class="actionAreaNode_vf"></div>-->
  226. <!-- <div style="height: 20px; line-height: 20px; text-align:center; background-color: #eeeeee">{{$.lp.defaultFilter}}</div>-->
  227. <!-- <div class="listAreaNode_vf" style="min-height: 56px; border-bottom:1px solid #CCCCCC; overflow: hidden;"></div>-->
  228. <!-- <div style="display:none; height: 20px; line-height: 20px; text-align:center; background-color: #eeeeee">{{$.lp.customFilter}}</div>-->
  229. <!-- <div class="fieldListAreaNode_vf" style="display:none; min-height: 56px; border-bottom:1px solid #CCCCCC; overflow: hidden;"></div>-->
  230. <!-- </div>-->
  231. </div>
  232. <div title="{{$.lp.event}}" class="MWFTab">
  233. <div class="MWFEventsArea" name="events"></div>
  234. </div>
  235. <div title="HTML" class="MWFTab">
  236. <div class="MWFHTMLArea" style="font-family: Verdana, Geneva, sans-serif; font-size:14px"></div>
  237. </div>
  238. <div title="JSON" class="MWFTab">
  239. <div class="MWFJSONArea" style="font-family: Verdana, Geneva, sans-serif; font-size:14px"></div>
  240. </div>
  241. </div>