toolbars.json 3.8 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157
  1. [
  2. {
  3. "type": "MWFToolBarButton",
  4. "img": "close.png",
  5. "img_over": "close_over.png",
  6. "title": "{{$.lp.closeTitle}}",
  7. "action": "closeDocument",
  8. "text": "{{$.lp.close}}",
  9. "id": "action_close",
  10. "icon": "close",
  11. "read": true,
  12. "edit" : true
  13. },
  14. {
  15. "type": "MWFToolBarButton",
  16. "img": "edit.png",
  17. "img_over": "edit_over.png",
  18. "title": "{{$.lp.editTitle}}",
  19. "action": "editDocument",
  20. "id": "action_edit",
  21. "text": "{{$.lp.edit}}",
  22. "control": "allowEditDocument",
  23. "icon": "edit",
  24. "read": true,
  25. "edit" : false
  26. },
  27. {
  28. "type": "MWFToolBarButton",
  29. "img": "save.png",
  30. "img_over": "save_over.png",
  31. "title": "{{$.lp.saveTitle}}",
  32. "action": "saveDocument",
  33. "text": "{{$.lp.save}}",
  34. "id": "action_saveData",
  35. "control": "allowSave",
  36. "icon": "save",
  37. "read": false,
  38. "edit" : true
  39. },
  40. {
  41. "type": "MWFToolBarButton",
  42. "img": "submit.png",
  43. "img_over": "submit_over.png",
  44. "title": "{{$.lp.publishTitle}}",
  45. "action": "publishDocument",
  46. "text": "{{$.lp.publish}}",
  47. "id": "action_publishDocument",
  48. "control": "allowPublishDocument",
  49. "icon": "publish",
  50. "read": false,
  51. "edit" : true
  52. },
  53. {
  54. "type": "MWFToolBarButton",
  55. "img": "submitDelayed.png",
  56. "img_over": "submitDelayed_over.png",
  57. "title": "{{$.lp.publishDelayedTitle}}",
  58. "action": "publishDocumentDelayed",
  59. "text": "{{$.lp.publishDelayed}}",
  60. "id": "action_publishDocumentDelayed",
  61. "control": "allowPublishDocumentDelayed",
  62. "icon": "clock",
  63. "read": false,
  64. "edit" : true
  65. },
  66. {
  67. "type": "MWFToolBarButton",
  68. "img": "save.png",
  69. "img_over": "save_over.png",
  70. "title": "{{$.lp.saveDraftTitle}}",
  71. "action": "saveDraftDocument",
  72. "text": "{{$.lp.saveDraft}}",
  73. "id": "action_saveDraftDocument",
  74. "control": "allowPublishDocument",
  75. "icon": "save",
  76. "read": false,
  77. "edit" : true
  78. },
  79. {
  80. "type": "MWFToolBarButton",
  81. "img": "popular.png",
  82. "img_over": "popular_over.png",
  83. "title": "{{$.lp.popularTitle}}",
  84. "action": "setPopularDocument",
  85. "id": "action_popular",
  86. "text": "{{$.lp.popular}}",
  87. "control": "allowPopularDocument",
  88. "icon": "hot-article",
  89. "read": true,
  90. "edit" : true
  91. },
  92. {
  93. "type": "MWFToolBarButton",
  94. "img": "del.png",
  95. "img_over": "del_over.png",
  96. "title": "{{$.lp.deleteTitle}}",
  97. "action": "deleteDocument",
  98. "text": "{{$.lp.delete}}",
  99. "id": "action_delete",
  100. "control": "allowDeleteDocument",
  101. "icon": "delete",
  102. "read": true,
  103. "edit" : true
  104. },
  105. {
  106. "type": "MWFToolBarButton",
  107. "img": "print.png",
  108. "img_over": "print_over.png",
  109. "title": "{{$.lp.printTitle}}",
  110. "action": "printDocument",
  111. "text": "{{$.lp.print}}",
  112. "id": "action_print",
  113. "icon": "print",
  114. "read": true,
  115. "edit" : true
  116. },
  117. {
  118. "type": "MWFToolBarButton",
  119. "img": "top.png",
  120. "img_over": "top_over.png",
  121. "title": "{{$.lp.setTopTitle}}",
  122. "action": "setTop",
  123. "text": "{{$.lp.setTop}}",
  124. "id": "action_setTop",
  125. "icon": "update",
  126. "read": true,
  127. "edit" : true,
  128. "control": "allowSetTop"
  129. },
  130. {
  131. "type": "MWFToolBarButton",
  132. "img": "topcancel.png",
  133. "img_over": "topcancel_over.png",
  134. "title": "{{$.lp.cancelTopTitle}}",
  135. "action": "cancelTop",
  136. "text": "{{$.lp.cancelTop}}",
  137. "id": "action_cancelTop",
  138. "icon": "process-cancel",
  139. "read": true,
  140. "edit" : true,
  141. "control": "allowCancelTop"
  142. },
  143. {
  144. "type": "MWFToolBarButton",
  145. "img": "downloadAll.png",
  146. "img_over": "downloadAll_over.png",
  147. "title": "{{$.lp.downloadAllTitle}}",
  148. "action": "downloadAll",
  149. "text": "{{$.lp.downloadAll}}",
  150. "id": "action_downloadAll",
  151. "control": "",
  152. "condition": "",
  153. "icon": "file_download",
  154. "read": true,
  155. "edit" : true
  156. }
  157. ]