[fix] module ordering

This commit is contained in:
Rushabh Mehta 2016-01-14 18:14:50 +05:30
parent 9bf2df9303
commit 1bf440b03a

View File

@ -2,32 +2,50 @@ from __future__ import unicode_literals
from frappe import _ from frappe import _
def get_data(): def get_data():
return { return [
"Accounts": { {
"module_name": "Accounts",
"color": "#3498db", "color": "#3498db",
"icon": "octicon octicon-repo", "icon": "octicon octicon-repo",
"type": "module" "type": "module"
}, },
"Buying": { {
"module_name": "CRM",
"color": "#EF4DB6",
"icon": "octicon octicon-broadcast",
"type": "module"
},
{
"module_name": "Selling",
"color": "#1abc9c",
"icon": "icon-tag",
"icon": "octicon octicon-tag",
"type": "module"
},
{
"module_name": "Buying",
"color": "#c0392b", "color": "#c0392b",
"icon": "icon-shopping-cart", "icon": "icon-shopping-cart",
"icon": "octicon octicon-briefcase", "icon": "octicon octicon-briefcase",
"type": "module" "type": "module"
}, },
"HR": { {
"module_name": "HR",
"color": "#2ecc71", "color": "#2ecc71",
"icon": "icon-group", "icon": "icon-group",
"icon": "octicon octicon-organization", "icon": "octicon octicon-organization",
"label": _("Human Resources"), "label": _("Human Resources"),
"type": "module" "type": "module"
}, },
"Manufacturing": { {
"module_name": "Manufacturing",
"color": "#7f8c8d", "color": "#7f8c8d",
"icon": "icon-cogs", "icon": "icon-cogs",
"icon": "octicon octicon-tools", "icon": "octicon octicon-tools",
"type": "module" "type": "module"
}, },
"POS": { {
"module_name": "POS",
"color": "#589494", "color": "#589494",
"icon": "icon-th", "icon": "icon-th",
"icon": "octicon octicon-credit-card", "icon": "octicon octicon-credit-card",
@ -35,41 +53,33 @@ def get_data():
"link": "pos", "link": "pos",
"label": _("POS") "label": _("POS")
}, },
"Projects": { {
"module_name": "Projects",
"color": "#8e44ad", "color": "#8e44ad",
"icon": "icon-puzzle-piece", "icon": "icon-puzzle-piece",
"icon": "octicon octicon-rocket", "icon": "octicon octicon-rocket",
"type": "module" "type": "module"
}, },
"Selling": { {
"color": "#1abc9c", "module_name": "Stock",
"icon": "icon-tag",
"icon": "octicon octicon-tag",
"type": "module"
},
"CRM": {
"color": "#EF4DB6",
"icon": "octicon octicon-broadcast",
"type": "module"
},
"Stock": {
"color": "#f39c12", "color": "#f39c12",
"icon": "icon-truck", "icon": "icon-truck",
"icon": "octicon octicon-package", "icon": "octicon octicon-package",
"type": "module" "type": "module"
}, },
"Support": { {
"module_name": "Support",
"color": "#2c3e50", "color": "#2c3e50",
"icon": "icon-phone", "icon": "icon-phone",
"icon": "octicon octicon-issue-opened", "icon": "octicon octicon-issue-opened",
"type": "module" "type": "module"
}, },
"Learn": { {
"module_name": "Learn",
"color": "#FF888B", "color": "#FF888B",
"force_show": True,
"icon": "octicon octicon-device-camera-video", "icon": "octicon octicon-device-camera-video",
"type": "module", "type": "module",
"is_help": True, "is_help": True,
"label": _("Learn") "label": _("Learn")
} }
} ]