added class 'web-footer' to text 'Powered by ERPNext' to make it visible in any background

This commit is contained in:
Anand Doshi
2012-02-24 19:35:09 +05:30
parent d45ab64a85
commit 01a7558589
7 changed files with 4 additions and 19 deletions

View File

@@ -2816,14 +2816,9 @@ body {
.erpnext-footer { .erpnext-footer {
margin: 3px auto; margin: 3px auto;
color: #888;
text-align: center; text-align: center;
} }
.erpnext-footer a, .erpnext-footer a:hover, .erpnext-footer a:visited {
color: #666;
}
.module-icons { .module-icons {
background: url(../images/module-icons.png) no-repeat top left; background: url(../images/module-icons.png) no-repeat top left;
width:16px; width:16px;

View File

@@ -1623,14 +1623,9 @@ body {
.erpnext-footer { .erpnext-footer {
margin: 3px auto; margin: 3px auto;
color: #888;
text-align: center; text-align: center;
} }
.erpnext-footer a, .erpnext-footer a:hover, .erpnext-footer a:visited {
color: #666;
}
.module-icons { .module-icons {
background: url(../images/module-icons.png) no-repeat top left; background: url(../images/module-icons.png) no-repeat top left;
width:16px; width:16px;

View File

@@ -17,14 +17,9 @@ body {
.erpnext-footer { .erpnext-footer {
margin: 3px auto; margin: 3px auto;
color: #888;
text-align: center; text-align: center;
} }
.erpnext-footer a, .erpnext-footer a:hover, .erpnext-footer a:visited {
color: #666;
}
.module-icons { .module-icons {
background: url(../images/module-icons.png) no-repeat top left; background: url(../images/module-icons.png) no-repeat top left;
width:16px; width:16px;

View File

@@ -48,7 +48,7 @@ erpnext.startup.start = function() {
// border to the body // border to the body
// ------------------ // ------------------
$('footer').html('<div class="erpnext-footer">\ $('footer').html('<div class="web-footer erpnext-footer">\
Powered by <a href="https://erpnext.com">ERPNext</a></div>'); Powered by <a href="https://erpnext.com">ERPNext</a></div>');
} }

View File

@@ -2210,7 +2210,7 @@ wn.modules_path='erpnext';wn.settings.no_history=true;$(document).bind('ready',f
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:'&copy; Web Notes Technologies Pvt Ltd',version:'2.'+window._version_number} 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:'&copy; Web Notes Technologies Pvt Ltd',version:'2.'+window._version_number}
wn.modules_path='erpnext';wn.settings.no_history=true;$(document).bind('ready',function(){startup();});$(document).bind('toolbar_setup',function(){$('.brand').html('<b>erp</b>next');}) wn.modules_path='erpnext';wn.settings.no_history=true;$(document).bind('ready',function(){startup();});$(document).bind('toolbar_setup',function(){$('.brand').html('<b>erp</b>next');})
/* /*
* erpnext/startup/startup.js * erpnext/startup/startup.js
*/ */
var current_module;var is_system_manager=0;var module_content_dict={};var user_full_nm={};wn.provide('erpnext.startup');erpnext.startup.set_globals=function(){pscript.is_erpnext_saas=cint(wn.control_panel.sync_with_gateway) var current_module;var is_system_manager=0;var module_content_dict={};var user_full_nm={};wn.provide('erpnext.startup');erpnext.startup.set_globals=function(){pscript.is_erpnext_saas=cint(wn.control_panel.sync_with_gateway)
if(inList(user_roles,'System Manager'))is_system_manager=1;} if(inList(user_roles,'System Manager'))is_system_manager=1;}

View File

@@ -1045,7 +1045,7 @@ wn.modules_path='erpnext';wn.settings.no_history=true;$(document).bind('ready',f
var current_module;var is_system_manager=0;var module_content_dict={};var user_full_nm={};wn.provide('erpnext.startup');erpnext.startup.set_globals=function(){pscript.is_erpnext_saas=cint(wn.control_panel.sync_with_gateway) var current_module;var is_system_manager=0;var module_content_dict={};var user_full_nm={};wn.provide('erpnext.startup');erpnext.startup.set_globals=function(){pscript.is_erpnext_saas=cint(wn.control_panel.sync_with_gateway)
if(inList(user_roles,'System Manager'))is_system_manager=1;} if(inList(user_roles,'System Manager'))is_system_manager=1;}
erpnext.startup.start=function(){$('#startup_div').html('Starting up...').toggle(true);erpnext.startup.set_globals();if(wn.boot.custom_css){set_style(wn.boot.custom_css);} erpnext.startup.start=function(){$('#startup_div').html('Starting up...').toggle(true);erpnext.startup.set_globals();if(wn.boot.custom_css){set_style(wn.boot.custom_css);}
if(user=='Guest'){if(wn.boot.website_settings.title_prefix){wn.title_prefix=wn.boot.website_settings.title_prefix;}}else{erpnext.toolbar.setup();erpnext.startup.set_periodic_updates();$('footer').html('<div class="erpnext-footer">\ if(user=='Guest'){if(wn.boot.website_settings.title_prefix){wn.title_prefix=wn.boot.website_settings.title_prefix;}}else{erpnext.toolbar.setup();erpnext.startup.set_periodic_updates();$('footer').html('<div class="web-footer erpnext-footer">\
Powered by <a href="https://erpnext.com">ERPNext</a></div>');} Powered by <a href="https://erpnext.com">ERPNext</a></div>');}
$('#startup_div').toggle(false);} $('#startup_div').toggle(false);}
show_chart_browser=function(nm,chart_type){var call_back=function(){if(nm=='Sales Browser'){var sb_obj=new SalesBrowser();sb_obj.set_val(chart_type);} show_chart_browser=function(nm,chart_type){var call_back=function(){if(nm=='Sales Browser'){var sb_obj=new SalesBrowser();sb_obj.set_val(chart_type);}

View File

@@ -1 +1 @@
698 705