Add favicons to enhance site visibility
This commit is contained in:
		
							
								
								
									
										
											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 | 
| @@ -1,9 +1,14 @@ | ||||
| <html> | ||||
|     <head> | ||||
|         <meta charset="utf-8">  | ||||
|         <meta charset="utf-8"> | ||||
|         <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> | ||||
|      | ||||
|  | ||||
|     <body style="display: grid; grid-template-columns: auto auto auto;"> | ||||
|         <h1 style="grid-column: 1 / 4; text-align: center;">Andreas <i>production-ready</i> Interface</h1> | ||||
|  | ||||
| @@ -97,7 +102,7 @@ | ||||
|  | ||||
|             function populateForm(parameters){ | ||||
|                 let list = document.getElementById("list"); | ||||
|                    | ||||
|  | ||||
|                 parameters.map ( e => { | ||||
|                 }) | ||||
|                 for (var i in parameters) { | ||||
| @@ -111,7 +116,7 @@ | ||||
|                     element.dataset.persistent = persistent; | ||||
|                     list.appendChild(element); | ||||
|                 } | ||||
|                  | ||||
|  | ||||
|                 list.onchange = function(){ | ||||
|                     let app = document.getElementById('list'); | ||||
|                     let persistent = app.options[app.selectedIndex].dataset.persistent; | ||||
| @@ -168,7 +173,7 @@ | ||||
|                 return false; | ||||
|             } | ||||
|  | ||||
|              | ||||
|  | ||||
|  | ||||
|             function setFilterExpr(){ | ||||
|                 let expr = document.getElementById('filterexpr').value; | ||||
| @@ -192,7 +197,7 @@ | ||||
|             function enableCrashLog(){ | ||||
|                 document.getElementById("crashlogform").style.display = "none"; | ||||
|                 document.getElementById("crashlogs").style.display = "block"; | ||||
|                  | ||||
|  | ||||
|                 updateCrashLog(); | ||||
|                 setInterval(updateCrashLog, 1000); | ||||
|                 return false; | ||||
| @@ -205,7 +210,7 @@ | ||||
|                 setInterval(updateLog, 1000); | ||||
|                 return false; | ||||
|             } | ||||
|              | ||||
|  | ||||
|  | ||||
|             getJSON("/apps/list", populateForm); | ||||
|  | ||||
|   | ||||
							
								
								
									
										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(): | ||||
|     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>") | ||||
| def setGamma(r, g, b, w): | ||||
|   | ||||
		Reference in New Issue
	
	Block a user