Unblurred image rendering in browsers

Unblurred image rendering in browsers. Affects both desktop and mobile image rendering.

![Before and after](https://i.imgur.com/pffQREV.png)
This commit is contained in:
dwi 2019-11-03 22:14:43 +01:00 committed by GitHub
parent 04e551600d
commit d6c0ec0dfd
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -49,7 +49,7 @@ INDEX = """<html>
</head> </head>
<body> <body>
<div style="position: absolute; top:0; left:0; width:100%%;"> <div style="position: absolute; top:0; left:0; width:100%%;">
<img src="/ui" id="ui" style="width:100%%"/> <img src="/ui" id="ui" style="width:100%%;image-rendering: pixelated;"/>
<br/> <br/>
<hr/> <hr/>
<form method="POST" action="/shutdown" onsubmit="return confirm('This will halt the unit, continue?');"> <form method="POST" action="/shutdown" onsubmit="return confirm('This will halt the unit, continue?');">