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

+15 -1
View File
@@ -5,5 +5,19 @@
{% endblock %}
{% block content %}
Words go here.
{% if page > 0 %}<a href="{{ url_for('dictionary', page=page-1) }}">Prev</a>{% endif %}
Page {{ page }} / {{ max_pages }}
{% if page < max_pages %}<a href="{{ url_for('dictionary', page=page+1) }}">Next</a>{% endif %}
<ul>
{% for word in words %}
<li>{{ word }}</li>
{% endfor %}
</ul>
{% endblock %}