forked from MarseyWorld/MarseyWorld
sneed
parent
93141c3df4
commit
d47550195a
|
@ -140,8 +140,9 @@ def settings_profile_post(v):
|
||||||
theme = request.values.get("theme")
|
theme = request.values.get("theme")
|
||||||
if theme:
|
if theme:
|
||||||
v.theme = 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 == "tron": v.themecolor = "80ffff"
|
||||||
|
elif theme == "win98": v.themecolor = "30409f"
|
||||||
g.db.add(v)
|
g.db.add(v)
|
||||||
return "", 204
|
return "", 204
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue