From 21c3eeb52a502401564041a6084a403d9ec83768 Mon Sep 17 00:00:00 2001 From: Rushabh Mehta Date: Thu, 6 Feb 2014 11:03:28 +0530 Subject: [PATCH] added splash for frappe: --- webnotes/model/bean.py | 3 --- webnotes/public/css/splash.css | 7 +++++-- webnotes/public/images/frappe.svg | 3 +++ webnotes/templates/pages/app.html | 2 +- 4 files changed, 9 insertions(+), 6 deletions(-) create mode 100644 webnotes/public/images/frappe.svg diff --git a/webnotes/model/bean.py b/webnotes/model/bean.py index 3ba403082f..1482ceb53d 100644 --- a/webnotes/model/bean.py +++ b/webnotes/model/bean.py @@ -231,9 +231,6 @@ class Bean: if hasattr(self.controller, method): add_to_response(webnotes.local.response, webnotes.call(getattr(self.controller, method), *args, **kwargs)) - if hasattr(self.controller, 'custom_' + method): - add_to_response(webnotes.local.response, - webnotes.call(getattr(self.controller, 'custom_' + method), *args, **kwargs)) args = [self, method] + args for handler in webnotes.get_hooks("bean_event:" + self.doc.doctype + ":" + method) \ diff --git a/webnotes/public/css/splash.css b/webnotes/public/css/splash.css index 522c0b111b..25b512f666 100644 --- a/webnotes/public/css/splash.css +++ b/webnotes/public/css/splash.css @@ -18,6 +18,9 @@ } } +.splash path { + fill: #888; +} .splash { margin: auto; @@ -43,10 +46,10 @@ } .splash:after { - content: "erpnext"; + content: "frappe.io"; font-size: 30px; font-weight: 300; font-family: Helvetica, Arial, sans-serif; position: relative; - top: -30px; + top: 0px; } diff --git a/webnotes/public/images/frappe.svg b/webnotes/public/images/frappe.svg new file mode 100644 index 0000000000..7d15bb5a2a --- /dev/null +++ b/webnotes/public/images/frappe.svg @@ -0,0 +1,3 @@ + + + \ No newline at end of file diff --git a/webnotes/templates/pages/app.html b/webnotes/templates/pages/app.html index 4bfe665c56..a2fc5ed591 100644 --- a/webnotes/templates/pages/app.html +++ b/webnotes/templates/pages/app.html @@ -8,7 +8,7 @@ -
{% include "public/images/splash.svg" %}
+
{% include "public/images/frappe.svg" %}