brotherton-erpnext/public/js/conf.js

27 lines
886 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-12-21 09:30:29 +00:00
version: 'Please see git log for the release 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() {
2013-06-07 10:09:45 +00:00
$('.navbar-brand').html('<object data="app/images/splash.svg" \
class="toolbar-splash" type="image/svg+xml"></object>erpnext')
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
});