mirror of
https://github.com/Xevion/the-office.git
synced 2025-12-17 20:13:32 -06:00
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:
@@ -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 }}
|
||||
|
||||
@@ -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 %}
|
||||
|
||||
Reference in New Issue
Block a user