fixes to install, doctype

This commit is contained in:
Rushabh Mehta 2011-07-22 19:12:31 +05:30
parent 3ef10b4df9
commit 02ef25656d

View file

@ -72,15 +72,6 @@
'doctype': 'DocPerm' 'doctype': 'DocPerm'
}, },
# DocField
{
'doctype': 'DocField',
'fieldtype': 'Section Break',
'idx': 1,
'label': 'Page HTML',
'oldfieldtype': 'Section Break'
},
# DocField # DocField
{ {
'doctype': 'DocField', 'doctype': 'DocField',
@ -142,189 +133,5 @@
'oldfieldtype': 'Text Editor', 'oldfieldtype': 'Text Editor',
'reqd': 0, 'reqd': 0,
'search_index': 0 'search_index': 0
},
# DocField
{
'doctype': 'DocField',
'fieldtype': 'Section Break',
'idx': 7,
'label': 'Client Script',
'oldfieldtype': 'Section Break'
},
# DocField
{
'doctype': 'DocField',
'fieldname': 'script',
'fieldtype': 'Code',
'idx': 8,
'label': 'Script',
'oldfieldname': 'script',
'oldfieldtype': 'Code'
},
# DocField
{
'doctype': 'DocField',
'fieldtype': 'Section Break',
'idx': 9,
'label': 'Menu Display',
'oldfieldtype': 'Section Break'
},
# DocField
{
'doctype': 'DocField',
'fieldtype': 'Column Break',
'idx': 10,
'label': 'Roles that can access',
'oldfieldtype': 'Column Break',
'width': '50%'
},
# DocField
{
'doctype': 'DocField',
'fieldtype': 'Section Break',
'idx': 11,
'label': 'CSS Style',
'oldfieldtype': 'Section Break'
},
# DocField
{
'doctype': 'DocField',
'fieldname': 'style',
'fieldtype': 'Code',
'idx': 12,
'label': 'Style',
'oldfieldname': 'style',
'oldfieldtype': 'Code'
},
# DocField
{
'doctype': 'DocField',
'fieldtype': 'Section Break',
'idx': 13,
'label': 'Static HTML',
'oldfieldtype': 'Section Break'
},
# DocField
{
'doctype': 'DocField',
'fieldname': 'static_content',
'fieldtype': 'Code',
'idx': 14,
'label': 'Static Content',
'oldfieldname': 'static_content',
'oldfieldtype': 'Code'
},
# DocField
{
'doctype': 'DocField',
'fieldtype': 'Section Break',
'idx': 15,
'label': 'Permissions',
'oldfieldtype': 'Section Break'
},
# DocField
{
'doctype': 'DocField',
'fieldname': 'show_in_menu',
'fieldtype': 'Check',
'idx': 16,
'label': 'Show In Start',
'oldfieldname': 'show_in_menu',
'oldfieldtype': 'Check',
'trigger': 'Client'
},
# DocField
{
'doctype': 'DocField',
'fieldname': 'parent_node',
'fieldtype': 'Data',
'hidden': 1,
'idx': 17,
'label': 'Parent Node',
'oldfieldname': 'parent_node',
'oldfieldtype': 'Data'
},
# DocField
{
'doctype': 'DocField',
'fieldtype': 'HTML',
'hidden': 1,
'idx': 18,
'label': 'Parent HTML',
'oldfieldtype': 'HTML',
'options': '<div style="color: #888; padding: 4px; padding-bottom: 16px;">Write in the name of the parent (Page / DocType) under which you want this Page to appear in the Menu.</div>'
},
# DocField
{
'doctype': 'DocField',
'fieldname': 'icon',
'fieldtype': 'Select',
'hidden': 1,
'idx': 19,
'label': 'Icon',
'oldfieldname': 'icon',
'oldfieldtype': 'Select',
'options': '\naccept.png\nadd.png\napplication.png\nbell.png\nbox.png\ncalendar.png\ncalculator.png\ncancel.png\ncart.png\ncd.png\nchart_bar.png\nclock.png\ncoins.png\ncomputer.png\ncontroller.png\ndisk.png\nemail.png\nerror.png\nfolder.png\ngroup.png\nhouse.png\nimages.png\nlock_open.png\nlock.png\nlorry.png\nmagnifier.png\nmap.png\nmoney.png\nnew.png\npage.png\nprinter.png\nreport.png\nserver.png\nshield.png\ntable.png\nuser.png'
},
# DocField
{
'doctype': 'DocField',
'fieldname': 'menu_index',
'fieldtype': 'Int',
'hidden': 1,
'idx': 20,
'label': 'Menu Index',
'oldfieldname': 'menu_index',
'oldfieldtype': 'Int'
},
# DocField
{
'doctype': 'DocField',
'fieldtype': 'HTML',
'hidden': 1,
'idx': 21,
'label': 'Menu HTML',
'oldfieldtype': 'HTML',
'options': '<div style="color: #888; padding: 4px; padding-bottom: 16px;">Select the order in which this Page will be displayed in the menu: 0 is Highest</div>'
},
# DocField
{
'doctype': 'DocField',
'fieldname': 'roles',
'fieldtype': 'Table',
'hidden': 0,
'idx': 22,
'label': 'Roles',
'oldfieldname': 'roles',
'oldfieldtype': 'Table',
'options': 'Page Role',
'reqd': 0,
'search_index': 0
},
# DocField
{
'doctype': 'DocField',
'fieldtype': 'Column Break',
'idx': 23,
'label': 'Menu Options',
'oldfieldtype': 'Column Break',
'width': '50%'
} }
] ]