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

63 lines
2.0 KiB
HTML
Raw Normal View History

2017-12-29 14:22:58 +00:00
{% extends "base.html" %}
{% block title %}
Report a Submission - {{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">
2017-12-29 14:22:58 +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 %}
</div>
<div class="details season col">
2017-12-29 14:22:58 +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-29 14:22:58 +00:00
{% if episode.season.description %}
{{ episode.season.description }}
{% else %}
{{ show.description }}
{% endif %}
</p>
</div>
</div>
</section>
<section class="container mb-4 mt-2">
<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">Report</li>
</ol>
</nav>
2017-12-29 14:22:58 +00:00
<h1>Report a Submission</h1>
{% if error %}
<div class="alert alert-danger">{{error}}</div>
2017-12-29 14:22:58 +00:00
{% endif %}
<form action="" method="post">
<div class="bg-light p-4 mb-4">
<div class="submitter font-weight-bold">Submission by {{ submission.user.display_name }}</div>
<div class="url-to font-weight-light">{{ submission.url }}</div>
2017-12-29 14:22:58 +00:00
{% if submission.user.is_staff %}
<div class="alert alert-danger">
<b>Warning</b>
<p>This submission is made by a staff member. Unnecessary reporters <b>will</b> be banned.</p>
</div>
{% endif %}
</div>
{% include "form.html" %}
<div class="form-group">
<button type="submit" class="btn btn-primary">Submit</button>
2017-12-29 14:22:58 +00:00
</div>
</form>
</section>
{% endblock %}