participer.thsf.net/templates/new_turn.html

24 lines
1.1 KiB
HTML
Raw Permalink Normal View History

2018-02-28 20:25:08 +11:00
{% 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 %}
2018-03-06 08:12:02 +11:00
<option value='{{ day[1] }}'>{{ day[0] }}</option>
2018-02-28 20:25:08 +11:00
{% 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/>
2018-05-08 19:04:28 +11:00
<label>Nombre de slots (max. 5) </label><input id='num_slot' name='num_slot' type='number' min='1' max='5'/><br/>
2018-02-28 20:25:08 +11:00
<input type='submit' value='Enregistrer' onclick='javascript:return save_turn();'/>
</form>
</article>
{% endblock %}