Snapshot flask development.
Dictionary and solver pages can partially display, but can't make any changes.
This commit is contained in:
1 parent
f7dd7c40f8
commit
17c8aefbed
5 files changed
+102
-13
No files matched your search
@@ -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 %}
|
||||
Reference in new issue
Block a user