summaryrefslogtreecommitdiff
path: root/templates/players.j2
diff options
context:
space:
mode:
Diffstat (limited to 'templates/players.j2')
-rw-r--r--templates/players.j29
1 files changed, 9 insertions, 0 deletions
diff --git a/templates/players.j2 b/templates/players.j2
new file mode 100644
index 0000000..4eedc54
--- /dev/null
+++ b/templates/players.j2
@@ -0,0 +1,9 @@
+{% from "macros.j2" import player %}
+<div class="fixed-grid has-5-cols">
+<div class="grid">
+{% for id, value in players.items() %}
+ <div class="cell">
+ {{ player(id, value.status, value.name) }}
+ </div>
+{% endfor %}
+</div> \ No newline at end of file