parent
cec016be2a
commit
3a71f00d2d
3 changed files with 2 additions and 2 deletions
BIN
frappe/public/images/ui/random-polygons.jpg
Executable file
BIN
frappe/public/images/ui/random-polygons.jpg
Executable file
Binary file not shown.
|
After Width: | Height: | Size: 258 KiB |
Binary file not shown.
|
Before Width: | Height: | Size: 664 KiB |
|
|
@ -30,8 +30,8 @@ frappe.avatar = function(user, large, title) {
|
|||
});
|
||||
}
|
||||
|
||||
frappe.ui.set_user_background = function(src, size) {
|
||||
if(!src) src = "assets/frappe/images/ui/wallpaper.jpg";
|
||||
frappe.ui.set_user_background = function(src) {
|
||||
if(!src) src = "assets/frappe/images/ui/random-polygons.jpg";
|
||||
frappe.dom.set_style(repl('#page-desktop { \
|
||||
background: url("%(src)s") center center; \
|
||||
}', {src:src}))
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue