From b68c9ee825ce1b69dcba5656671538cb901d8502 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Maximilian=20Ke=C3=9Fler?= Date: Mon, 11 Dec 2023 00:21:01 +0100 Subject: [PATCH] add missing player template --- templates/player.html | 43 +++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 43 insertions(+) create mode 100644 templates/player.html diff --git a/templates/player.html b/templates/player.html new file mode 100644 index 0000000..ecb3d1d --- /dev/null +++ b/templates/player.html @@ -0,0 +1,43 @@ +{% extends "layout.html" %} +{% from "stats_table.html" import stats_list, games_table_js %} + +{% block navbar %} + +{% endblock %} + +{% block content %} +
+
+
+

+ Player Statistics for {{player_name}} +

+ {% for rating_type, player_row in player_stat.items() %} +

+ {% if rating_type == 0 %} + No Variant + {% else %} + Clue Starved + {% endif %} +

+ {{ stats_list(player_row.stats, True, True) }} + {% endfor %} +
+
+
+ +{% endblock %}