blue for new, green for due cards

master
janko 2022-10-30 23:25:51 +01:00
parent 94243b4f67
commit 39e9afda79
1 changed files with 2 additions and 2 deletions

View File

@ -6,9 +6,9 @@
<main> <main>
<form method="post"> <form method="post">
{% if deck_status == "start" %} {% if deck_status == "start" %}
<button type="submit" name="menu" value="new_session">Start {{remaining_new}}/{{remaining_due}}</button> <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" %} {% elif deck_status == "continue" %}
<button type="submit" name="menu" value="new_session">Continue {{remaining_new}}/{{remaining_due}}</button> <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" %} {% elif deck_status == "done" %}
<button disabled type="submit" name="menu" value="new_session">Start</button> <button disabled type="submit" name="menu" value="new_session">Start</button>
{% endif %} {% endif %}