added due cards and interval info to ui
parent
e4d68ab719
commit
439a53dc7c
|
@ -15,9 +15,9 @@
|
||||||
<input type="hidden" name="card_id" value="{{ card['id'] }}">
|
<input type="hidden" name="card_id" value="{{ card['id'] }}">
|
||||||
<!-- <span id="buttonContainer" style="display: flex; justify-content: space-around;"> -->
|
<!-- <span id="buttonContainer" style="display: flex; justify-content: space-around;"> -->
|
||||||
<span id="buttonContainer">
|
<span id="buttonContainer">
|
||||||
<button type="submit" name="rate" value="Yes" accesskey="1">Yes</button> <!--ti keyi so alt+shit+key...-->
|
<button type="submit" name="rate" value="Yes" accesskey="1">Yes (1)</button> <!--ti keyi so alt+shit+key...-->
|
||||||
<button type="submit" name="rate" value="Maybe" accesskey="2">Maybe</button>
|
<button type="submit" name="rate" value="Maybe" accesskey="2">Maybe ({{maybe_in}})</button>
|
||||||
<button type="submit" name="rate" value="No" accesskey="3">No</button>
|
<button type="submit" name="rate" value="No" accesskey="3">No ({{no_in}})</button>
|
||||||
<button type="submit" name="rate" value="Delete" accesskey="d">Delete</button>
|
<button type="submit" name="rate" value="Delete" accesskey="d">Delete</button>
|
||||||
<button type="submit" name="share" value="Share" accesskey="s">Share</button>
|
<button type="submit" name="share" value="Share" accesskey="s">Share</button>
|
||||||
</span>
|
</span>
|
||||||
|
|
|
@ -5,10 +5,12 @@
|
||||||
{% block content %}
|
{% block content %}
|
||||||
<main>
|
<main>
|
||||||
<form method="post">
|
<form method="post">
|
||||||
{% if deck_status == "old" %}
|
{% if deck_status == "start" %}
|
||||||
<button type="submit" name="menu" value="new_session">Continue</button>
|
<button type="submit" name="menu" value="new_session">Start {{remaining_new}}/{{remaining_due}}</button>
|
||||||
{% else %}
|
{% elif deck_status == "continue" %}
|
||||||
<button type="submit" name="menu" value="new_session">Start</button>
|
<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 %}
|
{% endif %}
|
||||||
|
|
||||||
<button type="submit" name="menu" value="matches">Matches</button>
|
<button type="submit" name="menu" value="matches">Matches</button>
|
||||||
|
|
Loading…
Reference in New Issue