- broke up config readme into 3 tabs, and 3 .md files - changed 'app templates' to 'card templates' - added 'collection' cards - added 'custom' cards - added options for setting tag icons and sort position - removed list view to focus on different card types on /home - added ability to collapse/expand tags on /home - added setting for having tags default to collapsed state - added settings for the default state of the sidebar - created a public user view with no sidebar - added sidebar default overrides for users
15 lines
484 B
Python
15 lines
484 B
Python
from dashmachine import db
|
|
|
|
|
|
class Settings(db.Model):
|
|
id = db.Column(db.Integer, primary_key=True)
|
|
theme = db.Column(db.String())
|
|
accent = db.Column(db.String())
|
|
background = db.Column(db.String())
|
|
roles = db.Column(db.String())
|
|
home_access_groups = db.Column(db.String())
|
|
settings_access_groups = db.Column(db.String())
|
|
custom_app_title = db.Column(db.String())
|
|
sidebar_default = db.Column(db.String())
|
|
tags_expanded = db.Column(db.String())
|