contentmatcher/templates/menu.html

28 lines
923 B
HTML
Raw Normal View History

2022-08-12 19:51:55 +02:00
{% extends 'partials/base.html' %}
{% block name %}menu{% endblock %}
{% block content %}
<main>
<form method="post">
{% if deck_status == "start" %}
<button type="submit" name="menu" value="new_session">Start {{remaining_new}}/{{remaining_due}}</button>
{% elif deck_status == "continue" %}
<button type="submit" name="menu" value="new_session">Continue {{remaining_new}}/{{remaining_due}}</button>
{% elif deck_status == "done" %}
<button disabled type="submit" name="menu" value="new_session">Start</button>
2022-08-12 19:51:55 +02:00
{% endif %}
<button type="submit" name="menu" value="matches">Matches</button>
<button type="submit" name="menu" value="upload">Upload</button>
<button type="submit" name="menu" value="settings">Settings</button>
<button type="submit" name="menu" value="instructions">Instructions</button>
<!-- <button type="submit" name="menu" value="about">About</button> -->
</form>
</main>
{% endblock %}