persistant settings added
This commit is contained in:
@@ -7,23 +7,17 @@
|
||||
<body>
|
||||
<center>
|
||||
<h2>Stock Ticker Control Panel</h2>
|
||||
<h3>Time of last page reload <br> {{ time }}</h3>
|
||||
<hr width=70% size=3 noshade>
|
||||
<p>Last command sent: {{ lastcommand }}</p>
|
||||
<br>
|
||||
|
||||
<h3>Runtime: {{ runtime }}s & API call: {{ delay }}s before refresh <br> displayed at a speed of {{ speedtime }}m/s</h3>
|
||||
<p>Set the amount of time each image is displayed before a refresh in seconds</p>
|
||||
<form action="/Runtime" method="POST">
|
||||
<input name="text" placeholder="300"style="height:24px">
|
||||
<input type="submit" value="Runtime"style="height:30px">
|
||||
<br><br>
|
||||
<form action="/matrix" method="POST">
|
||||
<input type="submit" name="Run Display" value="Run Display" style="height:50px" >
|
||||
<input type="submit" name="Stop Display (at next refresh)" value="Stop Display"style="height:50px">
|
||||
<input type="submit" name="Shutdown the pi" value="Shutdown the pi"style="height:50px">
|
||||
</form>
|
||||
<p>Set the amount of time before next image refresh that the stocks are updated</p>
|
||||
<form action="/Delay" method="POST">
|
||||
<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 (s, m of f for slow, medium or fast)</p>
|
||||
<br><br>
|
||||
<br><br>
|
||||
|
||||
<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="m"style="height:24px">
|
||||
<input type="submit" value="Speed"style="height:30px">
|
||||
@@ -34,7 +28,7 @@
|
||||
<input name="text" placeholder="10"style="height:24px">
|
||||
<input type="submit" value="Brightness"style="height:30px">
|
||||
</form>
|
||||
|
||||
|
||||
<br><br>
|
||||
<h3>Tickers to display</h3>
|
||||
<p>To change the tickers displayed please upload a CSV (comma separated value) file with 11 tickers on each row e.g</p>
|
||||
@@ -44,7 +38,7 @@
|
||||
<p><input type=file name=file style="height:30px">
|
||||
<input type=submit value=Upload style="height:30px">
|
||||
</form>
|
||||
|
||||
|
||||
<br><br>
|
||||
<h3>Logos</h3>
|
||||
<p>Upload logo images (e.g "TICKER.png") or change the default images here</p>
|
||||
@@ -57,18 +51,6 @@
|
||||
<input type=submit value=Upload style="height:30px">
|
||||
</form>
|
||||
|
||||
|
||||
<br><br>
|
||||
<form action="/matrix" method="POST">
|
||||
<input type="submit" name="Run Display" value="Run Display" style="height:50px" >
|
||||
<input type="submit" name="Stop Display (at next refresh)" value="Stop Display (at next refresh)"style="height:50px">
|
||||
<input type="submit" name="Shutdown the pi" value="Shutdown the pi"style="height:50px">
|
||||
</form>
|
||||
<br><br>
|
||||
<br><br>
|
||||
|
||||
<p>Logos currently in file:</p>
|
||||
<p>{{ logofiles }}</p>
|
||||
</center>
|
||||
</body>
|
||||
</html>
|
||||
|
Reference in New Issue
Block a user