contentmatcher/templates/menu.html

28 lines
923 B
HTML

{% 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>
{% 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 %}