added manifest and desktop icons

This commit is contained in:
2026-01-03 13:16:43 +01:00
parent d4d3a42a9b
commit 415f896b89
9 changed files with 28 additions and 1 deletions
+1 -1
View File
@@ -1,4 +1,4 @@
from flask import Flask, send_file from flask import Flask, send_from_directory, url_for
from flask_login import LoginManager from flask_login import LoginManager
from models import db from models import db
from models import User from models import User
Binary file not shown.

After

Width:  |  Height:  |  Size: 11 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 7.1 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 149 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 2.0 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 3.9 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 3.9 KiB

+26
View File
@@ -0,0 +1,26 @@
{
"name": "List App",
"short_name": "L@pp",
"start_url": "/",
"display": "standalone", // Or "minimal-ui" for a more browser-like feel on iOS
"background_color": "#ffffff",
"theme_color": "#000000",
"icons": [
{
"src": "/static/lapp192.png",
"sizes": "192x192",
"type": "image/png"
},
{
"src": "/static/lapp512.png",
"sizes": "512x512",
"type": "image/png"
},
{
"src": "/static/lapp1024.png",
"sizes": "1024x1024",
"type": "image/png",
"purpose": "maskable" // Good for modern iOS devices
}
]
}
+1
View File
@@ -6,6 +6,7 @@
<title>{{ title or "L@PP" }}</title> <title>{{ title or "L@PP" }}</title>
<link rel="shortcut icon" href="{{ url_for('static', filename='favicon.ico') }}"> <link rel="shortcut icon" href="{{ url_for('static', filename='favicon.ico') }}">
<link rel="manifest" href="/static/manifest.json">
<link href="/static/bootstrap.min.css" rel="stylesheet"> <link href="/static/bootstrap.min.css" rel="stylesheet">
<script src="/static/jquery.min.js"></script> <script src="/static/jquery.min.js"></script>
<script src="/static/bootstrap.min.js"></script> <script src="/static/bootstrap.min.js"></script>