Skip to content
Snippets Groups Projects
Commit dd3d0026 authored by Ezzakri Anas's avatar Ezzakri Anas
Browse files

Added js file

parent 89464cac
Branches
No related tags found
No related merge requests found
......@@ -113,6 +113,7 @@ def afficher_message():
message
image
"""
print(disabled_button)
return {'message': message, 'image' : generate_plot()}
def generate_frames():
......
......@@ -68,10 +68,10 @@
<div class="row">
<form method="POST" action="/game" id="move">
<button class="btn bg custom-button btn-petit" type="submit" id="start-button4" name="psw2" value="2" {% if disabled_button == 'stop-button' %}disabled{% endif %}> &lt;&lt; </button>
<button class="btn bg custom-button btn-petit" type="submit" id="start-button1" name="psw2" value="3" {% if disabled_button == 'stop-button' %}disabled{% endif %}> &lt; </button>
<button class="btn bg custom-button btn-petit" type="submit" id="start-button2" name="psw2" value="4" {% if disabled_button == 'stop-button' %}disabled{% endif %}> &gt; </button>
<button class="btn bg custom-button btn-petit" type="submit" id="start-button3" name="psw2" value="5" {% if disabled_button == 'stop-button' %}disabled{% endif %}> &gt;&gt; </button>
<button class="btn bg custom-button btn-petit" type="submit" id="start-button4" name="psw2" value="2"> &lt;&lt; </button>
<button class="btn bg custom-button btn-petit" type="submit" id="start-button1" name="psw2" value="3"> &lt; </button>
<button class="btn bg custom-button btn-petit" type="submit" id="start-button2" name="psw2" value="4"> &gt; </button>
<button class="btn bg custom-button btn-petit" type="submit" id="start-button3" name="psw2" value="5"> &gt;&gt; </button>
</form>
<div class="col">
<form method="POST" action="/undo">
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment