Вы не можете выбрать более 25 тем Темы должны начинаться с буквы или цифры, могут содержать дефисы(-) и должны содержать не более 35 символов.
 
 
 
 
 
 

115 строки
2.6 KiB

  1. // Copyright (c) 2013, Web Notes Technologies Pvt. Ltd. and Contributors
  2. // MIT License. See license.txt"
  3. wn.module_page["Website"] = [
  4. {
  5. title: wn._("Web Content"),
  6. icon: "icon-copy",
  7. top: true,
  8. items: [
  9. {
  10. label: wn._("Web Page"),
  11. description: wn._("Content web page."),
  12. doctype:"Web Page"
  13. },
  14. {
  15. label: wn._("Website Group"),
  16. description: wn._("Web Site Forum Page."),
  17. doctype:"Website Group"
  18. },
  19. {
  20. label: wn._("Blog Post"),
  21. description: wn._("Single Post (article)."),
  22. doctype:"Blog Post"
  23. },
  24. ]
  25. },
  26. {
  27. title: wn._("Documents"),
  28. icon: "icon-edit",
  29. items: [
  30. {
  31. label: wn._("Website Slideshow"),
  32. description: wn._("Embed image slideshows in website pages."),
  33. doctype:"Website Slideshow"
  34. },
  35. {
  36. label: wn._("Blogger"),
  37. description: wn._("Profile of a blog writer."),
  38. doctype:"Blogger"
  39. },
  40. {
  41. label: wn._("Blog Category"),
  42. description: wn._("Categorize blog posts."),
  43. doctype:"Blog Category"
  44. },
  45. {
  46. label: wn._("Blog Settings"),
  47. description: wn._("Write titles and introductions to your blog."),
  48. doctype:"Blog Settings",
  49. route: "Form/Blog Settings"
  50. },
  51. {
  52. label: wn._("Website Page Permission"),
  53. description: wn._("Define read, write, admin permissions for a Website Page."),
  54. doctype:"Website Sitemap Permission",
  55. },
  56. ]
  57. },
  58. {
  59. title: wn._("Website Overall Settings"),
  60. icon: "icon-wrench",
  61. right: true,
  62. items: [
  63. {
  64. "route":"Form/Website Settings",
  65. "label":wn._("Website Settings"),
  66. "description":wn._("Setup of top navigation bar, footer and logo."),
  67. doctype:"Website Settings"
  68. },
  69. {
  70. "route":"Form/Style Settings",
  71. "label":wn._("Style Settings"),
  72. "description":wn._("Setup of fonts and background."),
  73. doctype:"Style Settings"
  74. },
  75. ]
  76. },
  77. {
  78. title: wn._("Special Page Settings"),
  79. icon: "icon-wrench",
  80. right: true,
  81. items: [
  82. {
  83. "route":"Form/About Us Settings",
  84. "label":wn._("About Us Settings"),
  85. "description":wn._("Settings for About Us Page."),
  86. doctype:"About Us Settings"
  87. },
  88. {
  89. "route":"Form/Contact Us Settings",
  90. "label":wn._("Contact Us Settings"),
  91. "description":wn._("Settings for Contact Us Page."),
  92. doctype:"Contact Us Settings"
  93. },
  94. ]
  95. },
  96. {
  97. title: wn._("Advanced Scripting"),
  98. icon: "icon-wrench",
  99. right: true,
  100. items: [
  101. {
  102. "route":"Form/Website Script",
  103. "label":wn._("Website Script"),
  104. "description":wn._("Javascript to append to the head section of the page."),
  105. doctype:"Website Script"
  106. },
  107. ]
  108. }
  109. ]
  110. pscript['onload_website-home'] = function(wrapper) {
  111. wn.views.moduleview.make(wrapper, "Website");
  112. }