@@ -231,9 +231,6 @@ class Bean: | |||||
if hasattr(self.controller, method): | if hasattr(self.controller, method): | ||||
add_to_response(webnotes.local.response, | add_to_response(webnotes.local.response, | ||||
webnotes.call(getattr(self.controller, method), *args, **kwargs)) | 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 | args = [self, method] + args | ||||
for handler in webnotes.get_hooks("bean_event:" + self.doc.doctype + ":" + method) \ | for handler in webnotes.get_hooks("bean_event:" + self.doc.doctype + ":" + method) \ | ||||
@@ -18,6 +18,9 @@ | |||||
} | } | ||||
} | } | ||||
.splash path { | |||||
fill: #888; | |||||
} | |||||
.splash { | .splash { | ||||
margin: auto; | margin: auto; | ||||
@@ -43,10 +46,10 @@ | |||||
} | } | ||||
.splash:after { | .splash:after { | ||||
content: "erpnext"; | |||||
content: "frappe.io"; | |||||
font-size: 30px; | font-size: 30px; | ||||
font-weight: 300; | font-weight: 300; | ||||
font-family: Helvetica, Arial, sans-serif; | font-family: Helvetica, Arial, sans-serif; | ||||
position: relative; | position: relative; | ||||
top: -30px; | |||||
top: 0px; | |||||
} | } |
@@ -0,0 +1,3 @@ | |||||
<svg xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" version="1.1" id="frappe_icon" x="0px" y="0px" width="100px" height="100px" viewBox="0 0 100 100" enable-background="new 0 0 100 100" xml:space="preserve"> | |||||
<path d="M74.842,21.937C74.345,21.383,73.636,21,72.893,21H54.047L62.21,6.317l11.66,0.112l0.035-5.22L60.689,1.128 c-0.972-0.016-1.845,0.449-2.309,1.288L48.061,21H26.112c-0.744,0-1.452,0.383-1.949,0.937s-0.735,1.325-0.655,2.064l7.856,72.578 C31.508,97.908,32.631,99,33.968,99h31.068c1.337,0,2.459-1.075,2.604-2.404l5.534-51.099c0.055-0.21,0.093-0.445,0.093-0.672 c0-0.036-0.009-0.077-0.011-0.112l2.24-20.707C75.576,23.266,75.338,22.49,74.842,21.937z M69.975,26l-1.714,16H30.744l-1.714-16 H69.975z M62.686,94H36.318l-5.007-47h36.381L62.686,94z"/> | |||||
</svg> |
@@ -8,7 +8,7 @@ | |||||
<link rel="icon" href="images/favicon.ico" type="image/x-icon"> | <link rel="icon" href="images/favicon.ico" type="image/x-icon"> | ||||
</head> | </head> | ||||
<body> | <body> | ||||
<div class="splash">{% include "public/images/splash.svg" %}</div> | |||||
<div class="splash">{% include "public/images/frappe.svg" %}</div> | |||||
<header></header> | <header></header> | ||||
<div id="body_div"> | <div id="body_div"> | ||||
</div> | </div> | ||||