feat(explore_page): rearrange links

This commit is contained in:
Prateeksha Singh
2019-01-24 07:15:53 +05:30
parent da1dc7fa52
commit 7cd6ebeb6d
6 changed files with 404 additions and 423 deletions

View File

@@ -68,57 +68,6 @@ def get_data():
},
# old
{
"label": _("Accounting"),
"module_name": "Accounts",
"color": "#3498db",
"icon": "octicon octicon-repo",
"type": "module",
"hidden": 1
},
{
"module_name": "Stock",
"color": "#f39c12",
"icon": "octicon octicon-package",
"type": "module",
"hidden": 1
},
{
"module_name": "CRM",
"color": "#EF4DB6",
"icon": "octicon octicon-broadcast",
"type": "module",
"hidden": 1
},
{
"module_name": "Selling",
"color": "#1abc9c",
"icon": "octicon octicon-tag",
"type": "module",
"hidden": 1
},
{
"module_name": "Buying",
"color": "#c0392b",
"icon": "octicon octicon-briefcase",
"type": "module",
"hidden": 1
},
{
"module_name": "HR",
"color": "#2ecc71",
"icon": "octicon octicon-organization",
"label": _("Human Resources"),
"type": "module",
"hidden": 1
},
{
"module_name": "Manufacturing",
"color": "#7f8c8d",
"icon": "octicon octicon-tools",
"type": "module",
"hidden": 1
},
{
"module_name": "POS",
"color": "#589494",
@@ -135,30 +84,6 @@ def get_data():
"link": "leaderboard",
"label": _("Leaderboard")
},
{
"module_name": "Support",
"color": "#2c3e50",
"icon": "octicon octicon-issue-opened",
"type": "module",
"hidden": 1
},
{
"module_name": "Help",
"color": "#FF888B",
"icon": "octicon octicon-device-camera-video",
"type": "module",
"is_help": True,
"label": _("Help"),
"hidden": 1
},
{
"module_name": "Maintenance",
"color": "#FF888B",
"icon": "octicon octicon-tools",
"type": "module",
"label": _("Maintenance"),
"hidden": 1
},
{
"module_name": "Student",
"color": "#c0392b",
@@ -259,22 +184,6 @@ def get_data():
"type": "list",
"hidden": 1
},
{
"module_name": "Education",
"color": "#428B46",
"icon": "octicon octicon-mortar-board",
"type": "module",
"label": _("Education"),
"hidden": 1
},
{
"module_name": "Healthcare",
"color": "#FF888B",
"icon": "fa fa-heartbeat",
"type": "module",
"label": _("Healthcare"),
"hidden": 1
},
{
"module_name": "Patient",
"color": "#6BE273",
@@ -373,32 +282,6 @@ def get_data():
"link": "List/Data Import",
"type": "list"
},
{
"module_name": "Restaurant",
"color": "#EA81E8",
"icon": "🍔",
"_doctype": "Restaurant",
"type": "module",
"link": "List/Restaurant",
"label": _("Restaurant"),
"hidden": 1
},
{
"module_name": "Hotels",
"color": "#EA81E8",
"icon": "fa fa-bed",
"type": "module",
"label": _("Hotels"),
"hidden": 1
},
{
"module_name": "Agriculture",
"color": "#8BC34A",
"icon": "octicon octicon-globe",
"type": "module",
"label": _("Agriculture"),
"hidden": 1
},
{
"module_name": "Crop",
"_doctype": "Crop",
@@ -499,14 +382,6 @@ def get_data():
"link": "List/Weather",
"hidden": 1
},
{
"module_name": "Assets",
"color": "#4286f4",
"icon": "octicon octicon-database",
"hidden": 1,
"label": _("Assets"),
"type": "module"
},
{
"module_name": "Grant Application",
"color": "#E9AB17",
@@ -558,13 +433,141 @@ def get_data():
"label": _("Chapter"),
"hidden": 1
},
# Modules
{
"module_name": "Accounting",
"color": "#3498db",
"icon": "octicon octicon-repo",
"type": "module",
"hidden": 1,
"description": "Accounts, Banking, Ledgers and Statements, with Billings and Subscriptions."
},
{
"module_name": "Selling",
"color": "#1abc9c",
"icon": "octicon octicon-tag",
"type": "module",
"hidden": 1,
"description": "All things Sales, Customer and Products."
},
{
"module_name": "Buying",
"color": "#c0392b",
"icon": "octicon octicon-briefcase",
"type": "module",
"hidden": 1,
"description": "Purchasing, Suppliers and Products."
},
{
"module_name": "Stock",
"color": "#f39c12",
"icon": "octicon octicon-package",
"type": "module",
"hidden": 1,
"description": "Track Stock Transactions, Reports, and Serialized Items and Batches."
},
{
"module_name": "Assets",
"color": "#4286f4",
"icon": "octicon octicon-database",
"hidden": 1,
"label": _("Assets"),
"type": "module",
"description": "Asset Maintainance and Tools."
},
{
"module_name": "Projects",
"color": "#8e44ad",
"icon": "octicon octicon-rocket",
"type": "module",
"hidden": 1,
"description": "Updates, Timesheets and Activities."
},
# Category: "Domains"
{
"module_name": "Manufacturing",
"color": "#7f8c8d",
"icon": "octicon octicon-tools",
"type": "module",
"hidden": 1,
"category": "Domains",
"description": "Streamline your production with BOMS, Work Orders and Timesheets."
},
{
"module_name": "CRM",
"color": "#EF4DB6",
"icon": "octicon octicon-broadcast",
"type": "module",
"hidden": 1,
"category": "Domains",
"description": "Everything in your sales pipeline, from Leads to Customers, to Support."
},
{
"module_name": "HR",
"color": "#2ecc71",
"icon": "octicon octicon-organization",
"label": _("Human Resources"),
"type": "module",
"hidden": 1,
"category": "Domains",
"description": "Employee Lifecycle, Payroll, Shifts and Leaves."
},
{
"module_name": "Education",
"color": "#428B46",
"icon": "octicon octicon-mortar-board",
"type": "module",
"label": _("Education"),
"hidden": 1,
"category": "Domains",
"description": "Manage Student Admissions, Fees, Subjects and Score Reports."
},
{
"module_name": "Healthcare",
"color": "#FF888B",
"icon": "fa fa-heartbeat",
"type": "module",
"label": _("Healthcare"),
"hidden": 1,
"category": "Domains",
"description": "Patients appointments, procedures and tests, with diagnosis reports and drug prescriptions."
},
{
"module_name": "Agriculture",
"color": "#8BC34A",
"icon": "octicon octicon-globe",
"type": "module",
"label": _("Agriculture"),
"hidden": 1,
"category": "Domains",
"description": "Crop Cycles, Land Areas and Soil and Plant Analysis."
},
{
"module_name": "Hotels",
"color": "#EA81E8",
"icon": "fa fa-bed",
"type": "module",
"label": _("Hotels"),
"hidden": 1,
"category": "Domains",
"description": "Manage Hotel Rooms, Pricing, Reservation and Amenities."
},
{
"module_name": "Non Profit",
"color": "#DE2B37",
"icon": "octicon octicon-heart",
"type": "module",
"label": _("Non Profit"),
"hidden": 1
"hidden": 1,
"category": "Domains",
"description": "Volunteers, Memberships, Grants and Chapters."
},
{
"module_name": "Quality Management",
@@ -572,5 +575,43 @@ def get_data():
"icon": "fa fa-check-square-o",
"type": "module",
"label": _("Quality")
"hidden": 1,
},
{
"module_name": "Learn",
"color": "#FF888B",
"icon": "octicon octicon-device-camera-video",
"type": "module",
"is_help": True,
"label": _("Learn"),
"category": "Administration",
"description": "Explore Help Articles and Videos."
},
{
"module_name": 'Marketplace',
"label": _('Marketplace'),
"icon": "octicon octicon-heart",
"type": 'link',
"link": 'marketplace/home',
"color": '#FF4136',
'standard': 1,
"category": "Places",
"description": "Publish items to the other ERPNext users and start a conversation."
},
{
"module_name": "Restaurant",
"color": "#EA81E8",
"icon": "🍔",
"_doctype": "Restaurant",
"type": "module",
"link": "List/Restaurant",
"label": _("Restaurant"),
"category": "Domains",
"hidden": 1,
"description": "Menu, orders and table reservations."
}
]
]