Commit 60cabede authored by echel0n's avatar echel0n

Refactored display show view header

parent 8e662ef3
# Changelog
- * 817bd5d - 2018-12-04: Release v9.4.48
- * dbaa83e - 2018-12-04: Refactored display show view header
- * 5663214 - 2018-12-04: Release v9.4.48
- * e0fd191 - 2018-12-04: Cleaned up mass edit view code. Fixed bug with comparing minseed and minleech values.
- * b55a806 - 2018-12-02: Pre-Release v9.4.48.dev9
- * ade442d - 2018-12-02: Upgraded to Tornado 5.1.1 Refactored IOLoop placement.
......
......@@ -23,7 +23,7 @@
<%block name="content">
<div class="row">
<div class="col-lg-10 mx-auto">
<div class="col-lg-12 mx-auto">
<div class="row">
<!-- Alert -->
% if show_message:
......@@ -34,7 +34,7 @@
</div>
% endif
<div class="col">
<div class="col-lg-10 mx-auto">
<div class="input-group mx-auto" style="width: 30%">
<div class="input-group-prepend">
<button id="prevShow" class="btn fas fa-arrow-left"></button>
......@@ -111,18 +111,17 @@
</div>
</div>
<div class="row">
<div class="row bg-dark border border-white">
<div class="col">
<div class="card bg-transparent font-weight-bold"
style="background-image:linear-gradient(to bottom, rgba(0,0,0,0.6) 0%,rgba(0,0,0,0.6) 100%),
url(${srWebRoot}${showImage(show.indexerid, 'banner').url});
background-size: 100% 100%;">
<div class="row">
<div class="col-lg-8 mx-auto">
<div class="card font-weight-bold">
% if show.overview:
<div class="card-header bg-transparent">
<div class="card-header">
<i>${show.overview}</i>
</div>
% endif
<div class="card-body">
<div class="card-body bg-secondary">
<div class="card-text">
<table class="float-md-left">
<tr>
......@@ -130,7 +129,8 @@
<td>
% if show.imdb_info and 'imdbRating' in show.imdb_info:
<% rating_tip = str(show.imdb_info['imdbRating']) + " / 10" + " Stars and " + str(show.imdb_info['imdbVotes']) + " Votes" %>
<span id="imdbstars" data-imdb-rating="${show.imdb_info['imdbRating']}"
<span id="imdbstars"
data-imdb-rating="${show.imdb_info['imdbRating']}"
title="${rating_tip}"></span>
% endif
</td>
......@@ -383,7 +383,11 @@
</div>
</div>
</div>
</div>
</div>
<div class="row">
<div class="col-lg-10 mx-auto">
<div class="row mt-1">
<div class="col text-left">
<div class="input-group w-50">
......@@ -452,7 +456,13 @@
</div>
</div>
</div>
</div>
</div>
</div>
</div>
<div class="row">
<div class="col-lg-10 mx-auto">
<div class="row">
<div class="col-md-12">
<% curSeason = -1 %>
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment