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/episode_add.html

52 lines
1.5 KiB
HTML
Raw Permalink Normal View History

{% extends "base.html" %}
{% block title %}
Add an Episode - Season {{season.number}} of {{show.name}} - Episodes.Community
{% 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">
<div class="artwork">
2017-12-28 15:24:27 +00:00
{% if episode.season.artwork %}
<img src="/media/uploaded_resources/{{season.artwork}}">
{% else %}
<img src="/media/uploaded_resources/{{show.artwork}}">
{% endif %}
</div>
<div class="details season col">
<h1>{{show.name}}</h1>
2017-12-28 15:24:27 +00:00
{% if season.name %}
<h3>{{ season.name }}</h3>
{% else %}
<h3>Season {{ season.number }}</h3>
{% endif %}
<p>
2017-12-28 15:24:27 +00:00
{% if season.description %}
{{ season.description }}
{% else %}
{{ show.description }}
{% endif %}
</p>
</div>
</div>
</section>
<section class="container mt-2 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 active" aria-current="page">New Episode</li>
</ol>
</nav>
<h1>Add an Episode</h1>
{% if error %}
<div class="alert alert-danger">{{error}}</div>
{% 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>
</form>
</section>
{% endblock %}