This repository has been archived on 2022-11-26. You can view files and clone it, but cannot push or open issues or pull requests.
Episodes.Community/Show/templates/submit.html

53 lines
1.7 KiB
HTML
Raw Permalink Normal View History

2017-11-11 12:57:52 +00:00
{% extends "base.html" %}
{% block title %}
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>
<div class="banner-cover row p-4">
2017-11-11 12:57:52 +00:00
<div class="artwork">
{% 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>
<div class="details season col">
2017-11-11 12:57:52 +00:00
<h1>{{show.name}}</h1>
{% if episode.season.name %}
<h3>{{ episode.season.name }}</h3>
{% else %}
<h3>Season {{ episode.season.number }}</h3>
{% endif %}
<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>
<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>
<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 %}
<div class="alert alert-danger">{{error}}</div>
2017-11-11 12:57:52 +00:00
{% endif %}
<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 %}