diff --git a/__pycache__/config.cpython-312.pyc b/__pycache__/config.cpython-312.pyc
new file mode 100644
index 0000000..40993d7
Binary files /dev/null and b/__pycache__/config.cpython-312.pyc differ
diff --git a/html/icons/android-chrome-192x192.png b/html/icons/android-chrome-192x192.png
new file mode 100644
index 0000000..a63ea7f
Binary files /dev/null and b/html/icons/android-chrome-192x192.png differ
diff --git a/html/icons/android-chrome-512x512.png b/html/icons/android-chrome-512x512.png
new file mode 100644
index 0000000..77eff97
Binary files /dev/null and b/html/icons/android-chrome-512x512.png differ
diff --git a/html/icons/apple-touch-icon.png b/html/icons/apple-touch-icon.png
new file mode 100644
index 0000000..08147fc
Binary files /dev/null and b/html/icons/apple-touch-icon.png differ
diff --git a/html/icons/favicon-16x16.png b/html/icons/favicon-16x16.png
new file mode 100644
index 0000000..55fa97e
Binary files /dev/null and b/html/icons/favicon-16x16.png differ
diff --git a/html/icons/favicon-32x32.png b/html/icons/favicon-32x32.png
new file mode 100644
index 0000000..2318d1f
Binary files /dev/null and b/html/icons/favicon-32x32.png differ
diff --git a/html/icons/favicon.ico b/html/icons/favicon.ico
new file mode 100644
index 0000000..dbebe9b
Binary files /dev/null and b/html/icons/favicon.ico differ
diff --git a/html/index.html b/html/index.html
index c2bff6a..b12ad28 100644
--- a/html/index.html
+++ b/html/index.html
@@ -1,9 +1,14 @@
-
+
Pixelserver Interface
+
+
+
+
+
-
+
Andreas production-ready Interface
@@ -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);
diff --git a/html/site.webmanifest b/html/site.webmanifest
new file mode 100644
index 0000000..e3437a9
--- /dev/null
+++ b/html/site.webmanifest
@@ -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"}
\ No newline at end of file
diff --git a/main.py b/main.py
index 0350e82..9956f88 100755
--- a/main.py
+++ b/main.py
@@ -530,6 +530,9 @@ def apps_running():
def index():
return bottle.static_file("index.html", root='html')
+@bottle.route("/")
+def serve_static(filepath):
+ return bottle.static_file(filepath, root='html')
@bottle.route("/setgamma////")
def setGamma(r, g, b, w):