Browse Source

Revert "Frappe default wallpaper"

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

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

+ 2
- 2
frappe/public/js/frappe/misc/user.js View File

@@ -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…
Cancel
Save