website updates and fix to sessions

This commit is contained in:
Rushabh Mehta
2012-12-19 10:14:59 +05:30
parent fff3eb4142
commit e109fa4fb8
21 changed files with 403 additions and 525 deletions

View File

@@ -1,256 +1,217 @@
# DocType, Website Settings
[
# These values are common in all dictionaries
{
'creation': '2012-05-21 15:54:09',
'docstatus': 0,
'modified': '2012-07-09 16:20:58',
'modified_by': u'Administrator',
'owner': u'Administrator'
},
# These values are common for all DocType
{
'_last_update': u'1329115882',
'allow_attach': 1,
'colour': u'White:FFF',
'doctype': 'DocType',
'document_type': u'Other',
'issingle': 1,
'max_attachments': 10,
'module': u'Website',
'name': '__common__',
'section_style': u'Simple',
'show_in_menu': 0,
'version': 1
},
# These values are common for all DocField
{
'doctype': u'DocField',
'name': '__common__',
'parent': u'Website Settings',
'parentfield': u'fields',
'parenttype': u'DocType'
},
# These values are common for all DocPerm
{
'doctype': u'DocPerm',
'name': '__common__',
'parent': u'Website Settings',
'parentfield': u'permissions',
'parenttype': u'DocType',
'read': 1
},
# DocType, Website Settings
{
'doctype': 'DocType',
'name': u'Website Settings'
},
# DocPerm
{
'create': 1,
'doctype': u'DocPerm',
'permlevel': 0,
'role': u'System Manager',
'write': 1
},
# DocPerm
{
'create': 1,
'doctype': u'DocPerm',
'permlevel': 0,
'role': u'Website Manager',
'write': 1
},
# DocPerm
{
'doctype': u'DocPerm',
'permlevel': 1,
'role': u'All'
},
# DocField
{
'doctype': u'DocField',
'fieldname': u'top_bar',
'fieldtype': u'Section Break',
'label': u'Top Bar',
'permlevel': 0
},
# DocField
{
'colour': u'White:FFF',
'description': u'The name of your company / website as you want to appear on browser title bar. All pages will have this as the prefix to the title.',
'doctype': u'DocField',
'fieldname': u'title_prefix',
'fieldtype': u'Data',
'label': u'Title Prefix',
'permlevel': 0
},
# DocField
{
'colour': u'White:FFF',
'description': u'The "Web Page" that is the website home page',
'doctype': u'DocField',
'fieldname': u'home_page',
'fieldtype': u'Link',
'label': u'Home Page',
'options': u'Web Page',
'permlevel': 0,
'reqd': 1
},
# DocField
{
'doctype': u'DocField',
'fieldname': u'default_product_category',
'fieldtype': u'Link',
'label': u'Default Product Category',
'options': u'Item Group',
'permlevel': 0
},
# DocField
{
'colour': u'White:FFF',
'description': u'Brand is what appears on the top-right of the toolbar. If it is an image, make sure it\nhas a transparent background and use the <img /> tag',
'doctype': u'DocField',
'fieldname': u'brand_html',
'fieldtype': u'Text',
'label': u'Brand HTML',
'permlevel': 0
},
# DocField
{
'doctype': u'DocField',
'fieldname': u'top_bar_items',
'fieldtype': u'Table',
'label': u'Top Bar Items',
'options': u'Top Bar Item',
'permlevel': 0
},
# DocField
{
'doctype': u'DocField',
'fieldname': u'footer',
'fieldtype': u'Section Break',
'label': u'Footer',
'permlevel': 0
},
# DocField
{
'doctype': u'DocField',
'fieldname': u'address',
'fieldtype': u'Text',
'label': u'Address',
'permlevel': 0
},
# DocField
{
'doctype': u'DocField',
'fieldname': u'copyright',
'fieldtype': u'Data',
'label': u'Copyright',
'permlevel': 0
},
# DocField
{
'doctype': u'DocField',
'fieldname': u'footer_items',
'fieldtype': u'Table',
'label': u'Footer Items',
'options': u'Top Bar Item',
'permlevel': 0
},
# DocField
{
'doctype': u'DocField',
'fieldname': u'misc_section',
'fieldtype': u'Section Break',
'label': u'Misc',
'permlevel': 0
},
# DocField
{
'colour': u'White:FFF',
'description': u'An icon file with .ico extension. Should be 16 x 16 px. Generated using a favicon generator. [<a href="http://favicon-generator.org/" target="_blank">favicon-generator.org</a>]',
'doctype': u'DocField',
'fieldname': u'favicon',
'fieldtype': u'Select',
'label': u'FavIcon',
'options': u'attach_files:',
'permlevel': 0
},
# DocField
{
'description': u'Sub-domain provided by erpnext.com',
'doctype': u'DocField',
'fieldname': u'subdomain',
'fieldtype': u'Text',
'label': u'Subdomain',
'permlevel': 1,
'reqd': 0
},
# DocField
{
'description': u'Enter domain names associated to this website, each on a new line',
'doctype': u'DocField',
'fieldname': u'domain_list',
'fieldtype': u'Text',
'hidden': 1,
'label': u'Domain List',
'permlevel': 0,
'reqd': 0
},
# DocField
{
'doctype': u'DocField',
'fieldname': u'file_list',
'fieldtype': u'Text',
'hidden': 1,
'label': u'File List',
'no_copy': 1,
'permlevel': 0,
'print_hide': 1
},
# DocField
{
'doctype': u'DocField',
'fieldname': u'analytics',
'fieldtype': u'Section Break',
'label': u'Startup',
'permlevel': 0
},
# DocField
{
'colour': u'White:FFF',
'description': u'Bind events on startup and page change',
'doctype': u'DocField',
'fieldname': u'startup_code',
'fieldtype': u'Code',
'label': u'Startup Code',
'options': u'Javascript',
'permlevel': 0
}
{
"owner": "Administrator",
"docstatus": 0,
"creation": "2012-07-12 23:29:36",
"modified_by": "Administrator",
"modified": "2012-12-18 16:15:43"
},
{
"issingle": 1,
"allow_attach": 1,
"doctype": "DocType",
"module": "Website",
"max_attachments": 10,
"document_type": "Other",
"name": "__common__"
},
{
"name": "__common__",
"parent": "Website Settings",
"doctype": "DocField",
"parenttype": "DocType",
"parentfield": "fields"
},
{
"name": "__common__",
"parent": "Website Settings",
"read": 1,
"doctype": "DocPerm",
"parenttype": "DocType",
"parentfield": "permissions"
},
{
"name": "Website Settings",
"doctype": "DocType"
},
{
"doctype": "DocField",
"label": "Landing Page",
"fieldname": "sb0",
"fieldtype": "Section Break",
"permlevel": 0
},
{
"description": "The \"Web Page\" that is the website home page",
"doctype": "DocField",
"label": "Home Page",
"options": "Web Page",
"fieldname": "home_page",
"fieldtype": "Link",
"reqd": 1,
"permlevel": 0
},
{
"description": "The name of your company / website as you want to appear on browser title bar. All pages will have this as the prefix to the title.",
"doctype": "DocField",
"label": "Title Prefix",
"fieldname": "title_prefix",
"fieldtype": "Data",
"permlevel": 0
},
{
"doctype": "DocField",
"fieldname": "cb4",
"fieldtype": "Column Break",
"permlevel": 0
},
{
"description": "Only Items / Groups under this Groups will be shown on the website. This will also represent the \"Products\" Home Page.",
"doctype": "DocField",
"label": "Default Product Category",
"options": "Item Group",
"fieldname": "default_product_category",
"fieldtype": "Link",
"permlevel": 0
},
{
"description": "If checked, the Home page will be the default Item Group for the website.",
"doctype": "DocField",
"label": "Home Page is Products",
"fieldname": "home_page_is_products",
"fieldtype": "Check",
"permlevel": 0
},
{
"doctype": "DocField",
"label": "Top Bar",
"fieldname": "top_bar",
"fieldtype": "Section Break",
"permlevel": 0
},
{
"description": "Brand is what appears on the top-right of the toolbar. If it is an image, make sure it\nhas a transparent background and use the &lt;img /&gt; tag. Keep size as 200px x 30px",
"doctype": "DocField",
"label": "Brand HTML",
"fieldname": "brand_html",
"fieldtype": "Text",
"permlevel": 0
},
{
"doctype": "DocField",
"label": "Top Bar Items",
"options": "Top Bar Item",
"fieldname": "top_bar_items",
"fieldtype": "Table",
"permlevel": 0
},
{
"doctype": "DocField",
"label": "Footer",
"fieldname": "footer",
"fieldtype": "Section Break",
"permlevel": 0
},
{
"doctype": "DocField",
"label": "Address",
"fieldname": "address",
"fieldtype": "Text",
"permlevel": 0
},
{
"doctype": "DocField",
"label": "Copyright",
"fieldname": "copyright",
"fieldtype": "Data",
"permlevel": 0
},
{
"doctype": "DocField",
"label": "Footer Items",
"options": "Top Bar Item",
"fieldname": "footer_items",
"fieldtype": "Table",
"permlevel": 0
},
{
"doctype": "DocField",
"label": "Misc",
"fieldname": "misc_section",
"fieldtype": "Section Break",
"permlevel": 0
},
{
"description": "An icon file with .ico extension. Should be 16 x 16 px. Generated using a favicon generator. [<a href=\"http://favicon-generator.org/\" target=\"_blank\">favicon-generator.org</a>]",
"doctype": "DocField",
"label": "FavIcon",
"options": "attach_files:",
"fieldname": "favicon",
"fieldtype": "Select",
"permlevel": 0
},
{
"description": "Sub-domain provided by erpnext.com",
"doctype": "DocField",
"label": "Subdomain",
"fieldname": "subdomain",
"fieldtype": "Text",
"reqd": 0,
"permlevel": 1
},
{
"description": "Enter domain names associated to this website, each on a new line",
"doctype": "DocField",
"label": "Domain List",
"fieldname": "domain_list",
"fieldtype": "Text",
"reqd": 0,
"hidden": 1,
"permlevel": 0
},
{
"print_hide": 1,
"no_copy": 1,
"doctype": "DocField",
"label": "File List",
"fieldname": "file_list",
"fieldtype": "Text",
"hidden": 1,
"permlevel": 0
},
{
"doctype": "DocField",
"label": "Startup",
"fieldname": "analytics",
"fieldtype": "Section Break",
"permlevel": 0
},
{
"description": "Bind events on startup and page change",
"doctype": "DocField",
"label": "Startup Code",
"options": "Javascript",
"fieldname": "startup_code",
"fieldtype": "Code",
"permlevel": 0
},
{
"create": 1,
"doctype": "DocPerm",
"write": 1,
"role": "System Manager",
"permlevel": 0
},
{
"create": 1,
"doctype": "DocPerm",
"write": 1,
"role": "Website Manager",
"permlevel": 0
},
{
"doctype": "DocPerm",
"role": "All",
"permlevel": 1
}
]