schon/evibes/settings/daisy.py
Egor fureunoir Gorbunov 3ab95e9b56 Features: 1) Added icons, divider titles, priorities, and hide settings to apps; 2) Introduced Daisy settings file for customizable UI configuration; 3) Implemented new CSS styles for paginator component with hover and active states.
Fixes: 1) Updated AutoSlugField to enhance slug generation logic in core models.

Extra: 1) Removed redundant Daisy settings from base configurations; 2) Minor code cleanup and organization.
2025-06-21 18:35:34 +03:00

41 lines
1.2 KiB
Python

from django.utils.translation import gettext_lazy as _
DAISY_SETTINGS: dict = {
"SITE_LOGO": "/static/favicon.ico",
"EXTRA_STYLES": [
"core/css/constance.css",
],
"EXTRA_SCRIPTS": [],
"SHOW_CHANGELIST_FILTER": True,
"DONT_SUPPORT_ME": True,
"SIDEBAR_FOOTNOTE": "eVibes by Wiseless",
"LOAD_FULL_STYLES": True,
"APPS_REORDER": {
"django_celery_results": {
"hide": True,
"app": "django_celery_results",
"divider_title": _("eVibes System"),
},
"django_celery_beat": {
"icon": "fa fa-solid fa-timeline",
"hide": False,
"app": "django_celery_beat",
"priority": 0,
"divider_title": _("eVibes System"),
},
"django_mailbox": {
"icon": "fa fa-solid fa-envelope",
"hide": False,
"app": "django_mailbox",
"priority": 1,
"divider_title": _("eVibes System"),
},
"django_summernote": {
"icon": "fa fa-solid fa-note-sticky",
"hide": False,
"app": "django_summernote",
"priority": 2,
"divider_title": _("eVibes System"),
},
},
}