Repozitař s webem k orgodostihům
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

72 lines
1.8 KiB

<html>
<head>
<link rel="stylesheet" href="/static/style.css">
<title>Úprava zdraví pacientů</title>
</head>
<body>
<h1>Zadávání pořadí - {{round}}</h1>
<form method="post" action="">
<h2> Problémy </h2>
<ul>
{% for e in errors %}
<li>{{e}}</li>
{% endfor %}
</ul>
<div class="teams">
{% for team in teams %}
<div class="team">
<h2>Tým {{team.name}}</h2>
<div class="persons">
<div class="per1">
<h3>Člověk 1:</h3>
<ul>
{% for c in people %}
<li>
<input type="radio" name="clovek1_{{team.id}}" id="clovek1_{{team.id}}_{{c.id}}" value="{{c.id}}">
<label for="clovek1_{{team.id}}_{{c.id}}">{{c.value}}</label>
</li>
{% endfor %}
</ul>
<h4>Pořadí</h4>
<ul>
{% for p in order %}
<li>
<input type="radio" name="poradi1_{{team.id}}" id="p1_{{team.id}}_{{p.id}}" value="{{p.id}}">
<label for="p1_{{team.id}}_{{p.id}}">{{p.value}}</label>
</li>
{% endfor %}
</ul>
</div>
<div class="per2">
<h3>Člověk 2:</h3>
<ul>
{% for c in people %}
<li>
<input type="radio" name="clovek2_{{team.id}}" id="clovek2_{{team.id}}_{{c.id}}" value="{{c.id}}">
<label for="clovek2_{{team.id}}_{{c.id}}">{{c.value}}</label>
</li>
{% endfor %}
</ul>
<h4>Pořadí</h4>
<ul>
{% for p in order %}
<li>
<input type="radio" name="poradi2_{{team.id}}" id="p2_{{team.id}}_{{p.id}}" value="{{p.id}}">
<label for="p2_{{team.id}}_{{p.id}}">{{p.value}}</label>
</li>
{% endfor %}
</ul>
</div>
</div>
{% if team.emerg_remain > 0 %}
<input type="checkbox" name="zachranka_{{team.id}}" id="zach_{{team.id}}" value="true">
<label for="zach_{{team.id}}">Záchranka</label>
{% endif %}
</div>
{% endfor %}
</div>
<input type="submit" value="Odeslat">
</form>
</body>