fdsfsd
This commit is contained in:
parent
422e239c13
commit
e8f1eb98c4
2 changed files with 6 additions and 0 deletions
|
@ -55,6 +55,7 @@ class User(Base):
|
||||||
marseyawarded = Column(Integer)
|
marseyawarded = Column(Integer)
|
||||||
longpost = Column(Integer)
|
longpost = Column(Integer)
|
||||||
unblockable = Column(Boolean)
|
unblockable = Column(Boolean)
|
||||||
|
compact = Column(Boolean)
|
||||||
bird = Column(Integer)
|
bird = Column(Integer)
|
||||||
email = deferred(Column(String))
|
email = deferred(Column(String))
|
||||||
css = deferred(Column(String))
|
css = deferred(Column(String))
|
||||||
|
|
|
@ -364,6 +364,11 @@ def settings_profile_post(v):
|
||||||
updated = True
|
updated = True
|
||||||
else: abort(400)
|
else: abort(400)
|
||||||
|
|
||||||
|
compact = request.values.get("compact")
|
||||||
|
if compact:
|
||||||
|
v.compact = compact
|
||||||
|
updated = True
|
||||||
|
|
||||||
theme = request.values.get("theme")
|
theme = request.values.get("theme")
|
||||||
if theme:
|
if theme:
|
||||||
if theme in ["classic","transparent", "win98", "dark", "light", "coffee", "tron", "4chan", "midnight"]:
|
if theme in ["classic","transparent", "win98", "dark", "light", "coffee", "tron", "4chan", "midnight"]:
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue