Browse Source

insert player_base.html between base.html and player templates

testing
Burathar 4 years ago
parent
commit
79f9d503bb
  1. 2
      app/templates/base.html
  2. 2
      app/templates/catch_bunny.html
  3. 2
      app/templates/game_bunny_dashboard.html
  4. 2
      app/templates/game_hunter_dashboard.html
  5. 2
      app/templates/index.html

2
app/templates/base.html

@ -49,5 +49,3 @@ @@ -49,5 +49,3 @@
{% block app_content %}{% endblock %}
</div>
{% endblock %}

2
app/templates/catch_bunny.html

@ -1,7 +1,7 @@ @@ -1,7 +1,7 @@
{% extends 'base.html' %}
{% import 'bootstrap/wtf.html' as wtf %}
{% block app_content %}
{% block player_app_content %}
<h1>Catch Bunny</h1>
<div class="row">
<div class="col-md-4">

2
app/templates/game_bunny_dashboard.html

@ -7,7 +7,7 @@ @@ -7,7 +7,7 @@
<script src="{{ url_for('static', filename='assets/leaflet/utils.js') }}"></script>
{% endblock %}
{% block app_content %}
{% block player_app_content %}
<h1>{{ game.name }}: {{ current_user.name }}</h1>
{% include '_game_player_info.html' %}
<h2>Objective Locations:</h2>

2
app/templates/game_hunter_dashboard.html

@ -7,7 +7,7 @@ @@ -7,7 +7,7 @@
<script src="{{ url_for('static', filename='assets/leaflet/utils.js') }}"></script>
{% endblock %}
{% block app_content %}
{% block player_app_content %}
<h1>{{ game.name }}: {{ current_user.name }}</h1>
{% include '_game_player_info.html' %}
<h2>Bunnies:</h2>

2
app/templates/index.html

@ -1,6 +1,6 @@ @@ -1,6 +1,6 @@
{% extends 'base.html' %}
{% block app_content %}
{% block player_app_content %}
<h1>Hi, {{ current_user.name }}!</h1>
<h2>My games:</h2>

Loading…
Cancel
Save