Browse Source

Frappe default wallpaper

version-14
Anand Doshi 11 years ago
parent
commit
ef89f4e91e
4 changed files with 3 additions and 3 deletions
  1. BIN
      frappe/public/images/ui/field.jpg
  2. BIN
      frappe/public/images/ui/random-polygons.jpg
  3. BIN
      frappe/public/images/ui/wallpaper.jpg
  4. +3
    -3
      frappe/public/js/frappe/misc/user.js

BIN
frappe/public/images/ui/field.jpg View File

Before After
Width: 1600  |  Height: 1066  |  Size: 198 KiB

BIN
frappe/public/images/ui/random-polygons.jpg View File

Before After
Width: 1920  |  Height: 1600  |  Size: 258 KiB

BIN
frappe/public/images/ui/wallpaper.jpg View File

Before After
Width: 1920  |  Height: 1200  |  Size: 664 KiB

+ 3
- 3
frappe/public/js/frappe/misc/user.js 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}))
}



Loading…
Cancel
Save