aboutsummaryrefslogtreecommitdiff
path: root/src/match_up/templates/players.j2
blob: cd419255b2de68fa0e8c786d03f09da259d0d665 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
{% from "macros.j2" import header, navbar, footer, player_button, guest_control %}
<!doctype html>
<html lang="en">
	{{ header(url_for) }}
	<body>
		<section class="section">
			{{ navbar(url_for) }}
			<h4 class="title is-4">Players</h4>
			<div class="fixed-grid has-4-cols">
            <div class="grid">
            {% for player in players %}
                <div class="cell"> {{ player_button(player) }} </div>
            {% endfor %}
            </div>
			<h4 class="title is-4">Guests</h4>
			<div class="fixed-grid has-3-cols">
			<div class="grid">
				{% for level in guests %}
                	<div class="cell"> {{ guest_control(level, guests[level]) }} </div>
            	{% endfor %}
			</div>
		</section>
		<section class="section">
			<div class="column">
				<button class="button is-dark is-responsive" 
						hx-post="/reset_players">RESET!</button>
			</div>
			{{ footer() }}
		</section>
	</body>
</html>