participer.thsf.net/templates/new_turn.html

23 lines
999 B
HTML

{% extends "index.html" %}
{% block title %}Nouveau tour de staff{% endblock %}
{% block main %}
<article>
<h3>Nouveau tour de staff</h3>
<form method='POST' action='/turn/add'>
<label>Role: </label><select id='role_id' name='role_id'>
{% for role in roles %}
<option value='{{ role.id }}'>{{ role.role }}</option>
{% endfor %}
</select><br/>
<label>Jour de la semaine: </label><select id='day' name='day'>
{% for day in days %}
<option value='{{ day }}'>{{ day }}</option>
{% endfor %}
</select><br/>
<label>Début (HH:MM:SS) </label><input id='start' name='start' type='text' maxlength=8/><br/>
<label>Fin: (HH:MM:SS) </label><input id='end' name='end' type='text' maxlength=8/><br/>
<input type='submit' value='Enregistrer' onclick='javascript:return save_turn();'/>
</form>
</article>
{% endblock %}