form toolbar ui fixes and added themes

This commit is contained in:
Rushabh Mehta
2012-09-28 16:11:57 +05:30
parent 534a7a92fe
commit b0d32b7a25
9 changed files with 112 additions and 9 deletions

View File

@@ -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)