wn.provide('erpnext.topbar');
wn.require('lib/css/bootstrap/bootstrap-topbar.css');
wn.require('lib/js/bootstrap/bootstrap-dropdown.js');
/*
\
\
\
\
*/
erpnext.topbar.TopBar = Class.extend({
init: function() {
this.make();
$('.brand').html(wn.boot.topbar.brand_html);
this.make_items();
},
make: function() {
$('header').append('');
},
make_items: function() {
var items = wn.boot.topbaritems
for(var i=0;i%(label)s', item))
}
}
}
});
erpnext.topbar.topbar = new erpnext.topbar.TopBar();