選択できるのは25トピックまでです。 トピックは、先頭が英数字で、英数字とダッシュ('-')を使用した35文字以内のものにしてください。
 
 
 
 
 
 

110 行
2.4 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. },
  53. {
  54. title: wn._("Website Overall Settings"),
  55. icon: "icon-wrench",
  56. right: true,
  57. items: [
  58. {
  59. "route":"Form/Website Settings",
  60. "label":wn._("Website Settings"),
  61. "description":wn._("Setup of top navigation bar, footer and logo."),
  62. doctype:"Website Settings"
  63. },
  64. {
  65. "route":"Form/Style Settings",
  66. "label":wn._("Style Settings"),
  67. "description":wn._("Setup of fonts and background."),
  68. doctype:"Style Settings"
  69. },
  70. ]
  71. },
  72. {
  73. title: wn._("Special Page Settings"),
  74. icon: "icon-wrench",
  75. right: true,
  76. items: [
  77. {
  78. "route":"Form/About Us Settings",
  79. "label":wn._("About Us Settings"),
  80. "description":wn._("Settings for About Us Page."),
  81. doctype:"About Us Settings"
  82. },
  83. {
  84. "route":"Form/Contact Us Settings",
  85. "label":wn._("Contact Us Settings"),
  86. "description":wn._("Settings for Contact Us Page."),
  87. doctype:"Contact Us Settings"
  88. },
  89. ]
  90. },
  91. {
  92. title: wn._("Advanced Scripting"),
  93. icon: "icon-wrench",
  94. right: true,
  95. items: [
  96. {
  97. "route":"Form/Website Script",
  98. "label":wn._("Website Script"),
  99. "description":wn._("Javascript to append to the head section of the page."),
  100. doctype:"Website Script"
  101. },
  102. ]
  103. }
  104. ]
  105. pscript['onload_website-home'] = function(wrapper) {
  106. wn.views.moduleview.make(wrapper, "Website");
  107. }