log.html 17 KB

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