sneed
This commit is contained in:
parent
1adad0403f
commit
b9d51332e5
2 changed files with 9 additions and 4 deletions
|
@ -140,8 +140,9 @@ def settings_profile_post(v):
|
|||
theme = request.values.get("theme")
|
||||
if theme:
|
||||
v.theme = theme
|
||||
if theme == "coffee": v.themecolor = "38a169"
|
||||
if theme == "coffee" or theme == "4chan": v.themecolor = "38a169"
|
||||
elif theme == "tron": v.themecolor = "80ffff"
|
||||
elif theme == "win98": v.themecolor = "30409f"
|
||||
g.db.add(v)
|
||||
return "", 204
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue