mirror of
https://github.com/frappe/erpnext.git
synced 2026-06-01 03:09:09 +00:00
form toolbar ui fixes and added themes
This commit is contained in:
@@ -110,3 +110,7 @@ def set_user_background():
|
||||
webnotes.conn.set_value('Profile', user, 'background_image', fid)
|
||||
|
||||
return fid
|
||||
|
||||
@webnotes.whitelist()
|
||||
def set_user_theme():
|
||||
webnotes.conn.set_default("theme", webnotes.form_dict.theme, webnotes.session.user)
|
||||
|
||||
Reference in New Issue
Block a user