28 lines
935 B
JavaScript
Raw Normal View History

2012-04-17 13:54:53 +05:30
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-12-21 15:00:29 +05:30
version: 'Please see git log for the release number'
2012-04-17 13:54:53 +05:30
});
2012-01-20 13:47:16 +05:30
}
2012-01-24 14:33:21 +05:30
wn.modules_path = 'erpnext';
2012-01-20 13:47:16 +05:30
2012-05-07 18:00:57 +05:30
// add toolbar icon
2012-01-20 13:47:16 +05:30
$(document).bind('toolbar_setup', function() {
2013-06-07 15:39:45 +05:30
$('.navbar-brand').html('<object data="app/images/splash.svg" \
2013-07-17 14:15:26 +05:30
class="toolbar-splash" type="image/svg+xml"></object>' +
(wn.boot.website_settings.brand_html || 'erpnext'))
2012-05-01 14:18:47 +05:30
.css('max-width', '200px').css('overflow', 'hidden')
2012-02-27 19:16:24 +05:30
.hover(function() {
$(this).find('.icon-home').addClass('navbar-icon-home-hover');
}, function() {
$(this).find('.icon-home').removeClass('navbar-icon-home-hover');
});
2012-04-10 11:35:19 +05:30
});