You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
 
 

105 lines
2.3 KiB

  1. // Copyright (c) 2013, Web Notes Technologies Pvt. Ltd.
  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._("Blog Post"),
  16. description: wn._("Single Post (article)."),
  17. doctype:"Blog Post"
  18. },
  19. ]
  20. },
  21. {
  22. title: wn._("Documents"),
  23. icon: "icon-edit",
  24. items: [
  25. {
  26. label: wn._("Website Slideshow"),
  27. description: wn._("Embed image slideshows in website pages."),
  28. doctype:"Website Slideshow"
  29. },
  30. {
  31. label: wn._("Blogger"),
  32. description: wn._("Profile of a blog writer."),
  33. doctype:"Blogger"
  34. },
  35. {
  36. label: wn._("Blog Category"),
  37. description: wn._("Categorize blog posts."),
  38. doctype:"Blog Category"
  39. },
  40. {
  41. label: wn._("Blog Settings"),
  42. description: wn._("Write titles and introductions to your blog."),
  43. doctype:"Blog Settings",
  44. route: "Form/Blog Settings"
  45. },
  46. ]
  47. },
  48. {
  49. title: wn._("Website Overall Settings"),
  50. icon: "icon-wrench",
  51. right: true,
  52. items: [
  53. {
  54. "route":"Form/Website Settings",
  55. "label":wn._("Website Settings"),
  56. "description":wn._("Setup of top navigation bar, footer and logo."),
  57. doctype:"Website Settings"
  58. },
  59. {
  60. "route":"Form/Style Settings",
  61. "label":wn._("Style Settings"),
  62. "description":wn._("Setup of fonts and background."),
  63. doctype:"Style Settings"
  64. },
  65. ]
  66. },
  67. {
  68. title: wn._("Special Page Settings"),
  69. icon: "icon-wrench",
  70. right: true,
  71. items: [
  72. {
  73. "route":"Form/About Us Settings",
  74. "label":wn._("About Us Settings"),
  75. "description":wn._("Settings for About Us Page."),
  76. doctype:"About Us Settings"
  77. },
  78. {
  79. "route":"Form/Contact Us Settings",
  80. "label":wn._("Contact Us Settings"),
  81. "description":wn._("Settings for Contact Us Page."),
  82. doctype:"Contact Us Settings"
  83. },
  84. ]
  85. },
  86. {
  87. title: wn._("Advanced Scripting"),
  88. icon: "icon-wrench",
  89. right: true,
  90. items: [
  91. {
  92. "route":"Form/Website Script",
  93. "label":wn._("Website Script"),
  94. "description":wn._("Javascript to append to the head section of the page."),
  95. doctype:"Website Script"
  96. },
  97. ]
  98. }
  99. ]
  100. pscript['onload_website-home'] = function(wrapper) {
  101. wn.views.moduleview.make(wrapper, "Website");
  102. }