This is just work-in-progress. Switching underlying frameworks...

I wanna go FastAPI.
This commit is contained in:
Eli Ribble 2023-05-15 14:46:58 -07:00
parent 320591277f
commit c36a32179a
6 changed files with 153 additions and 6 deletions

View file

@ -1,3 +1,14 @@
<html>
<h1>Pools'n'Pumps Device</h1>
<h1>Pools'n'Pumps Device</h1>
{% if not relays %}
<h2>No relays found.</h2>
{% else %}
<h2>Relays</h2>
<ul>
{% for relay in relays %}
<li>{{ relay.name }}</li>
{% endfor %}
</ul>
{% endif %}
<a href="/relay/create">Create Relay</a>
</html>