Add favicons to enhance site visibility
This commit is contained in:
parent
a162660264
commit
49d91b3999
BIN
__pycache__/config.cpython-312.pyc
Normal file
BIN
__pycache__/config.cpython-312.pyc
Normal file
Binary file not shown.
BIN
html/icons/android-chrome-192x192.png
Normal file
BIN
html/icons/android-chrome-192x192.png
Normal file
Binary file not shown.
After Width: | Height: | Size: 1.9 KiB |
BIN
html/icons/android-chrome-512x512.png
Normal file
BIN
html/icons/android-chrome-512x512.png
Normal file
Binary file not shown.
After Width: | Height: | Size: 9.7 KiB |
BIN
html/icons/apple-touch-icon.png
Normal file
BIN
html/icons/apple-touch-icon.png
Normal file
Binary file not shown.
After Width: | Height: | Size: 1.8 KiB |
BIN
html/icons/favicon-16x16.png
Normal file
BIN
html/icons/favicon-16x16.png
Normal file
Binary file not shown.
After Width: | Height: | Size: 200 B |
BIN
html/icons/favicon-32x32.png
Normal file
BIN
html/icons/favicon-32x32.png
Normal file
Binary file not shown.
After Width: | Height: | Size: 219 B |
BIN
html/icons/favicon.ico
Normal file
BIN
html/icons/favicon.ico
Normal file
Binary file not shown.
After Width: | Height: | Size: 15 KiB |
@ -2,6 +2,11 @@
|
|||||||
<head>
|
<head>
|
||||||
<meta charset="utf-8">
|
<meta charset="utf-8">
|
||||||
<title>Pixelserver Interface</title>
|
<title>Pixelserver Interface</title>
|
||||||
|
|
||||||
|
<link rel="apple-touch-icon" sizes="180x180" href="/icons/apple-touch-icon.png">
|
||||||
|
<link rel="icon" type="image/png" sizes="32x32" href="/icons/favicon-32x32.png">
|
||||||
|
<link rel="icon" type="image/png" sizes="16x16" href="/icons/favicon-16x16.png">
|
||||||
|
<link rel="manifest" href="/site.webmanifest">
|
||||||
</head>
|
</head>
|
||||||
|
|
||||||
<body style="display: grid; grid-template-columns: auto auto auto;">
|
<body style="display: grid; grid-template-columns: auto auto auto;">
|
||||||
|
1
html/site.webmanifest
Normal file
1
html/site.webmanifest
Normal file
@ -0,0 +1 @@
|
|||||||
|
{"name":"","short_name":"","icons":[{"src":"/icons/android-chrome-192x192.png","sizes":"192x192","type":"image/png"},{"src":"/icons/android-chrome-512x512.png","sizes":"512x512","type":"image/png"}],"theme_color":"#ffffff","background_color":"#ffffff","display":"standalone"}
|
3
main.py
3
main.py
@ -530,6 +530,9 @@ def apps_running():
|
|||||||
def index():
|
def index():
|
||||||
return bottle.static_file("index.html", root='html')
|
return bottle.static_file("index.html", root='html')
|
||||||
|
|
||||||
|
@bottle.route("/<filepath:path>")
|
||||||
|
def serve_static(filepath):
|
||||||
|
return bottle.static_file(filepath, root='html')
|
||||||
|
|
||||||
@bottle.route("/setgamma/<r>/<g>/<b>/<w>")
|
@bottle.route("/setgamma/<r>/<g>/<b>/<w>")
|
||||||
def setGamma(r, g, b, w):
|
def setGamma(r, g, b, w):
|
||||||
|
Loading…
Reference in New Issue
Block a user