contentmatcher/templates/menu.html

30 lines
1.1 KiB
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 <span style='color:blue'>{{remaining_new}}</span>|<span style='color:green'>{{remaining_due}}</span></button>
{% elif deck_status == "continue" %}
<button type="submit" name="menu" value="new_session">Continue <span style='color:blue'>{{remaining_new}}</span>|<span style='color:green'>{{remaining_due}}</span></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="import-link">Import Link</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 %}