2013-08-05 14:59:54 +05:30
|
|
|
// Copyright (c) 2013, Web Notes Technologies Pvt. Ltd.
|
|
|
|
// License: GNU General Public License v3. See license.txt"
|
2013-01-09 16:39:27 +05:30
|
|
|
|
|
|
|
wn.module_page["Website"] = [
|
|
|
|
{
|
|
|
|
title: wn._("Web Content"),
|
|
|
|
icon: "icon-copy",
|
2013-07-01 17:15:23 +05:30
|
|
|
top: true,
|
2013-01-09 16:39:27 +05:30
|
|
|
items: [
|
|
|
|
{
|
|
|
|
label: wn._("Web Page"),
|
|
|
|
description: wn._("Content web page."),
|
|
|
|
doctype:"Web Page"
|
|
|
|
},
|
|
|
|
{
|
2013-07-01 17:15:23 +05:30
|
|
|
label: wn._("Blog Post"),
|
|
|
|
description: wn._("Single Post (article)."),
|
|
|
|
doctype:"Blog Post"
|
2013-01-09 16:39:27 +05:30
|
|
|
},
|
2013-03-08 10:44:25 +05:30
|
|
|
]
|
|
|
|
},
|
|
|
|
{
|
2013-07-01 17:15:23 +05:30
|
|
|
title: wn._("Documents"),
|
2013-03-08 10:44:25 +05:30
|
|
|
icon: "icon-edit",
|
|
|
|
items: [
|
|
|
|
{
|
2013-07-01 17:15:23 +05:30
|
|
|
label: wn._("Website Slideshow"),
|
|
|
|
description: wn._("Embed image slideshows in website pages."),
|
|
|
|
doctype:"Website Slideshow"
|
2013-03-08 10:44:25 +05:30
|
|
|
},
|
2013-03-07 18:51:10 +05:30
|
|
|
{
|
|
|
|
label: wn._("Blogger"),
|
|
|
|
description: wn._("Profile of a blog writer."),
|
|
|
|
doctype:"Blogger"
|
|
|
|
},
|
2013-03-08 10:44:25 +05:30
|
|
|
{
|
|
|
|
label: wn._("Blog Category"),
|
|
|
|
description: wn._("Categorize blog posts."),
|
2013-03-11 15:20:06 +05:30
|
|
|
doctype:"Blog Category"
|
2013-03-08 10:44:25 +05:30
|
|
|
},
|
2013-03-11 17:57:57 +05:30
|
|
|
{
|
|
|
|
label: wn._("Blog Settings"),
|
|
|
|
description: wn._("Write titles and introductions to your blog."),
|
|
|
|
doctype:"Blog Settings",
|
|
|
|
route: "Form/Blog Settings"
|
|
|
|
},
|
2013-01-09 16:39:27 +05:30
|
|
|
]
|
|
|
|
},
|
2013-03-08 10:44:25 +05:30
|
|
|
|
2013-01-09 16:39:27 +05:30
|
|
|
{
|
|
|
|
title: wn._("Website Overall Settings"),
|
|
|
|
icon: "icon-wrench",
|
|
|
|
right: true,
|
|
|
|
items: [
|
|
|
|
{
|
|
|
|
"route":"Form/Website Settings",
|
|
|
|
"label":wn._("Website Settings"),
|
|
|
|
"description":wn._("Setup of top navigation bar, footer and logo."),
|
|
|
|
doctype:"Website Settings"
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"route":"Form/Style Settings",
|
|
|
|
"label":wn._("Style Settings"),
|
|
|
|
"description":wn._("Setup of fonts and background."),
|
|
|
|
doctype:"Style Settings"
|
|
|
|
},
|
2013-06-19 17:19:20 +05:30
|
|
|
{
|
|
|
|
"route":"Form/Shopping Cart Settings",
|
|
|
|
"label":wn._("Shopping Cart Settings"),
|
|
|
|
"description":wn._("Setup of Shopping Cart."),
|
|
|
|
doctype:"Shopping Cart Settings"
|
|
|
|
},
|
2013-01-09 16:39:27 +05:30
|
|
|
]
|
|
|
|
},
|
|
|
|
{
|
|
|
|
title: wn._("Special Page Settings"),
|
|
|
|
icon: "icon-wrench",
|
2013-03-11 13:53:56 +05:30
|
|
|
right: true,
|
2013-01-09 16:39:27 +05:30
|
|
|
items: [
|
|
|
|
{
|
|
|
|
"route":"Form/About Us Settings",
|
|
|
|
"label":wn._("About Us Settings"),
|
|
|
|
"description":wn._("Settings for About Us Page."),
|
|
|
|
doctype:"About Us Settings"
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"route":"Form/Contact Us Settings",
|
|
|
|
"label":wn._("Contact Us Settings"),
|
|
|
|
"description":wn._("Settings for Contact Us Page."),
|
|
|
|
doctype:"Contact Us Settings"
|
|
|
|
},
|
|
|
|
]
|
|
|
|
},
|
|
|
|
{
|
|
|
|
title: wn._("Advanced Scripting"),
|
|
|
|
icon: "icon-wrench",
|
2013-04-02 10:41:37 +05:30
|
|
|
right: true,
|
2013-01-09 16:39:27 +05:30
|
|
|
items: [
|
|
|
|
{
|
|
|
|
"route":"Form/Website Script",
|
|
|
|
"label":wn._("Website Script"),
|
|
|
|
"description":wn._("Javascript to append to the head section of the page."),
|
|
|
|
doctype:"Website Script"
|
|
|
|
},
|
|
|
|
]
|
|
|
|
}
|
|
|
|
]
|
2012-02-23 12:35:32 +05:30
|
|
|
|
2012-02-21 19:03:50 +05:30
|
|
|
pscript['onload_website-home'] = function(wrapper) {
|
2013-01-09 16:39:27 +05:30
|
|
|
wn.views.moduleview.make(wrapper, "Website");
|
2012-02-21 19:03:50 +05:30
|
|
|
}
|