blob: f2e24bba1ee9273013fce7bf37298bb17edf5d4b [file] [log] [blame]
Rushabh Mehta3966f1d2012-02-23 12:35:32 +05301// 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 Mehta8c309be2012-01-20 13:47:16 +053017wn.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: '&copy; Web Notes Technologies Pvt Ltd',
23 version: '2.' + window._version_number
24}
25
Rushabh Mehta865c00a2012-01-24 14:33:21 +053026wn.modules_path = 'erpnext';
Rushabh Mehta5ede3e82011-09-08 14:16:34 +053027wn.settings.no_history = true;
28
Rushabh Mehta66ac2b02011-09-05 18:43:09 +053029$(document).bind('ready', function() {
30 startup();
Rushabh Mehta8c309be2012-01-20 13:47:16 +053031});
32
33$(document).bind('toolbar_setup', function() {
Anand Doshiac144122012-02-27 19:16:24 +053034 $('.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 Doshi5b1beeb2012-02-27 17:17:48 +053041})