summaryrefslogtreecommitdiff
path: root/src/match_up/templates/players.j2
blob: 0beeee9cb3ef486aa82e34966ef4e03bb6ee3572 (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">Members</h4>
			<div class="fixed-grid has-4-cols">
            <div class="grid">
            {% for regular in regulars %}
                <div class="cell"> {{ player_button(regular) }} </div>
            {% endfor %}
            </div>
			<h4 class="title is-4">Guests</h4>
			<div class="fixed-grid has-4-cols">
			<div class="grid">
			{% for guest in guests %}
                <div class="cell"> {{ player_button(guest) }} </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>