fds
This commit is contained in:
parent
07d1c10cc5
commit
6de5cc7264
14 changed files with 43 additions and 708 deletions
|
@ -289,7 +289,7 @@ def settings_profile_post(v):
|
|||
|
||||
theme = request.values.get("theme")
|
||||
if theme:
|
||||
if theme in {"dramblr", "reddit", "reddit_dark", "classic", "classic_dark", "transparent", "win98", "dark", "light", "coffee", "tron", "4chan", "midnight"}:
|
||||
if theme in {"dramblr", "reddit", "classic", "classic_dark", "transparent", "win98", "dark", "light", "coffee", "tron", "4chan", "midnight"}:
|
||||
if theme == "transparent" and not v.background:
|
||||
return {"error": "You need to set a background to use the transparent theme!"}
|
||||
v.theme = theme
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue