2017-11-11 12:57:52 +00:00
|
|
|
{% extends "base.html" %}
|
|
|
|
{% block title %}
|
2017-11-11 13:33:27 +00:00
|
|
|
Submit a link - S{{episode.season.number}}E{{episode.episode}} - {{show.name}} - Episodes.Community
|
2017-11-11 12:57:52 +00:00
|
|
|
{% endblock %}
|
|
|
|
{% block content %}
|
|
|
|
<section class="show-details">
|
|
|
|
<div class="banner" style="background-image: url(/media/uploaded_resources/{{show.banner}});"></div>
|
2018-02-27 17:49:45 +00:00
|
|
|
<div class="banner-cover row p-4">
|
2017-11-11 12:57:52 +00:00
|
|
|
<div class="artwork">
|
2017-12-26 17:11:18 +00:00
|
|
|
{% if episode.season.artwork %}
|
|
|
|
<img src="/media/uploaded_resources/{{episode.season.artwork}}">
|
|
|
|
{% else %}
|
|
|
|
<img src="/media/uploaded_resources/{{show.artwork}}">
|
|
|
|
{% endif %}
|
2017-11-11 12:57:52 +00:00
|
|
|
</div>
|
2018-02-27 17:49:45 +00:00
|
|
|
<div class="details season col">
|
2017-11-11 12:57:52 +00:00
|
|
|
<h1>{{show.name}}</h1>
|
2017-12-26 17:11:18 +00:00
|
|
|
{% if episode.season.name %}
|
|
|
|
<h3>{{ episode.season.name }}</h3>
|
|
|
|
{% else %}
|
|
|
|
<h3>Season {{ episode.season.number }}</h3>
|
|
|
|
{% endif %}
|
2018-02-27 17:49:45 +00:00
|
|
|
<p>
|
2017-12-28 15:24:27 +00:00
|
|
|
{% if episode.season.description %}
|
|
|
|
{{ episode.season.description }}
|
|
|
|
{% else %}
|
|
|
|
{{ show.description }}
|
|
|
|
{% endif %}
|
2017-11-11 12:57:52 +00:00
|
|
|
</p>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
</section>
|
2018-02-27 17:49:45 +00:00
|
|
|
<section class="container mt-5 mb-5">
|
|
|
|
<nav aria-label="breadcrumb">
|
|
|
|
<ol class="breadcrumb">
|
2018-03-02 13:46:25 +00:00
|
|
|
<li class="breadcrumb-item"><a href="{{show.url}}">{{show.name}}</a></li>
|
|
|
|
<li class="breadcrumb-item"><a href="{{show.url}}/episode/{{episode.season.number}}/{{episode.episode}}-{{episode.name|slugify}}">{{episode.name}}</a></li>
|
2018-02-27 17:49:45 +00:00
|
|
|
<li class="breadcrumb-item active" aria-current="page">Submit</li>
|
|
|
|
</ol>
|
|
|
|
</nav>
|
2017-11-11 12:57:52 +00:00
|
|
|
<h1>Submit a link</h1>
|
|
|
|
{% if error %}
|
2018-02-27 17:49:45 +00:00
|
|
|
<div class="alert alert-danger">{{error}}</div>
|
2017-11-11 12:57:52 +00:00
|
|
|
{% endif %}
|
2018-02-27 17:49:45 +00:00
|
|
|
<form class="form-horizontal" role="form" action="" method="post">
|
|
|
|
{% include "form.html" %}
|
|
|
|
<div class="form-group">
|
|
|
|
<button type="submit" class="btn btn-primary">Submit</button>
|
|
|
|
</div>
|
2017-11-11 12:57:52 +00:00
|
|
|
</form>
|
|
|
|
</section>
|
|
|
|
{% endblock %}
|