From 79f9d503bb46a573bc6f72e7f151e63b263b4399 Mon Sep 17 00:00:00 2001 From: Burathar Date: Wed, 22 Jul 2020 15:54:26 +0200 Subject: [PATCH] insert player_base.html between base.html and player templates --- app/templates/base.html | 2 -- app/templates/catch_bunny.html | 2 +- app/templates/game_bunny_dashboard.html | 2 +- app/templates/game_hunter_dashboard.html | 2 +- app/templates/index.html | 2 +- 5 files changed, 4 insertions(+), 6 deletions(-) diff --git a/app/templates/base.html b/app/templates/base.html index 9a45961..903727d 100644 --- a/app/templates/base.html +++ b/app/templates/base.html @@ -49,5 +49,3 @@ {% block app_content %}{% endblock %} {% endblock %} - - diff --git a/app/templates/catch_bunny.html b/app/templates/catch_bunny.html index 2ff7898..5058cc2 100644 --- a/app/templates/catch_bunny.html +++ b/app/templates/catch_bunny.html @@ -1,7 +1,7 @@ {% extends 'base.html' %} {% import 'bootstrap/wtf.html' as wtf %} -{% block app_content %} +{% block player_app_content %}

Catch Bunny

diff --git a/app/templates/game_bunny_dashboard.html b/app/templates/game_bunny_dashboard.html index bb7c884..0f09d02 100644 --- a/app/templates/game_bunny_dashboard.html +++ b/app/templates/game_bunny_dashboard.html @@ -7,7 +7,7 @@ {% endblock %} -{% block app_content %} +{% block player_app_content %}

{{ game.name }}: {{ current_user.name }}

{% include '_game_player_info.html' %}

Objective Locations:

diff --git a/app/templates/game_hunter_dashboard.html b/app/templates/game_hunter_dashboard.html index e653533..d72a5ae 100644 --- a/app/templates/game_hunter_dashboard.html +++ b/app/templates/game_hunter_dashboard.html @@ -7,7 +7,7 @@ {% endblock %} -{% block app_content %} +{% block player_app_content %}

{{ game.name }}: {{ current_user.name }}

{% include '_game_player_info.html' %}

Bunnies:

diff --git a/app/templates/index.html b/app/templates/index.html index 7b62d6b..d2fedd0 100644 --- a/app/templates/index.html +++ b/app/templates/index.html @@ -1,6 +1,6 @@ {% extends 'base.html' %} -{% block app_content %} +{% block player_app_content %}

Hi, {{ current_user.name }}!

My games: