contentmatcher/templates/menu.html

30 lines
1.1 KiB
HTML
Raw Permalink 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" %}
2022-10-30 23:25:51 +01:00
<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" %}
2022-10-30 23:25:51 +01:00
<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>
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>
2023-04-08 23:42:02 +02:00
<button type="submit" name="menu" value="import-link">Import Link</button>
2022-08-12 19:51:55 +02:00
<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 %}