jezzamin
This commit is contained in:
parent
218637ef0d
commit
e1f85e48e5
1 changed files with 34 additions and 34 deletions
|
@ -192,7 +192,7 @@ JAZZMIN_SETTINGS = {
|
||||||
"site_brand": "Fallen Birdy App",
|
"site_brand": "Fallen Birdy App",
|
||||||
|
|
||||||
# Logo to use for your site, must be present in static files, used for brand on top left
|
# Logo to use for your site, must be present in static files, used for brand on top left
|
||||||
"site_logo": "img/logo_medium.png",
|
# "site_logo": "img/wvhLogo.svg",
|
||||||
|
|
||||||
# Logo to use for your site, must be present in static files, used for login form logo (defaults to site_logo)
|
# Logo to use for your site, must be present in static files, used for login form logo (defaults to site_logo)
|
||||||
"login_logo": None,
|
"login_logo": None,
|
||||||
|
@ -207,13 +207,13 @@ JAZZMIN_SETTINGS = {
|
||||||
"site_icon": None,
|
"site_icon": None,
|
||||||
|
|
||||||
# Welcome text on the login screen
|
# Welcome text on the login screen
|
||||||
"welcome_sign": "Willkommen im Admin-Bereich",
|
"welcome_sign": "Willkommen bei der FBF-App im Admin-Bereich",
|
||||||
|
|
||||||
# Copyright on the footer
|
# Copyright on the footer
|
||||||
"copyright": "Acme Library Ltd",
|
# "copyright": "Acme Library Ltd",
|
||||||
|
|
||||||
# List of model admins to search from the search bar, search bar omitted if excluded
|
# List of model admins to search from the search bar, search bar omitted if excluded
|
||||||
# If you want to use a single search field you dont need to use a list, you can use a simple string
|
# If you want to use a single search field you dont need to use a list, you can use a simple string
|
||||||
"search_model": ["auth.User", "auth.Group"],
|
"search_model": ["auth.User", "auth.Group"],
|
||||||
|
|
||||||
# Field name on user model that contains avatar ImageField/URLField/Charfield or a callable that receives the user
|
# Field name on user model that contains avatar ImageField/URLField/Charfield or a callable that receives the user
|
||||||
|
@ -227,16 +227,16 @@ JAZZMIN_SETTINGS = {
|
||||||
"topmenu_links": [
|
"topmenu_links": [
|
||||||
|
|
||||||
# Url that gets reversed (Permissions can be added)
|
# Url that gets reversed (Permissions can be added)
|
||||||
{"name": "Home", "url": "admin:index", "permissions": ["auth.view_user"]},
|
# {"name": "Home", "url": "admin:index", "permissions": ["auth.view_user"]},
|
||||||
|
|
||||||
# external url that opens in a new window (Permissions can be added)
|
# external url that opens in a new window (Permissions can be added)
|
||||||
{"name": "Support", "url": "https://github.com/farridav/django-jazzmin/issues", "new_window": True},
|
# {"name": "Support", "url": "https://github.com/farridav/django-jazzmin/issues", "new_window": True},
|
||||||
|
|
||||||
# model admin to link to (Permissions checked against model)
|
# model admin to link to (Permissions checked against model)
|
||||||
{"model": "auth.User"},
|
{"model": "auth.User"},
|
||||||
|
|
||||||
# App with dropdown menu to all its models pages (Permissions checked against models)
|
# App with dropdown menu to all its models pages (Permissions checked against models)
|
||||||
{"app": "books"},
|
# {"app": "books"},
|
||||||
],
|
],
|
||||||
|
|
||||||
#############
|
#############
|
||||||
|
@ -244,10 +244,10 @@ JAZZMIN_SETTINGS = {
|
||||||
#############
|
#############
|
||||||
|
|
||||||
# Additional links to include in the user menu on the top right ("app" url type is not allowed)
|
# Additional links to include in the user menu on the top right ("app" url type is not allowed)
|
||||||
"usermenu_links": [
|
# "usermenu_links": [
|
||||||
{"name": "Support", "url": "https://github.com/farridav/django-jazzmin/issues", "new_window": True},
|
# {"name": "Support", "url": "https://github.com/farridav/django-jazzmin/issues", "new_window": True},
|
||||||
{"model": "auth.user"}
|
# {"model": "auth.user"}
|
||||||
],
|
# ],
|
||||||
|
|
||||||
#############
|
#############
|
||||||
# Side Menu #
|
# Side Menu #
|
||||||
|
@ -260,51 +260,51 @@ JAZZMIN_SETTINGS = {
|
||||||
"navigation_expanded": True,
|
"navigation_expanded": True,
|
||||||
|
|
||||||
# Hide these apps when generating side menu e.g (auth)
|
# Hide these apps when generating side menu e.g (auth)
|
||||||
"hide_apps": [],
|
# "hide_apps": [],
|
||||||
|
|
||||||
# Hide these models when generating side menu (e.g auth.user)
|
# Hide these models when generating side menu (e.g auth.user)
|
||||||
"hide_models": [],
|
# "hide_models": [],
|
||||||
|
|
||||||
# List of apps (and/or models) to base side menu ordering off of (does not need to contain all apps/models)
|
# List of apps (and/or models) to base side menu ordering off of (does not need to contain all apps/models)
|
||||||
"order_with_respect_to": ["auth", "books", "books.author", "books.book"],
|
# "order_with_respect_to": ["auth", "books", "books.author", "books.book"],
|
||||||
|
|
||||||
# Custom links to append to app groups, keyed on app name
|
# Custom links to append to app groups, keyed on app name
|
||||||
"custom_links": {
|
# "custom_links": {
|
||||||
"books": [{
|
# "books": [{
|
||||||
"name": "Make Messages",
|
# "name": "Make Messages",
|
||||||
"url": "make_messages",
|
# "url": "make_messages",
|
||||||
"icon": "fas fa-comments",
|
# "icon": "fas fa-comments",
|
||||||
"permissions": ["books.view_book"]
|
# "permissions": ["books.view_book"]
|
||||||
}]
|
# }]
|
||||||
},
|
# },
|
||||||
|
|
||||||
# Custom icons for side menu apps/models See https://fontawesome.com/icons?d=gallery&m=free&v=5.0.0,5.0.1,5.0.10,5.0.11,5.0.12,5.0.13,5.0.2,5.0.3,5.0.4,5.0.5,5.0.6,5.0.7,5.0.8,5.0.9,5.1.0,5.1.1,5.2.0,5.3.0,5.3.1,5.4.0,5.4.1,5.4.2,5.13.0,5.12.0,5.11.2,5.11.1,5.10.0,5.9.0,5.8.2,5.8.1,5.7.2,5.7.1,5.7.0,5.6.3,5.5.0,5.4.2
|
# Custom icons for side menu apps/models See https://fontawesome.com/icons?d=gallery&m=free&v=5.0.0,5.0.1,5.0.10,5.0.11,5.0.12,5.0.13,5.0.2,5.0.3,5.0.4,5.0.5,5.0.6,5.0.7,5.0.8,5.0.9,5.1.0,5.1.1,5.2.0,5.3.0,5.3.1,5.4.0,5.4.1,5.4.2,5.13.0,5.12.0,5.11.2,5.11.1,5.10.0,5.9.0,5.8.2,5.8.1,5.7.2,5.7.1,5.7.0,5.6.3,5.5.0,5.4.2
|
||||||
# for the full list of 5.13.0 free icon classes
|
# for the full list of 5.13.0 free icon classes
|
||||||
"icons": {
|
# "icons": {
|
||||||
"auth": "fas fa-users-cog",
|
# "auth": "fas fa-users-cog",
|
||||||
"auth.user": "fas fa-user",
|
# "auth.user": "fas fa-user",
|
||||||
"auth.Group": "fas fa-users",
|
# "auth.Group": "fas fa-users",
|
||||||
},
|
# },
|
||||||
# Icons that are used when one is not manually specified
|
# Icons that are used when one is not manually specified
|
||||||
"default_icon_parents": "fas fa-chevron-circle-right",
|
# "default_icon_parents": "fas fa-chevron-circle-right",
|
||||||
"default_icon_children": "fas fa-circle",
|
# "default_icon_children": "fas fa-circle",
|
||||||
|
|
||||||
#################
|
#################
|
||||||
# Related Modal #
|
# Related Modal #
|
||||||
#################
|
#################
|
||||||
# Use modals instead of popups
|
# Use modals instead of popups
|
||||||
"related_modal_active": False,
|
# "related_modal_active": False,
|
||||||
|
|
||||||
#############
|
#############
|
||||||
# UI Tweaks #
|
# UI Tweaks #
|
||||||
#############
|
#############
|
||||||
# Relative paths to custom CSS/JS scripts (must be present in static files)
|
# Relative paths to custom CSS/JS scripts (must be present in static files)
|
||||||
"custom_css": None,
|
# "custom_css": None,
|
||||||
"custom_js": None,
|
# "custom_js": None,
|
||||||
# Whether to link font from fonts.googleapis.com (use custom_css to supply font otherwise)
|
# Whether to link font from fonts.googleapis.com (use custom_css to supply font otherwise)
|
||||||
"use_google_fonts_cdn": True,
|
"use_google_fonts_cdn": True,
|
||||||
# Whether to show the UI customizer on the sidebar
|
# Whether to show the UI customizer on the sidebar
|
||||||
"show_ui_builder": False,
|
"show_ui_builder": True,
|
||||||
|
|
||||||
###############
|
###############
|
||||||
# Change view #
|
# Change view #
|
||||||
|
@ -320,4 +320,4 @@ JAZZMIN_SETTINGS = {
|
||||||
"changeform_format_overrides": {"auth.user": "collapsible", "auth.group": "vertical_tabs"},
|
"changeform_format_overrides": {"auth.user": "collapsible", "auth.group": "vertical_tabs"},
|
||||||
# Add a language dropdown into the admin
|
# Add a language dropdown into the admin
|
||||||
# "language_chooser": True,
|
# "language_chooser": True,
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue