From 49d91b3999699fe3800b60c0034ef583b891ca7b Mon Sep 17 00:00:00 2001 From: drg Date: Tue, 29 Oct 2024 21:42:04 +0100 Subject: [PATCH] Add favicons to enhance site visibility --- __pycache__/config.cpython-312.pyc | Bin 0 -> 3525 bytes html/icons/android-chrome-192x192.png | Bin 0 -> 1926 bytes html/icons/android-chrome-512x512.png | Bin 0 -> 9904 bytes html/icons/apple-touch-icon.png | Bin 0 -> 1813 bytes html/icons/favicon-16x16.png | Bin 0 -> 200 bytes html/icons/favicon-32x32.png | Bin 0 -> 219 bytes html/icons/favicon.ico | Bin 0 -> 15406 bytes html/index.html | 19 ++++++++++++------- html/site.webmanifest | 1 + main.py | 3 +++ 10 files changed, 16 insertions(+), 7 deletions(-) create mode 100644 __pycache__/config.cpython-312.pyc create mode 100644 html/icons/android-chrome-192x192.png create mode 100644 html/icons/android-chrome-512x512.png create mode 100644 html/icons/apple-touch-icon.png create mode 100644 html/icons/favicon-16x16.png create mode 100644 html/icons/favicon-32x32.png create mode 100644 html/icons/favicon.ico create mode 100644 html/site.webmanifest diff --git a/__pycache__/config.cpython-312.pyc b/__pycache__/config.cpython-312.pyc new file mode 100644 index 0000000000000000000000000000000000000000..40993d7af35cf3cb329ae2ce972bdb881d7c3c1e GIT binary patch literal 3525 zcmZuzO>7&-6<(6Vf02?U$FghLq3zTb?TU1i)NvgD#1c*Uhf-uqvgA$T&1&C}Tx+?@ z?k;U{5fm(v0M4PPfF7Kj;zJKC?1PRv_E?~oEzE;DZBey3`6fe$0y*`~l9DZ|E9lMl zee>S@zM0`)5{a0A-|q*Hm7q@$e&l5PJJtbP|M3gL69EM9X@ba0zvip>MZb^ZfEK6_ zkyL_W&?iv8UziYpd@Vrm8AkE%S-TL#5QM}qgvAI%#3)3?7~(h;9vtjAyite=h>1yv zi@nez_CZ422T8HtFVGP5LLcmd{^tYFNISq&_rqIo;Q8RQz#G~@I0QfI(hkEA9O=@I z!rPGQ(vHD#IMJoO13!n8*z>7fJr6?~PIq~pf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192.png b/html/icons/android-chrome-192x192.png new file mode 100644 index 0000000000000000000000000000000000000000..a63ea7f843676eea1f8f492f6e871fba93c35fd7 GIT binary patch literal 1926 zcmeAS@N?(olHy`uVBq!ia0vp^2SAvE4M+yv$zf+;VE6TOaSW-5dwat-FFci@_2cau z6IHj|zL1cT;gfuWNtxZK@PXcuBMy5wz|@%H_7xK=5F-%OmJqHerb36zv&GOHJUM5OzKQGBsJFcCVvi6 zj{N`d`*BsdzQ-Sa1PT9Ov1hGV>z=?g|H1Nx&0-1Vdp^Ij*miw4Yq}iEw_}CbGVI4q z)IM<5aeavDKfq#l(4R4#wIF%V=X(}4%2DSJ+I;?7ct_^==X@6wlNcD+9RC@bE_Prw z$J#INnIbsfNY4vn$me*o$1aB9x$CF9=ad`DAAi3#U$A8V$uqfBsSzKJa>T z)MsVZ4QhA)TW)7?df*=$#-Pa0#L+13z+S;vQn3NT+s+{Sfc3(|gG?2vl%iV2opsmD6!J(F`;}cU0qu51b$2tOd1qp3NAx-US59s;lu9vjee{Tu0Jqk-DC0nWPJ1bn43}WYQDcM`g_@5@7bs6 zU$pw=?IZK*{~!MJpx^%g>+%Na$MWxblb=sg+O^{NK6|~AVwunXpR&Du`}XNQeS3ZL zeK+>5klr!n`px_H5qWh#uNM8kZp)ampNVC{1N{b;ug2>&8(O#+RaS5>Xxqh*6%qmA zMK?&jVpt;T8`U@(IQUY| zem92QkJH}wCGUQ=?EZP_o6`NIz)Iu1T>kG@SD(J~x7XV}zy4dDUEaxHS(~aYcYghv zo%(+J{rUGV9;P%M}zC7w`P`(f#zfzI>Z( zDSI267`cC6zZ*?|@S{|#!BqeK9gZ)80uJ+q%S#$rSPB|9#IEW;VE_D%Mb>3m(PUu# O%HZkh=d#Wzp$Pzwr|d-l literal 0 HcmV?d00001 diff --git a/html/icons/android-chrome-512x512.png b/html/icons/android-chrome-512x512.png new file mode 100644 index 0000000000000000000000000000000000000000..77eff972b2f205bd683227af10018e3c004e82a5 GIT binary patch literal 9904 zc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H5O7Z_BLs?;6$ zO&&3uAkcR#7l>h8VBv*WOaeBlWGl)7Y^9_l~Xm+7FupyWP*+^O48XD4;WBpA!KqWXmJ`9wfrOzVa?fjU9nb zvWT??usE1(pHHLq6Kw;L+C$)(&;A*PyMSk062G28Ci+vT@_eNudl6V%G?s*5IWTC_ zu8z=7hkTo!KGjcJ!XWATKi>&2Rx#*i*xh6JHCqC0Sa~W1JI)|7drtw^0d{o^SIxrG zK;8_J(o+<2wZ`he>bjjBb8XxlN#rnX&u1J4gjh_aC8h%tQooG%l2!xrG-X_bq5=l4 z4|<7JeiT}@p#KWK5kT*a&p$s#yaHv@OIIABmxGVC_BzWbSeYk1=(KDljh59lrbcK3 zDWtK&aCd;rAJK|25HYo^)1M6kab{e584ZNRxfkf-LNMXR?I^qlJk`^8@Mppv239$H z$Ft3#QS;LV4YwaQ?N3n;eH?Sz!FDo zkX1PhQn(S%y#R5(on-V$`G`ir|M-_DW(N+in{ms9sB|Jx$MO}q+yh|#V0h7Zwh0D` zlydKsuOK928^$G91m*anEiw`EI$Svie}rr9z@GT5aX=@`$} zfxK}9xf>j_--1m5%@abBi*N_X6#nBO0z%fW0|VF{qh~FgB+-DUG!P7z6IdNr?#b@ChUD##oPr{0)=BmwENXfHZYwEmH0Gy1r z5Mg4#$3LbjzJT0acuIGK^Mp(xkEn>r5cbJ8!&g!_Wi(3Ml;n%;08i~OMC<~XpFlZH z4F|XlVE2YstD_YQK*#USmFCi7h^p$$Oq-*lNp$Uk>_>c_NJQZ;gV`#uzsk5J4etYa zNr1bvxwO3AEnw z(&bUUz(9nRLCY3@_?{;}*$0z(*B4LZ;hRKXXvhy&I`ESKAANU_y`}q%!p-a8B^rvH LFAG06Pm%p^#-Y03 literal 0 HcmV?d00001 diff --git a/html/icons/apple-touch-icon.png b/html/icons/apple-touch-icon.png new file mode 100644 index 0000000000000000000000000000000000000000..08147fccf030a00b18b0b1f6123ed40dec91d315 GIT binary patch literal 1813 zcmeAS@N?(olHy`uVBq!ia0vp^TR@nD4M^IaWiw)6V7ue#;uum9_x8rYte8}pwvYL0 ztJ5xS@in_;X0BLr(RKZSXn`f()APK-eFZyRIh7(<7K%SO=6k&&iM4z=fCRz z4Q<<65%~PW-S0h@7qoZCU%9z@bK%RSzZm`mPTv{){OhA4>#xsJ=iaruzW+pf(d$SjLb9o%=H%NWaZhpsR!}52p3Rrl54kH z+xGHGv6U?x)h2OcmWj*HIUtChSPXF}elS_Q>?X!Ka zeZ1jKe{1XlfBj8=k{|ZIzJB|&e0_%b{rdIqbM;9@`av7&1$8wFLtbR zJbp43qEOswUG{~-BJo)&<{3fPTSv8d#t!o!`EB1+7a*Ut{+!#N!)u@OwzuvBmc$<) zzs|X!+_N|OdEDH>AB)$% zetYjqv+ZhQ%en(+wZm`y?YGa04qw0SHM9HtY^&MZ#P`c=JAA(`fAdY7$HtEO|E&H@ zUSG%b`Dw(SV~an@_N~`raz4>L<2>iC)3$p$n8ejKY`P%+&2rC1rdXDLjJ3+rm2I=U R literal 0 HcmV?d00001 diff --git a/html/icons/favicon-32x32.png b/html/icons/favicon-32x32.png new file mode 100644 index 0000000000000000000000000000000000000000..2318d1f96ca3e2cd8f05b597f9863f28e83b3a9b GIT binary patch literal 219 zcmeAS@N?(olHy`uVBq!ia0vp^3LwnE1|*BCs=ffJMV>B>ArbCxryb-yWWd0DH`HUg z#!D5C6^^a^$_p1Mq-kz&`R?Gfs%dwV{oBKpKc1i1d44IEL*~M{om<0Gu0+Wz2b9Wu z5cuu=eu|{$o(5Zf14dyGYW&K1VcAoiQ$1!!_olC~lh1Hg5ObJ+VY&RRT4meB6X#PM zjx+x1SGd2=<9M@)LhL%Z1ST~wnyny^;T-xxILUZ1pY_SM$G@BH<*l}!{BiT}GoWi3 NJYD@<);T3K0RTh4R5}0v literal 0 HcmV?d00001 diff --git a/html/icons/favicon.ico b/html/icons/favicon.ico new file mode 100644 index 0000000000000000000000000000000000000000..dbebe9b952d88b78c8a968e15095995026a213c6 GIT binary patch literal 15406 zcmeI1v5ONy6vm$>!pX^TLL|+3i3#YHSBa9wQX!QH0a5l~8(YC5e}Q0=(!$~bf)J~e zHg*eQ7qGI+zhGxMe&1dej$hs%XUv8Kk;X5#a#aTNprN`JT%p*+D{`$=%eE2vo<>jk!ZX58u zG8SmhzAnO#pP>}?%dyLB*(Uqn`;TixKb0{<`|0~xz6M-}i*Rkt$Rffl*vx`0B23V3 za}ZlX^h?{=IhTEP|BY8`z;(C?)|P8TKbJA4|EnF0GhOfiFh0eOK17l@8Nlw|{Xuy8 zEOBwG*U!hs&BlbfwtWh_x9_HkymyW7^MU*?{b~Ox{+y4goBXZ#n*`=i z#!(L`?4F;bc@E@0+!W?+Gct9O221g*GIcWGb4~)hDH!wS*xobI`0~H>r~Rk+D-6R@sM(!d7k0M<+DW)FSt?p_P5ht$o@ z!%k>6uY?xH$iQ+7jL_%9N5k;#`?7XEea-^!p}m?n1nUjfQM(j8H?w=PLb3KOWr_HqwvuQ)t0+m42ijk8TPZ=|}o0 zwBWh^4gKuk9eW5^E2x_u`aC!|%-`Yp9$zP{Yp^zBb`^|3x&`h8>!B9M-_q)4gg*CJ z=WBx{h?YSrd^~DfTi62`;5&TXpsq25Z|SSL$ - + 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):