changement de theme

This commit is contained in:
Ambulance Clerc
2023-06-04 18:20:54 +02:00
parent 1d4d97bb0e
commit 0cd04b32e2

View File

@@ -202,6 +202,9 @@ USE_L10N = False
# https://docs.djangoproject.com/en/4.0/howto/static-files/
STATIC_URL = 'static/'
STATICFILES_DIRS = [
BASE_DIR / "static",
]
# Default primary key field type
# https://docs.djangoproject.com/en/4.0/ref/settings/#default-auto-field
@@ -219,7 +222,7 @@ JAZZMIN_SETTINGS = {
"site_brand": "ClercNet",
# Logo to use for your site, must be present in static files, used for brand on top left
"site_logo": "img/logo.png",
"site_logo": "/Reskreen/img/logo.png",
# CSS classes that are applied to the logo above
"site_logo_classes": "img-circle",
@@ -277,7 +280,7 @@ JAZZMIN_SETTINGS = {
"show_sidebar": True,
# Whether to aut expand the menu
"navigation_expanded": True,
"navigation_expanded": False,
# Hide these apps when generating side menu e.g (auth)
"hide_apps": [],
@@ -340,6 +343,38 @@ JAZZMIN_SETTINGS = {
"language_chooser": False,
}
JAZZMIN_UI_TWEAKS = {
"navbar_small_text": False,
"footer_small_text": False,
"body_small_text": False,
"brand_small_text": False,
"brand_colour": "navbar-success",
"accent": "accent-teal",
"navbar": "navbar-dark",
"no_navbar_border": False,
"navbar_fixed": False,
"layout_boxed": False,
"footer_fixed": False,
"sidebar_fixed": False,
"sidebar": "sidebar-dark-info",
"sidebar_nav_small_text": False,
"sidebar_disable_expand": False,
"sidebar_nav_child_indent": False,
"sidebar_nav_compact_style": False,
"sidebar_nav_legacy_style": False,
"sidebar_nav_flat_style": False,
"theme": "cyborg",
"dark_mode_theme": None,
"button_classes": {
"primary": "btn-primary",
"secondary": "btn-secondary",
"info": "btn-info",
"warning": "btn-warning",
"danger": "btn-danger",
"success": "btn-success",
},
}
if cfg_dev_mode:
NEXTCLOUD_HOST = "cloud.ambulance-clerc.ch"
else: