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 | 8c309be | 2012-01-20 13:47:16 +0530 | [diff] [blame] | 17 | wn.app = { |
| 18 | name: 'ERPNext', |
| 19 | license: 'GNU/GPL - Usage Condition: All "erpnext" branding must be kept as it is', |
| 20 | source: 'https://github.com/webnotes/erpnext', |
| 21 | publisher: 'Web Notes Technologies Pvt Ltd, Mumbai', |
| 22 | copyright: '© Web Notes Technologies Pvt Ltd', |
| 23 | version: '2.' + window._version_number |
| 24 | } |
| 25 | |
Rushabh Mehta | 865c00a | 2012-01-24 14:33:21 +0530 | [diff] [blame] | 26 | wn.modules_path = 'erpnext'; |
Rushabh Mehta | 5ede3e8 | 2011-09-08 14:16:34 +0530 | [diff] [blame] | 27 | wn.settings.no_history = true; |
| 28 | |
Rushabh Mehta | 66ac2b0 | 2011-09-05 18:43:09 +0530 | [diff] [blame] | 29 | $(document).bind('ready', function() { |
| 30 | startup(); |
Rushabh Mehta | 8c309be | 2012-01-20 13:47:16 +0530 | [diff] [blame] | 31 | }); |
| 32 | |
| 33 | $(document).bind('toolbar_setup', function() { |
Anand Doshi | ac14412 | 2012-02-27 19:16:24 +0530 | [diff] [blame] | 34 | $('.brand').html('<b>erp</b>next\ |
| 35 | <i class="icon-home icon-white navbar-icon-home" ></i>') |
| 36 | .hover(function() { |
| 37 | $(this).find('.icon-home').addClass('navbar-icon-home-hover'); |
| 38 | }, function() { |
| 39 | $(this).find('.icon-home').removeClass('navbar-icon-home-hover'); |
| 40 | }); |
Anand Doshi | 5b1beeb | 2012-02-27 17:17:48 +0530 | [diff] [blame] | 41 | }) |