OOLog.html 17 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288
  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">Class:</td>-->
  18. <!-- <td class="editTableValue"><input type="text" name="description" value="text{$.description}" class="editTableInput"/></td>-->
  19. <!-- </tr>-->
  20. </table>
  21. <div class="MWFMaplist" name="styles" title="{{$.lp.style}}"></div>
  22. <div class="MWFMaplist" name="properties" title="{{$.lp.attribute}}"></div>
  23. <table width="100%" border="0" cellpadding="5" cellspacing="0" class="editTable">
  24. <tr>
  25. <td class="editTableTitle">{{$.lp.style}}:</td>
  26. <td class="editTableValue">
  27. <input class="editTableRadio" onclick="if (this.checked){
  28. $('text{$.pid}labelTextStyleValue').setStyle('display', 'block');
  29. $('text{$.pid}handwritingSize').setStyle('display', '');
  30. }" name="mode" text{($.mode=='default')?'checked':''} type="radio" value="default"/>{{$.lp.default}}
  31. <input class="editTableRadio" onclick="if (this.checked){
  32. $('text{$.pid}labelTextStyleValue').setStyle('display', 'block');
  33. $('text{$.pid}handwritingSize').setStyle('display', 'none');
  34. }" name="mode" text{($.mode=='text')?'checked':''} type="radio" value="text"/>{{$.lp.text}}
  35. <input class="editTableRadio" onclick="if (this.checked){
  36. $('text{$.pid}labelTextStyleValue').setStyle('display', 'none');
  37. $('text{$.pid}handwritingSize').setStyle('display', '');
  38. }" name="mode" text{($.mode=='table')?'checked':''} type="radio" value="table"/>{{$.lp.recordTable}}<br>
  39. <input class="editTableRadio" onclick="if (this.checked){
  40. $('text{$.pid}labelTextStyleValue').setStyle('display', 'none');
  41. $('text{$.pid}handwritingSize').setStyle('display', '');
  42. }" name="mode" text{($.mode=='media')?'checked':''} type="radio" value="media"/>{{$.lp.recordMedia}}
  43. </td>
  44. </tr>
  45. </table>
  46. <table id="text{$.pid}handwritingSize" style=""
  47. width="100%" border="0" cellpadding="5" cellspacing="0" class="editTable">
  48. <tr>
  49. <td class="editTableValue"><b>{{$.lp.expandHandwritten}}:</b>
  50. <input class="editTableRadio" name="handwritingExpanded" text{($.handwritingExpanded)?'checked':''} type="radio" value="true"/>{{$.lp.yes}}
  51. <input class="editTableRadio" name="handwritingExpanded" text{(!$.handwritingExpanded)?'checked':''} type="radio" value="false"/>{{$.lp.no}}
  52. </td>
  53. </tr>
  54. <tr>
  55. <td class="editTableValue"><b>{{$.lp.handwrittenWidth}}:</b>
  56. <input type="text" name="handwritingWidth" value="text{$.handwritingWidth}" class="editTableInputNoWidth" style="width: 50px;;margin-right:5px;" />px
  57. <span>&nbsp;&nbsp;&nbsp;&nbsp;{{$.lp.validOnPcSide}}</span>
  58. </td>
  59. </tr>
  60. <tr>
  61. <td class="editTableValue"><b>{{$.lp.handwrittenHeight}}:</b>
  62. <input type="text" name="handwritingHeight" value="text{$.handwritingHeight}" class="editTableInputNoWidth" style="width: 50px;;margin-right:5px;" />px
  63. <span>&nbsp;&nbsp;&nbsp;&nbsp;{{$.lp.validOnPcSide}}</span>
  64. </td>
  65. </tr>
  66. </table>
  67. <!-- <div id="text{$.pid}labelTextStyleValue" title="{{$.lp.logFormat}}" style="display: text{( !$.mode || ($.mode=='text') || ($.mode=='default')) ?'block':'none'}">-->
  68. <!--&lt;!&ndash; <div style="text-align:center; line-height:20px; height: 20px; background: #f0f0f0; border-top: 1px solid #cccccc">{{$.lp.logFormat}}</div>&ndash;&gt;-->
  69. <!--&lt;!&ndash; <textarea name="textStyle" class="editTableTextarea">text{$.textStyle}</textarea>&ndash;&gt;-->
  70. <!-- <div class="MWFHtmlEditorArea" name="textStyle" title="{{$.lp.logFormat}} (H)"></div>-->
  71. <!-- <div class="MWFScriptArea" name="textStyleScript" title="{{$.lp.logFormatScript}} (S)" collapse="true"></div>-->
  72. <!-- </div>-->
  73. <table width="100%" border="0" cellpadding="5" cellspacing="0" class="editTable">
  74. <tr>
  75. <td class="editTableTitle">{{$.lp.currentPerson}}:</td>
  76. <td class="editTableValue">
  77. <input class="editTableRadio" name="isTask" text{($.isTask)?'checked':''} type="radio" value="true"/>{{$.lp.show}}
  78. <input class="editTableRadio" name="isTask" text{(!$.isTask)?'checked':''} type="radio" value="false"/>{{$.lp.hide}}
  79. </td>
  80. </tr>
  81. </table>
  82. <table width="100%" border="0" cellpadding="5" cellspacing="0" class="editTable">
  83. <tr>
  84. <td class="editTableTitle">{{$.lp.readReaded}}:</td>
  85. <td class="editTableValue">
  86. <input class="editTableRadio" name="isShowRead" text{($.isShowRead!==false)?'checked':''} type="radio" value="true"/>{{$.lp.show}}
  87. <input class="editTableRadio" name="isShowRead" text{($.isShowRead===false)?'checked':''} type="radio" value="false"/>{{$.lp.hide}}
  88. </td>
  89. </tr>
  90. <tr>
  91. <td class="editTableTitle">{{$.lp.readTitle}}:</td>
  92. <td class="editTableValue"><input type="text" name="showReadTitle" value="text{$.showReadTitle}" class="editTableInput"/></td>
  93. </tr>
  94. <tr>
  95. <td class="editTableTitle">{{$.lp.readedTitle}}:</td>
  96. <td class="editTableValue"><input type="text" name="showReadCompletedTitle" value="text{$.showReadCompletedTitle}" class="editTableInput"/></td>
  97. </tr>
  98. </table>
  99. </div>
  100. <div title="{{$.lp.filter}}" class="MWFTab">
  101. <div style="background-color:#EEE;">
  102. <div style="float:right;line-height:24px;height:24px;width: 80px;">
  103. <input type="checkbox" name="filterActivityExactMatch" value="yes"
  104. text{($.filterActivityExactMatch && $.filterActivityExactMatch.indexOf('yes')!=-1)?'checked':''}>{{$.lp.exactMatch}}
  105. </div>
  106. <div style="height:24px; line-height:24px; padding-left:10px; margin-right: 80px;">{{$.lp.filterActivity}}</div>
  107. </div>
  108. <div><textarea style="height:40px; width:98%; border:1px solid #DDD;" name="filterActivity">text{$.filterActivity}</textarea></div>
  109. <div style="background-color:#EEE;">
  110. <div style="float:right;line-height:24px;height:24px;width: 80px;">
  111. <input type="checkbox" name="filterActivityAliasExactMatch" value="yes"
  112. text{($.filterActivityAliasExactMatch && $.filterActivityAliasExactMatch.indexOf('yes')!=-1)?'checked':''}>{{$.lp.exactMatch}}
  113. </div>
  114. <div style="height:24px; line-height:24px; padding-left:10px; margin-right: 80px;">{{$.lp.filterActivityAlias}}</div>
  115. </div>
  116. <div><textarea style="height:40px; width:98%; border:1px solid #DDD;" name="filterActivityAlias">text{$.filterActivityAlias}</textarea></div>
  117. <div style="background-color:#EEE;">
  118. <div style="float:right;line-height:24px;height:24px;width: 80px;">
  119. <input type="checkbox" name="filterPersonExactMatch" value="yes"
  120. text{($.filterPersonExactMatch && $.filterPersonExactMatch.indexOf('yes')!=-1)?'checked':''}>{{$.lp.exactMatch}}
  121. </div>
  122. <div style="height:24px; line-height:24px; padding-left:10px; margin-right: 80px;">{{$.lp.filterPerson}}</div>
  123. </div>
  124. <div><textarea style="height: 40px; width:98%; border:1px solid #DDD;" name="filterPerson">text{$.filterPerson}</textarea></div>
  125. <div style="background-color:#EEE;">
  126. <div style="float:right;line-height:24px;height:24px;width: 80px;">
  127. <input type="checkbox" name="filterRouteExactMatch" value="yes"
  128. text{($.filterRouteExactMatch && $.filterRouteExactMatch.indexOf('yes')!=-1)?'checked':''}>{{$.lp.exactMatch}}
  129. </div>
  130. <div style="height:24px; line-height:24px; padding-left:10px; margin-right: 80px;">{{$.lp.filterRoute}}</div>
  131. </div>
  132. <div><textarea style="height: 40px; width:98%; border:1px solid #DDD;" name="filterRoute">text{$.filterRoute}</textarea></div>
  133. <div><div id="labelEditScriptValue" class="MWFScriptArea" name="filterScript" title="{{$.lp.filterScript}} (S)"></div></div>
  134. </div>
  135. <div title="{{$.lp.category}}" class="MWFTab">
  136. <table width="100%" border="0" cellpadding="5" cellspacing="0" class="editTable">
  137. <tr>
  138. <td class="editTableTitle">{{$.lp.category}}:</td>
  139. <td class="editTableValue">
  140. <input class="editTableRadio" name="category" text{(!$.category || $.category=='none')?'checked':''} type="radio" value="none" onclick="if (this.checked){
  141. $('text{$.pid}tableStyleArea').setStyle('display', 'none');
  142. $('text{$.pid}expandArea').setStyle('display', 'none');
  143. $('text{$.pid}sortInCategory').setStyle('display', 'none');
  144. $('text{$.pid}categoryByUnitLevelName').setStyle('display', 'none');
  145. }" />{{$.lp.none}}
  146. <input class="editTableRadio" name="category" text{( $.category=='activity')?'checked':''} type="radio" value="activity" onclick="if (this.checked){
  147. $('text{$.pid}tableStyleArea').setStyle('display', 'block');
  148. $('text{$.pid}expandArea').setStyle('display', 'block');
  149. $('text{$.pid}sortInCategory').setStyle('display', 'block');
  150. $('text{$.pid}categoryByUnitLevelName').setStyle('display', 'none');
  151. }"/>{{$.lp.activity}}
  152. <input class="editTableRadio" name="category" text{( $.category=='activityGroup')?'checked':''} type="radio" value="activityGroup" onclick="if (this.checked){
  153. $('text{$.pid}tableStyleArea').setStyle('display', 'block');
  154. $('text{$.pid}expandArea').setStyle('display', 'block');
  155. $('text{$.pid}sortInCategory').setStyle('display', 'block');
  156. $('text{$.pid}categoryByUnitLevelName').setStyle('display', 'none');
  157. }"/>{{$.lp.opinionGroup}}
  158. <input class="editTableRadio" name="category" text{( $.category=='unit')?'checked':''} type="radio" value="unit" onclick="if (this.checked){
  159. $('text{$.pid}tableStyleArea').setStyle('display', 'block');
  160. $('text{$.pid}expandArea').setStyle('display', 'block');
  161. $('text{$.pid}sortInCategory').setStyle('display', 'block');
  162. $('text{$.pid}categoryByUnitLevelName').setStyle('display', 'none');
  163. }"/>{{$.lp.unit}}
  164. <span id="text{$.pid}unitLevelNameArea" style="display: text{($.logType!=='worklog') ?'':'none'}">
  165. <input class="editTableRadio" name="category" text{( $.category=='unitLevelName')?'checked':''} type="radio" value="unitLevelName" onclick="if (this.checked){
  166. $('text{$.pid}tableStyleArea').setStyle('display', 'block');
  167. $('text{$.pid}expandArea').setStyle('display', 'block');
  168. $('text{$.pid}sortInCategory').setStyle('display', 'block');
  169. $('text{$.pid}categoryByUnitLevelName').setStyle('display', 'block');
  170. }"/>{{$.lp.unitLevelName}}
  171. </span>
  172. </td>
  173. </tr>
  174. </table>
  175. <div id="text{$.pid}categoryByUnitLevelName" style="display: text{($.logType!=='worklog' && $.category=='unitLevelName') ?'block':'none'}">
  176. <table width="100%" border="0" cellpadding="5" cellspacing="0" class="editTable">
  177. <tr>
  178. <td class="editTableTitle">{{$.lp.unitLevel}}:</td>
  179. <td class="editTableValue">
  180. <select name="unitLevel">
  181. <option text{($.unitLevel=='1' || !$.unitLevel )?'selected':''} value="1">1</option>
  182. <option text{($.unitLevel=='2')?'selected':''} value="2">2</option>
  183. <option text{($.unitLevel=='3')?'selected':''} value="3">3</option>
  184. <option text{($.unitLevel=='4')?'selected':''} value="4">4</option>
  185. <option text{($.unitLevel=='5')?'selected':''} value="5">5</option>
  186. <option text{($.unitLevel=='6')?'selected':''} value="6">6</option>
  187. <option text{($.unitLevel=='7')?'selected':''} value="7">7</option>
  188. <option text{($.unitLevel=='8')?'selected':''} value="8">8</option>
  189. <option text{($.unitLevel=='9')?'selected':''} value="9">9</option>
  190. <option text{($.unitLevel=='10')?'selected':''} value="10">10</option>
  191. </select>
  192. </td>
  193. </tr>
  194. </table>
  195. </div>
  196. <div id="text{$.pid}sortInCategory" title="分类内排序" style="display: text{($.category && $.category!='none') ?'block':'none'}">
  197. <table width="100%" border="0" cellpadding="5" cellspacing="0" class="editTable">
  198. <tr>
  199. <td class="editTableTitle">{{$.lp.sortInCategory}}:</td>
  200. <td class="editTableValue">
  201. <input class="editTableRadio" name="sortTypeInCategory" text{(!$.sortTypeInCategory || $.sortTypeInCategory=='default')?'checked':''} type="radio" value="default" onclick="if (this.checked){
  202. //$('text{$.pid}sortInCategoryScript').setStyle('display', 'none');
  203. }" />{{$.lp.sortByActivity}}
  204. <input class="editTableRadio" name="sortTypeInCategory" text{( $.sortTypeInCategory && $.sortTypeInCategory=='completedTimeAsc')?'checked':'' } type="radio" value="completedTimeAsc" onclick="if (this.checked){
  205. //$('text{$.pid}sortInCategoryScript').setStyle('display', 'none');
  206. }" />{{$.lp.sortByTimeAsc}}
  207. <input class="editTableRadio" name="sortTypeInCategory" text{( $.sortTypeInCategory && $.sortTypeInCategory=='completedTimeDesc')?'checked':''} type="radio" value="completedTimeDesc" onclick="if (this.checked){
  208. //$('text{$.pid}sortInCategoryScript').setStyle('display', 'none');
  209. }"/>{{$.lp.sortByTimeDesc}}
  210. <input class="editTableRadio" name="sortTypeInCategory" text{( $.sortTypeInCategory && $.sortTypeInCategory=='none')?'checked':''} type="radio" value="none" onclick="if (this.checked){
  211. //$('text{$.pid}sortInCategoryScript').setStyle('display', 'none');
  212. }"/>{{$.lp.noSort}}
  213. <!--<input class="editTableRadio" name="sortTypeInCategory" text{( $.sortTypeInCategory=='script')?'checked':''} type="radio" value="script" onclick="if (this.checked){-->
  214. <!--$('text{$.pid}sortInCategoryScript').setStyle('display', 'block');-->
  215. <!--}"/>脚本-->
  216. </td>
  217. </tr>
  218. </table>
  219. <!--<div class="MWFScriptArea" name="sortInCategoryScript" title="分类内排序脚本(S)" collapse="true" style="display: text{($.sortTypeInCategory && $.sortTypeInCategory=='script') ?'block':'none'}"></div>-->
  220. </div>
  221. <div title="{{$.lp.categoryTable}}" id="text{$.pid}tableStyleArea" style="display: text{($.category && $.category!=='none') ?'block':'none'}">
  222. <div class="MWFMaplist" name="tableProperties" collapse="true" title="{{$.lp.categoryTableAttr}}"></div>
  223. <div class="MWFMaplist" name="tableStyles" collapse="true" title="{{$.lp.categoryTableStyle}}"></div>
  224. <div class="MWFMaplist" name="titleTdStyles" collapse="true" title="{{$.lp.categoryTitleCellStyle}}"></div>
  225. <div class="MWFMaplist" name="contentTdStyles" collapse="true" title="{{$.lp.categoryContentCellStyle}}"></div>
  226. <div class="MWFMaplist" name="contentDivStyles" collapse="true" title="{{$.lp.categoryContentCellInnerStyle}}"></div>
  227. </div>
  228. <div title="{{$.lp.expandOrCollapse}}" id="text{$.pid}expandArea" style="display: text{($.category && $.category!=='none') ?'block':'none'}">
  229. <table width="100%" border="0" cellpadding="5" cellspacing="0" class="editTable">
  230. <tr>
  231. <td class="editTableTitle">{{$.lp.expandOrCollapse}}:</td>
  232. <td class="editTableValue">
  233. <input class="editTableRadio" name="expand" text{(!$.expand || $.expand=='disable')?'checked':''} type="radio" value="disable" onclick="if (this.checked){
  234. $('text{$.pid}expandStyleArea').setStyle('display', 'none');
  235. }" />{{$.lp.disabled}}
  236. <input class="editTableRadio" name="expand" text{( $.expand=='enable')?'checked':''} type="radio" value="enable" onclick="if (this.checked){
  237. $('text{$.pid}expandStyleArea').setStyle('display', 'block');
  238. }"/>{{$.lp.enabled}}
  239. </td>
  240. </tr>
  241. </table>
  242. <div title="{{$.lp.defaultExpandCount}}" id="text{$.pid}expandStyleArea" style="display: text{($.expand && $.expand=='enable') ?'block':'none'}">
  243. <table width="100%" border="0" cellpadding="5" cellspacing="0" class="editTable">
  244. <tr>
  245. <td class="editTableTitle">{{$.lp.defaultExpandCount}}:</td>
  246. <td class="editTableValue"><input type="text" name="expandCount" value="text{$.expandCount}" class="editTableInput"/></td>
  247. </td>
  248. </tr>
  249. <tr>
  250. <td class="editTableTitle">{{$.lp.expandHtml}}:</td>
  251. <td class="editTableValue"><textarea name="expandHTML" class="editTableTextarea">text{$.expandHTML}</textarea></td>
  252. </tr>
  253. <tr>
  254. <td class="editTableTitle">{{$.lp.collapseHtml}}:</td>
  255. <td class="editTableValue"><textarea name="collapseHTML" class="editTableTextarea">text{$.collapseHTML}</textarea></td>
  256. </tr>
  257. </table>
  258. </div>
  259. </div>
  260. </div>
  261. <div title="{{$.lp.event}}" class="MWFTab">
  262. <div class="MWFEventsArea" name="events"></div>
  263. </div>
  264. <div title="HTML" class="MWFTab">
  265. <div class="MWFHTMLArea" style="font-family: Verdana, Geneva, sans-serif; font-size:14px"></div>
  266. </div>
  267. <div title="JSON" class="MWFTab">
  268. <div class="MWFJSONArea" style="font-family: Verdana, Geneva, sans-serif; font-size:14px"></div>
  269. </div>
  270. </div>