added new/continiue logic

master
Kostanjevec 2022-06-14 18:51:41 +02:00
parent 7fb71a6230
commit a374e543bc
1 changed files with 6 additions and 1 deletions

View File

@ -6,7 +6,12 @@
{% block content %}
<form method="post">
<button type="subimt" name="menu" value="new_session">New Session</button> <br />
{% if deck_status == "old" %}
<button type="subimt" name="menu" value="new_session">Continiue Session</button> <br />
{% else %}
<button type="subimt" name="menu" value="new_session">New Session</button> <br />
{% endif %}
<button type="subimt" name="menu" value="matches">Matches</button> <br />
<button type="subimt" name="menu" value="upload">Upload</button> <br />
<button type="subimt" name="menu" value="settings">Settings</button> <br />