blob: 16d8ceb8978f0d80ac360f94859f400f11430b77 (
plain)
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
32
33
34
35
36
37
38
|
//- vim:ts=4:sw=4:
doctype html
html
head
include head
title= SITE_NAME
if active_games.length > 0
meta(http-equiv="refresh" content=300)
body
include header
article
h1 Your games
if ready_games.length > 0
h2 Ready to start
+gamelist(ready_games, "ready")
if open_games.length > 0
h2 Open
+gamelist(open_games, "open")
if replacement_games.length > 0
h2 Need replacement
+gamelist(replacement_games, "replacement")
if active_games.length > 0
h2 Active
+gamelist(active_games, "active")
if finished_games.length > 0
h2 Recently finished
+gamelist(finished_games, "finished")
p <a href="/games/finished">All your finished games</a>
if open_games.length === 0 && ready_games.length === 0 && active_games.length === 0 && finished_games.length === 0
p Nothing here.
|