Initial commit
This commit is contained in:
commit
94633e2bf8
7 changed files with 337 additions and 0 deletions
26
templates/setup.html
Normal file
26
templates/setup.html
Normal file
|
|
@ -0,0 +1,26 @@
|
|||
<!DOCTYPE html>
|
||||
<html>
|
||||
<head>
|
||||
<title>VCD to 8 Segment SVG renderer</title>
|
||||
</head>
|
||||
<body>
|
||||
{% with messages = get_flashed_messages() %}
|
||||
{% if messages %}
|
||||
<ul class="flashes">
|
||||
{% for message in messages %}
|
||||
<li>{{ message }}</li>
|
||||
{% endfor %}
|
||||
</ul>
|
||||
{% endif %}
|
||||
{% endwith %}
|
||||
<h4>Select signal</h4>
|
||||
<form method="POST" enctype="multipart/form-data" action="/setup/{{ uuid }}">
|
||||
<select name="signal">
|
||||
{% for signal in signal_names %}
|
||||
<option value="{{signal}}" {{"selected" if signal == default_signal else ""}}>{{ signal }}</option>
|
||||
{% endfor %}
|
||||
</select>
|
||||
<input type="submit" value="Submit"/>
|
||||
</form>
|
||||
</body>
|
||||
</html>
|
||||
Loading…
Add table
Add a link
Reference in a new issue