Update settings for unfold admin and remove footer
This commit is contained in:
@@ -143,21 +143,5 @@
|
||||
</main>
|
||||
<!-- END: MainContent -->
|
||||
|
||||
<!-- BEGIN: MinimalFooter -->
|
||||
<footer class="mt-auto border-t border-obsidian-border py-5 text-xs text-txt-muted bg-obsidian-deep/50" data-purpose="site-footer">
|
||||
<div class="max-w-7xl mx-auto px-4 sm:px-6 lg:px-8 flex flex-col sm:flex-row items-center justify-between gap-3">
|
||||
<div class="flex items-center gap-2">
|
||||
<span class="font-mono text-txt-muted text-[11px]">© 2026 ЕГЭ LMS. Все права защищены.</span>
|
||||
</div>
|
||||
<div class="flex items-center space-x-6">
|
||||
<span class="inline-flex items-center gap-1.5 text-[11px] font-mono text-txt-secondary">
|
||||
<span class="w-1.5 h-1.5 rounded-full bg-status-emerald"></span>
|
||||
Системы работают штатно
|
||||
</span>
|
||||
</div>
|
||||
</div>
|
||||
</footer>
|
||||
<!-- END: MinimalFooter -->
|
||||
|
||||
</body>
|
||||
</html>
|
||||
|
||||
@@ -56,6 +56,82 @@ INSTALLED_APPS = [
|
||||
'ckeditor',
|
||||
'ckeditor_uploader',
|
||||
]
|
||||
UNFOLD = {
|
||||
"SITE_TITLE": "ЕГЭ LMS Admin",
|
||||
"SITE_HEADER": "ЕГЭ LMS",
|
||||
"SITE_ICON": "school",
|
||||
"COLORS": {
|
||||
"primary": {
|
||||
"50": "#eff6ff",
|
||||
"100": "#dbeafe",
|
||||
"200": "#bfdbfe",
|
||||
"300": "#93c5fd",
|
||||
"400": "#60a5fa",
|
||||
"500": "#3b82f6",
|
||||
"600": "#2563eb",
|
||||
"700": "#1d4ed8",
|
||||
"800": "#1e40af",
|
||||
"900": "#1e3a8a",
|
||||
"950": "#172554",
|
||||
},
|
||||
"base": {
|
||||
"50": "#f8fafc",
|
||||
"100": "#f1f5f9",
|
||||
"200": "#cbd5e1",
|
||||
"300": "#94a3b8",
|
||||
"400": "#64748b",
|
||||
"500": "#3b3f4d",
|
||||
"600": "#2e313c",
|
||||
"700": "#191b23",
|
||||
"800": "#11131b",
|
||||
"900": "#0c0e16",
|
||||
"950": "#000000",
|
||||
},
|
||||
},
|
||||
"SIDEBAR": {
|
||||
"show_search": True,
|
||||
"show_all_applications": True,
|
||||
"navigation": [
|
||||
{
|
||||
"title": "Обучение",
|
||||
"separator": True,
|
||||
"items": [
|
||||
{
|
||||
"title": "Предметы",
|
||||
"icon": "menu_book",
|
||||
"link": "/admin/lms/subject/",
|
||||
},
|
||||
{
|
||||
"title": "Задания",
|
||||
"icon": "assignment",
|
||||
"link": "/admin/lms/assignment/",
|
||||
},
|
||||
{
|
||||
"title": "Ответы учеников",
|
||||
"icon": "fact_check",
|
||||
"link": "/admin/lms/submission/",
|
||||
},
|
||||
],
|
||||
},
|
||||
{
|
||||
"title": "Пользователи",
|
||||
"separator": True,
|
||||
"items": [
|
||||
{
|
||||
"title": "Пользователи",
|
||||
"icon": "people",
|
||||
"link": "/admin/users/customuser/",
|
||||
},
|
||||
{
|
||||
"title": "Группы",
|
||||
"icon": "groups",
|
||||
"link": "/admin/auth/group/",
|
||||
},
|
||||
],
|
||||
},
|
||||
],
|
||||
},
|
||||
}
|
||||
|
||||
MIDDLEWARE = [
|
||||
'django.middleware.security.SecurityMiddleware',
|
||||
|
||||
Reference in New Issue
Block a user