Snapshot flask development.

Dictionary and solver pages can partially display, but can't
make any changes.
This commit is contained in:
dongar committed 2023-04-02 08:25:24 -05:00
1 parent f7dd7c40f8
commit 17c8aefbed
5 files changed
+102 -13

No files matched your search

+24 -3
View File
@@ -1,9 +1,30 @@
{% extends "layout.html" %}
{% block title %}
Solver!
Solver!
{% endblock %}
{% block content %}
Welcome to solver!
{% endblock %}
<ul>
{% for guess in guesses %}
<li>{{ guess }}
{% for i in range(5) %}
<select name="g{{i}}" id="g{{i}}">
<option value="U">Unknown</option>
<option value="I">Incorrect</option>
<option value="M">Move</option>
<option value="C">Correct</option>
</select>
{% endfor %}
</li>
{% endfor %}
</ul>
{%if solution %}
The proposed solution is <b>{{ solution }}</b>.
{% else %}
No solution found.
{% endif %}
{% endblock %}