Frappe default wallpaper

This commit is contained in:
Anand Doshi 2014-03-11 22:19:44 +05:30
parent c6a5624b5b
commit ef89f4e91e
4 changed files with 3 additions and 3 deletions

Binary file not shown.

Before

Width:  |  Height:  |  Size: 198 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 258 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 664 KiB

View file

@ -30,10 +30,10 @@ frappe.avatar = function(user, large, title) {
});
}
frappe.ui.set_user_background = function(src) {
if(!src) src = "assets/frappe/images/ui/random-polygons.jpg";
frappe.ui.set_user_background = function(src, size) {
if(!src) src = "assets/frappe/images/ui/wallpaper.jpg";
frappe.dom.set_style(repl('#page-desktop { \
background: url("%(src)s") center center fixed; \
background: url("%(src)s") center center; \
}', {src:src}))
}