add in Episode route, forward/back buttons

preparing to add in CSS and stuff, but I'm kind of not-at-all-wanting-to-do-that
This commit is contained in:
Xevion
2020-01-21 23:16:19 -06:00
parent 65042c56e1
commit cbf65f221a
4 changed files with 26 additions and 7 deletions

View File

@@ -1,5 +1,10 @@
{% extends 'content.html' %}
{% block body %}
<a href="{{ url_for('viewSeason', season=episode.season_id) }}" >Go to Season {{ episode.season_id }}</a>
<br>
<a href="{{ url_for('rebuildEpisode', season=episode.season_id, episode=episode.number) }}">Rebuild Episode</a>
<br>
<br>
{% for section in episode.sections %}
{% for quote in section.quotes %}
<b>{{ quote.speaker }}:</b> {{ quote.text }}

View File

@@ -1,6 +1,10 @@
{% extends 'base.html' %}
{% block body %}
{{ super() }}
<a href="{{ url_for('index') }}" >See all Seasons</a>
<br><br>
Season {{ season.id }}
<br>
{% for episode in season.episodes %}