code tidied up, redundant api calls removed and real time brightness and speed controls added

This commit is contained in:
Neythen
2021-05-03 11:39:31 +01:00
parent 61c27e5935
commit c8f8e24667
26 changed files with 137 additions and 140 deletions

View File

@@ -23,11 +23,17 @@
<input name="text" placeholder="20"style="height:24px">
<input type="submit" value="Delay"style="height:30px">
</form>
<p>Set the speed the image scrolls across the screen (m/s, lower is faster)</p>
<p>Set the speed the image scrolls across the screen (s, m of f for slow, medium or fast)</p>
<form action="/Speed" method="POST">
<input name="text" placeholder="25"style="height:24px">
<input name="text" placeholder="m"style="height:24px">
<input type="submit" value="Speed"style="height:30px">
</form>
<p>Set the brightness, an integer between 0 and 9, higher is brighter</p>
<form action="/Brightness" method="POST">
<input name="text" placeholder="9"style="height:24px">
<input type="submit" value="Brightness"style="height:30px">
</form>
<br><br>
<h3>Tickers to display</h3>
@@ -50,8 +56,7 @@
<p><input type=file name=file style="height:30px">
<input type=submit value=Upload style="height:30px">
</form>
<p>Logos currently in file:</p>
<p>{{ logofiles }}</p>
<br><br>
<form action="/matrix" method="POST">
@@ -61,6 +66,9 @@
</form>
<br><br>
<br><br>
<p>Logos currently in file:</p>
<p>{{ logofiles }}</p>
</center>
</body>
</html>
</html>