kopia lustrzana https://github.com/OpenDroneMap/WebODM
Default theme CSS
rodzic
0c256afcbc
commit
de2aafa670
|
@ -71,6 +71,10 @@ def boot():
|
|||
if created:
|
||||
logger.info("Created default theme")
|
||||
|
||||
if settings.DEFAULT_THEME_CSS:
|
||||
default_theme.css = settings.DEFAULT_THEME_CSS
|
||||
default_theme.save()
|
||||
|
||||
if Setting.objects.all().count() == 0:
|
||||
s = Setting.objects.create(
|
||||
app_name=settings.APP_NAME,
|
||||
|
|
|
@ -67,6 +67,9 @@ SINGLE_USER_MODE = False
|
|||
# URL to redirect to if there are no processing nodes when visiting the dashboard
|
||||
PROCESSING_NODES_ONBOARDING = None
|
||||
|
||||
# Default CSS to add to theme
|
||||
DEFAULT_THEME_CSS = ''
|
||||
|
||||
# Application definition
|
||||
|
||||
INSTALLED_APPS = [
|
||||
|
|
Ładowanie…
Reference in New Issue