gold eggs backend
Some checks failed
Build and Push to Docker Hub / build-test-push (push) Failing after 1m55s
Some checks failed
Build and Push to Docker Hub / build-test-push (push) Failing after 1m55s
This commit is contained in:
127
config/conf/jazzmin.py
Executable file
127
config/conf/jazzmin.py
Executable file
@@ -0,0 +1,127 @@
|
||||
from typing import Any
|
||||
|
||||
JAZZMIN_SETTINGS: dict[str | Any, str | None | Any] = {
|
||||
"site_title": "Felix IT Solution",
|
||||
"site_header": "Felix IT Solution",
|
||||
"site_brand": "Felix IT Solution",
|
||||
"site_logo": "/images/logo.png",
|
||||
"login_logo": None,
|
||||
"login_logo_dark": None,
|
||||
"site_logo_classes": "img-circle",
|
||||
"site_icon": None,
|
||||
"welcome_sign": "Felix IT Solution",
|
||||
"copyright": "Felix IT Solution LLC",
|
||||
"search_model": ["auth.User"],
|
||||
"user_avatar": None,
|
||||
"topmenu_links": [
|
||||
{
|
||||
"name": "Home",
|
||||
"url": "admin:index",
|
||||
"permissions": ["auth.view_user"],
|
||||
},
|
||||
{
|
||||
"name": "Support",
|
||||
"url": "https://github.com/farridav/django-jazzmin/issues",
|
||||
"new_window": True,
|
||||
},
|
||||
{"model": "auth.User"},
|
||||
{"app": "books"},
|
||||
],
|
||||
"usermenu_links": [
|
||||
{
|
||||
"name": "Support",
|
||||
"url": "https://github.com/farridav/django-jazzmin/issues",
|
||||
"new_window": True,
|
||||
},
|
||||
{"model": "auth.user"},
|
||||
],
|
||||
"show_sidebar": True,
|
||||
"navigation_expanded": True,
|
||||
"hide_apps": [],
|
||||
"hide_models": [],
|
||||
"order_with_respect_to": ["auth", "books", "books.author", "books.book"],
|
||||
"custom_links": {
|
||||
"books": [
|
||||
{
|
||||
"name": "Make Messages",
|
||||
"url": "make_messages",
|
||||
"icon": "fas fa-comments",
|
||||
"permissions": ["books.view_book"],
|
||||
}
|
||||
]
|
||||
},
|
||||
"icons": {
|
||||
"http.Comment": "fas fa-comments",
|
||||
"http.FrontendTranslation": "fas fa-globe",
|
||||
"http.Post": "fas fa-bars",
|
||||
"http.User": "fas fa-user",
|
||||
"http.Tags": "fas fa-tag",
|
||||
"http.SmsConfirm": "fas fa-comments",
|
||||
"auth.Group": "fas fa-users",
|
||||
"eggs.Courier": "fas fa-user-tie",
|
||||
"eggs.CourierHistory": "fas fa-history",
|
||||
"eggs.CourierProduct": "fas fa-envelope-open-text",
|
||||
"eggs.Group": "fas fa-users",
|
||||
"eggs.Party": "fas fa-person-booth",
|
||||
"eggs.Product": "fas fa-egg",
|
||||
"eggs.Invoice": "fas fa-envelope-open-text",
|
||||
"eggs.Location": "fas fa-location-arrow",
|
||||
"eggs.Market": "fas fa-store",
|
||||
"eggs.Order": "fas fa-envelope-open-text",
|
||||
"eggs.OrderItems": "fas fa-object-group",
|
||||
"eggs.Broken": "fas fa-trash-alt",
|
||||
"eggs.Debt": "fas fa-hand-holding-usd",
|
||||
"eggs.History": "fas fa-history",
|
||||
"eggs.AllHistory": "fas fa-history",
|
||||
"eggs.AdditionalCost": "fas fa-money-bill-wave",
|
||||
"eggs.Sklad": "fas fa-warehouse",
|
||||
"eggs.Monitoring": "fas fa-chart-line",
|
||||
"eggs.Notification": "fas fa-bell",
|
||||
},
|
||||
"default_icon_parents": "fas fa-chevron-circle-right",
|
||||
"default_icon_children": "fas fa-circle",
|
||||
"related_modal_active": False,
|
||||
"custom_css": "css/jazzmin.css",
|
||||
"custom_js": None,
|
||||
"use_google_fonts_cdn": True,
|
||||
"show_ui_builder": False,
|
||||
"changeform_format": "horizontal_tabs",
|
||||
"changeform_format_overrides": {
|
||||
"auth.user": "collapsible",
|
||||
"auth.group": "vertical_tabs",
|
||||
},
|
||||
"language_chooser": True,
|
||||
}
|
||||
|
||||
JAZZMIN_UI_TWEAKS = {
|
||||
"navbar_small_text": False,
|
||||
"footer_small_text": False,
|
||||
"body_small_text": True,
|
||||
"brand_small_text": False,
|
||||
"brand_colour": "navbar-navy",
|
||||
"accent": "accent-primary",
|
||||
"navbar": "navbar-navy navbar-dark",
|
||||
"no_navbar_border": False,
|
||||
"navbar_fixed": True,
|
||||
"layout_boxed": False,
|
||||
"footer_fixed": False,
|
||||
"sidebar_fixed": True,
|
||||
"sidebar": "sidebar-dark-navy",
|
||||
"sidebar_nav_small_text": False,
|
||||
"sidebar_disable_expand": False,
|
||||
"sidebar_nav_child_indent": False,
|
||||
"sidebar_nav_compact_style": True,
|
||||
"sidebar_nav_legacy_style": False,
|
||||
"sidebar_nav_flat_style": False,
|
||||
"theme": "minty",
|
||||
"dark_mode_theme": None,
|
||||
"button_classes": {
|
||||
"primary": "btn-outline-primary",
|
||||
"secondary": "btn-outline-secondary",
|
||||
"info": "btn-outline-info",
|
||||
"warning": "btn-warning",
|
||||
"danger": "btn-danger",
|
||||
"success": "btn-success",
|
||||
},
|
||||
"actions_sticky_top": False,
|
||||
}
|
||||
Reference in New Issue
Block a user