brotherton-erpnext/conf.js

27 lines
880 B
JavaScript
Raw Normal View History

2012-04-17 08:24:53 +00:00
wn.provide('erpnext');
erpnext.set_about = function() {
wn.provide('wn.app');
$.extend(wn.app, {
name: 'ERPNext',
license: 'GNU/GPL - Usage Condition: All "erpnext" branding must be kept as it is',
source: 'https://github.com/webnotes/erpnext',
publisher: 'Web Notes Technologies Pvt Ltd, Mumbai',
copyright: '© Web Notes Technologies Pvt Ltd',
2012-04-30 11:24:31 +00:00
version: '2' //+ '.' + window._version_number
2012-04-17 08:24:53 +00:00
});
2012-01-20 08:17:16 +00:00
}
2012-01-24 09:03:21 +00:00
wn.modules_path = 'erpnext';
2012-01-20 08:17:16 +00:00
2012-05-07 12:30:57 +00:00
// add toolbar icon
2012-01-20 08:17:16 +00:00
$(document).bind('toolbar_setup', function() {
2012-05-01 08:48:47 +00:00
$('.brand').html((wn.boot.website_settings.brand_html || 'erpnext') +
2012-05-01 08:11:44 +00:00
' <i class="icon-home icon-white navbar-icon-home" ></i>')
2012-05-01 08:48:47 +00:00
.css('max-width', '200px').css('overflow', 'hidden')
2012-02-27 13:46:24 +00:00
.hover(function() {
$(this).find('.icon-home').addClass('navbar-icon-home-hover');
}, function() {
$(this).find('.icon-home').removeClass('navbar-icon-home-hover');
});
2012-04-10 06:05:19 +00:00
});