From 906c2babaaa7e751c88ce32bfd16cd0f4a8eb084 Mon Sep 17 00:00:00 2001 From: Anand Doshi Date: Fri, 17 Jul 2015 15:11:24 +0530 Subject: [PATCH] [ui] Show ERPNext icon instead of ERPNext in navbar --- erpnext/public/css/erpnext.css | 5 ++++ erpnext/public/images/erp-icon.svg | 46 ++++++++++++++++++++++++++++++ erpnext/public/js/conf.js | 2 +- erpnext/public/less/erpnext.less | 5 ++++ 4 files changed, 57 insertions(+), 1 deletion(-) create mode 100644 erpnext/public/images/erp-icon.svg diff --git a/erpnext/public/css/erpnext.css b/erpnext/public/css/erpnext.css index b5f2a2d1e2b..3c286b162e7 100644 --- a/erpnext/public/css/erpnext.css +++ b/erpnext/public/css/erpnext.css @@ -96,3 +96,8 @@ .pos .tax-table { margin-bottom: 10px; } +.erpnext-icon { + width: 24px; + margin-right: 0px; + margin-top: -3px; +} diff --git a/erpnext/public/images/erp-icon.svg b/erpnext/public/images/erp-icon.svg new file mode 100644 index 00000000000..b4e2a24b4e7 --- /dev/null +++ b/erpnext/public/images/erp-icon.svg @@ -0,0 +1,46 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/erpnext/public/js/conf.js b/erpnext/public/js/conf.js index 626401929a0..af06b33f581 100644 --- a/erpnext/public/js/conf.js +++ b/erpnext/public/js/conf.js @@ -11,7 +11,7 @@ $(document).bind('toolbar_setup', function() { href="https://discuss.erpnext.com">Feedback

' - $('.navbar-home').html('ERPNext'); + $('.navbar-home').html(''); $('[data-link="docs"]').attr("href", "https://manual.erpnext.com") }); diff --git a/erpnext/public/less/erpnext.less b/erpnext/public/less/erpnext.less index 830902ad159..3f839ee305b 100644 --- a/erpnext/public/less/erpnext.less +++ b/erpnext/public/less/erpnext.less @@ -120,3 +120,8 @@ margin-bottom: 10px; } +.erpnext-icon { + width: 24px; + margin-right: 0px; + margin-top: -3px; +}