From dcc5cac9e324fe2aeab7f8834e7807f5deb411ed Mon Sep 17 00:00:00 2001 From: Adrian Gunnar Lauterer Date: Sat, 30 Mar 2024 18:05:22 +0100 Subject: [PATCH] player redirect fixes --- src/templates/game.html | 60 +++++++++--------------------------- src/templates/gametitle.html | 47 +++++++++++++++++++--------- 2 files changed, 46 insertions(+), 61 deletions(-) diff --git a/src/templates/game.html b/src/templates/game.html index 5f9d951..f9d13ab 100644 --- a/src/templates/game.html +++ b/src/templates/game.html @@ -385,25 +385,6 @@ {% endfor %} - - - - - - {% if player_name %} - - - - - {% if local_game %} - {% set current_index = gamestate.player_names.index(player_name) %} - {% set next_index = current_index + 1 if current_index + 1 < gamestate.player_names|length else 0 %} - Next Player - {% endif %} - - {% endif %} - - -
+
+
+
+