"feat: Integrate custom icons in admin templates"

This commit is contained in:
2025-05-29 17:56:52 +02:00
parent 83119f1f4a
commit 0879a66cb2
3 changed files with 194 additions and 88 deletions

View File

@@ -1,48 +1,79 @@
{
"name": "Mercedes-Benz MYP Platform",
"short_name": "MYP",
"description": "3D-Druck Management System",
"short_name": "MYP Platform",
"description": "Mercedes-Benz 3D-Druck Management System",
"start_url": "/",
"display": "standalone",
"background_color": "#0f172a",
"theme_color": "#0f172a",
"background_color": "#000000",
"theme_color": "#000000",
"orientation": "portrait-primary",
"scope": "/",
"lang": "de",
"categories": ["productivity", "business"],
"icons": [
{
"src": "icons/mercedes-logo.svg",
"sizes": "192x192",
"type": "image/svg+xml"
"src": "/static/icons/icon-72x72.png",
"sizes": "72x72",
"type": "image/png",
"purpose": "any maskable"
},
{
"src": "icons/mercedes-logo.svg",
"sizes": "512x512",
"type": "image/svg+xml"
"src": "/static/icons/icon-96x96.png",
"sizes": "96x96",
"type": "image/png",
"purpose": "any maskable"
},
{
"src": "icons/icon-144x144.png",
"src": "/static/icons/icon-128x128.png",
"sizes": "128x128",
"type": "image/png",
"purpose": "any maskable"
},
{
"src": "/static/icons/icon-144x144.png",
"sizes": "144x144",
"type": "image/png",
"purpose": "maskable any"
"purpose": "any maskable"
},
{
"src": "/static/icons/icon-152x152.png",
"sizes": "152x152",
"type": "image/png",
"purpose": "any maskable"
},
{
"src": "/static/icons/icon-192x192.png",
"sizes": "192x192",
"type": "image/png",
"purpose": "any maskable"
},
{
"src": "/static/icons/icon-384x384.png",
"sizes": "384x384",
"type": "image/png",
"purpose": "any maskable"
},
{
"src": "/static/icons/icon-512x512.png",
"sizes": "512x512",
"type": "image/png",
"purpose": "any maskable"
}
],
"shortcuts": [
{
"name": "Dashboard",
"short_name": "Dashboard",
"description": "Öffne das Haupt-Dashboard",
"url": "/dashboard",
"description": "Übersicht anzeigen"
"icons": [{ "src": "/static/icons/icon-96x96.png", "sizes": "96x96" }]
},
{
"name": "Drucker",
"url": "/printers",
"description": "Drucker verwalten"
},
{
"name": "Druckaufträge",
"url": "/jobs",
"description": "Druckaufträge verwalten"
"name": "Neue Anfrage",
"short_name": "Neue Anfrage",
"description": "Erstelle eine neue Gastanfrage",
"url": "/guest/request",
"icons": [{ "src": "/static/icons/icon-96x96.png", "sizes": "96x96" }]
}
],
"screenshots": [],