Rushabh Mehta | 3966f1d | 2012-02-23 12:35:32 +0530 | [diff] [blame] | 1 | // ERPNext - web based ERP (http://erpnext.com) |
| 2 | // Copyright (C) 2012 Web Notes Technologies Pvt Ltd |
| 3 | // |
| 4 | // This program is free software: you can redistribute it and/or modify |
| 5 | // it under the terms of the GNU General Public License as published by |
| 6 | // the Free Software Foundation, either version 3 of the License, or |
| 7 | // (at your option) any later version. |
| 8 | // |
| 9 | // This program is distributed in the hope that it will be useful, |
| 10 | // but WITHOUT ANY WARRANTY; without even the implied warranty of |
| 11 | // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the |
| 12 | // GNU General Public License for more details. |
| 13 | // |
| 14 | // You should have received a copy of the GNU General Public License |
| 15 | // along with this program. If not, see <http://www.gnu.org/licenses/>. |
| 16 | |
Rushabh Mehta | d3c9fb6 | 2012-12-21 18:27:40 +0530 | [diff] [blame] | 17 | wn.home_page = "desktop"; |
Rushabh Mehta | ce1d527 | 2013-01-09 16:39:27 +0530 | [diff] [blame] | 18 | wn.provide("wn.module_page"); |
| 19 | |
Rushabh Mehta | 946e6d4 | 2012-12-21 15:00:29 +0530 | [diff] [blame] | 20 | $.extend(wn.modules, { |
| 21 | "Selling": { |
| 22 | link: "selling-home", |
| 23 | color: "#3f4901", |
| 24 | icon: "icon-tag" |
| 25 | }, |
| 26 | "Accounts": { |
| 27 | link: "accounts-home", |
| 28 | color: "#025770", |
| 29 | icon: "icon-money" |
| 30 | }, |
| 31 | "Stock": { |
| 32 | link: "stock-home", |
| 33 | color: "#a66a02", |
| 34 | icon: "icon-truck" |
| 35 | }, |
| 36 | "Buying": { |
| 37 | link: "buying-home", |
| 38 | color: "#8F0222", |
| 39 | icon: "icon-shopping-cart" |
| 40 | }, |
| 41 | "Support": { |
| 42 | link: "support-home", |
| 43 | color: "#410169", |
| 44 | icon: "icon-phone" |
| 45 | }, |
| 46 | "Projects": { |
| 47 | link: "projects-home", |
| 48 | color: "#473b7f", |
| 49 | icon: "icon-tasks" |
| 50 | }, |
| 51 | "Manufacturing": { |
| 52 | link: "manufacturing-home", |
| 53 | color: "#590116", |
| 54 | icon: "icon-magic" |
| 55 | }, |
| 56 | "Website": { |
| 57 | link: "website-home", |
| 58 | color: "#968c00", |
| 59 | icon: "icon-globe" |
| 60 | }, |
| 61 | "HR": { |
| 62 | link: "hr-home", |
| 63 | color: "#018d6c", |
Rushabh Mehta | 6c8cef7 | 2013-01-24 16:30:50 +0530 | [diff] [blame] | 64 | label: wn._("Human Resources"), |
Rushabh Mehta | 946e6d4 | 2012-12-21 15:00:29 +0530 | [diff] [blame] | 65 | icon: "icon-group" |
| 66 | }, |
| 67 | "Setup": { |
Rushabh Mehta | d3c9fb6 | 2012-12-21 18:27:40 +0530 | [diff] [blame] | 68 | link: "Setup", |
Rushabh Mehta | 946e6d4 | 2012-12-21 15:00:29 +0530 | [diff] [blame] | 69 | color: "#484848", |
| 70 | icon: "icon-wrench" |
| 71 | }, |
| 72 | "Activity": { |
| 73 | link: "activity", |
| 74 | color: "#633501", |
Rushabh Mehta | 6c8cef7 | 2013-01-24 16:30:50 +0530 | [diff] [blame] | 75 | icon: "icon-play", |
| 76 | label: wn._("Activity"), |
Rushabh Mehta | 946e6d4 | 2012-12-21 15:00:29 +0530 | [diff] [blame] | 77 | }, |
| 78 | "To Do": { |
| 79 | link: "todo", |
| 80 | color: "#febf04", |
Rushabh Mehta | 6c8cef7 | 2013-01-24 16:30:50 +0530 | [diff] [blame] | 81 | label: wn._("To Do"), |
Rushabh Mehta | 946e6d4 | 2012-12-21 15:00:29 +0530 | [diff] [blame] | 82 | icon: "icon-check" |
| 83 | }, |
| 84 | "Calendar": { |
Rushabh Mehta | 1a9f084 | 2013-02-15 12:09:05 +0530 | [diff] [blame] | 85 | link: "Calendar/Event", |
Rushabh Mehta | 946e6d4 | 2012-12-21 15:00:29 +0530 | [diff] [blame] | 86 | color: "#026584", |
Rushabh Mehta | 6c8cef7 | 2013-01-24 16:30:50 +0530 | [diff] [blame] | 87 | label: wn._("Calendar"), |
Rushabh Mehta | 946e6d4 | 2012-12-21 15:00:29 +0530 | [diff] [blame] | 88 | icon: "icon-calendar" |
| 89 | }, |
| 90 | "Messages": { |
| 91 | link: "messages", |
| 92 | color: "#8d016e", |
Rushabh Mehta | 6c8cef7 | 2013-01-24 16:30:50 +0530 | [diff] [blame] | 93 | label: wn._("Messages"), |
Rushabh Mehta | 946e6d4 | 2012-12-21 15:00:29 +0530 | [diff] [blame] | 94 | icon: "icon-comments" |
| 95 | }, |
| 96 | "Knowledge Base": { |
| 97 | link: "questions", |
| 98 | color: "#01372b", |
Rushabh Mehta | 6c8cef7 | 2013-01-24 16:30:50 +0530 | [diff] [blame] | 99 | label: wn._("Knowledge Base"), |
Rushabh Mehta | 946e6d4 | 2012-12-21 15:00:29 +0530 | [diff] [blame] | 100 | icon: "icon-question-sign" |
| 101 | }, |
| 102 | |
| 103 | }); |
Rushabh Mehta | 9d1faea | 2012-10-02 14:56:41 +0530 | [diff] [blame] | 104 | |
Rushabh Mehta | 8d3fe55 | 2013-01-16 12:19:28 +0530 | [diff] [blame] | 105 | wn.provide('erpnext.module_page'); |