forked from MarseyWorld/MarseyWorld
fdsfsd
parent
c18d2155ab
commit
69f860aa4c
|
@ -55,6 +55,7 @@ class User(Base):
|
|||
marseyawarded = Column(Integer)
|
||||
longpost = Column(Integer)
|
||||
unblockable = Column(Boolean)
|
||||
compact = Column(Boolean)
|
||||
bird = Column(Integer)
|
||||
email = deferred(Column(String))
|
||||
css = deferred(Column(String))
|
||||
|
|
|
@ -364,6 +364,11 @@ def settings_profile_post(v):
|
|||
updated = True
|
||||
else: abort(400)
|
||||
|
||||
compact = request.values.get("compact")
|
||||
if compact:
|
||||
v.compact = compact
|
||||
updated = True
|
||||
|
||||
theme = request.values.get("theme")
|
||||
if theme:
|
||||
if theme in ["classic","transparent", "win98", "dark", "light", "coffee", "tron", "4chan", "midnight"]:
|
||||
|
|
Loading…
Reference in New Issue