mirror of
https://github.com/moparisthebest/SickRage
synced 2024-11-12 12:25:07 -05:00
Added small poster view back in
This commit is contained in:
parent
75a72995b9
commit
29403ff2cb
@ -10,6 +10,10 @@
|
|||||||
border: 1px solid #111;
|
border: 1px solid #111;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
.imgsmallposter .small {
|
||||||
|
border: 1px solid #111;
|
||||||
|
}
|
||||||
|
|
||||||
body {
|
body {
|
||||||
background: none repeat scroll 0 0 #222;
|
background: none repeat scroll 0 0 #222;
|
||||||
color: #FFFFFF;
|
color: #FFFFFF;
|
||||||
|
@ -214,6 +214,14 @@ img {
|
|||||||
vertical-align: middle;
|
vertical-align: middle;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
.imgHomeWrapper .smallposter {
|
||||||
|
float: left;
|
||||||
|
width: 45px;
|
||||||
|
height: 66px;
|
||||||
|
position: relative;
|
||||||
|
vertical-align: middle;
|
||||||
|
}
|
||||||
|
|
||||||
.imgHomeWrapper .banner {
|
.imgHomeWrapper .banner {
|
||||||
height: 66px;
|
height: 66px;
|
||||||
overflow: hidden;
|
overflow: hidden;
|
||||||
@ -237,6 +245,16 @@ img {
|
|||||||
margin-right: auto;
|
margin-right: auto;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
.imgsmallposter .small {
|
||||||
|
height: 66px;
|
||||||
|
overflow: hidden;
|
||||||
|
border-radius: 3px;
|
||||||
|
vertical-align: middle;
|
||||||
|
width: 45px;
|
||||||
|
border: 1px solid #111;
|
||||||
|
margin-right: 5px;
|
||||||
|
}
|
||||||
|
|
||||||
.imgposter .poster {
|
.imgposter .poster {
|
||||||
height: 66px;
|
height: 66px;
|
||||||
overflow: hidden;
|
overflow: hidden;
|
||||||
@ -705,6 +723,7 @@ input:not(.btn){
|
|||||||
.sickbeardTable td {
|
.sickbeardTable td {
|
||||||
font-size: 13px;
|
font-size: 13px;
|
||||||
cursor: default;
|
cursor: default;
|
||||||
|
line-height: normal;
|
||||||
}
|
}
|
||||||
|
|
||||||
.sickbeardTable td.title {
|
.sickbeardTable td.title {
|
||||||
@ -2551,6 +2570,7 @@ table.tablesorter {
|
|||||||
table.tablesorter td {
|
table.tablesorter td {
|
||||||
font-size: 14px;
|
font-size: 14px;
|
||||||
padding: 8px 10px;
|
padding: 8px 10px;
|
||||||
|
line-height: normal;
|
||||||
}
|
}
|
||||||
|
|
||||||
/* remove extra border from left edge */
|
/* remove extra border from left edge */
|
||||||
@ -3630,6 +3650,7 @@ comingEpisodes.css
|
|||||||
border-top-left-radius: 8px;
|
border-top-left-radius: 8px;
|
||||||
border-bottom-left-radius: 8px;
|
border-bottom-left-radius: 8px;
|
||||||
}
|
}
|
||||||
|
|
||||||
.bannerThumb {
|
.bannerThumb {
|
||||||
-ms-interpolation-mode: bicubic; /* make scaling look nicer for ie */
|
-ms-interpolation-mode: bicubic; /* make scaling look nicer for ie */
|
||||||
vertical-align: top;
|
vertical-align: top;
|
||||||
|
@ -11,6 +11,10 @@
|
|||||||
border: 1px solid #ddd;
|
border: 1px solid #ddd;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
.imgsmallposter .small {
|
||||||
|
border: 1px solid #ddd;
|
||||||
|
}
|
||||||
|
|
||||||
body {
|
body {
|
||||||
background: none repeat scroll 0 0 #FFFFFF;
|
background: none repeat scroll 0 0 #FFFFFF;
|
||||||
color: #343434;
|
color: #343434;
|
||||||
|
@ -269,6 +269,7 @@ function invertSort(){
|
|||||||
<div id="HomeLayout" style="float: right; margin-top: -25px;">
|
<div id="HomeLayout" style="float: right; margin-top: -25px;">
|
||||||
<span>Layout:
|
<span>Layout:
|
||||||
<a class="inner" href="$sbRoot/setHomeLayout/?layout=poster">Poster</a> ·
|
<a class="inner" href="$sbRoot/setHomeLayout/?layout=poster">Poster</a> ·
|
||||||
|
<a class="inner" href="$sbRoot/setHomeLayout/?layout=small">Small Poster</a> ·
|
||||||
<a class="inner" href="$sbRoot/setHomeLayout/?layout=banner">Banner</a> ·
|
<a class="inner" href="$sbRoot/setHomeLayout/?layout=banner">Banner</a> ·
|
||||||
<a class="inner" href="$sbRoot/setHomeLayout/?layout=simple">Simple</a>
|
<a class="inner" href="$sbRoot/setHomeLayout/?layout=simple">Simple</a>
|
||||||
</span>
|
</span>
|
||||||
@ -549,7 +550,16 @@ $myShowList.sort(lambda x, y: cmp(x.name, y.name))
|
|||||||
#else:
|
#else:
|
||||||
<td align="center" class="nowrap"></td>
|
<td align="center" class="nowrap"></td>
|
||||||
#end if
|
#end if
|
||||||
#if $layout == 'banner':
|
#if $layout == 'small':
|
||||||
|
<td>
|
||||||
|
<div class="imgsmallposter $layout">
|
||||||
|
<a href="$sbRoot/showPoster/?show=$curShow.indexerid&which=$layout" rel="dialog" title="$curShow.name">
|
||||||
|
<img src="$sbRoot/showPoster/?show=$curShow.indexerid&which=poster_thumb" class="$layout" alt="$curShow.indexerid"/>
|
||||||
|
</a>
|
||||||
|
<a href="$sbRoot/home/displayShow?show=$curShow.indexerid" style="vertical-align: middle;">$curShow.name</a>
|
||||||
|
</div>
|
||||||
|
</td>
|
||||||
|
#else if $layout == 'banner':
|
||||||
<td>
|
<td>
|
||||||
<span style="display: none;">$curShow.name</span>
|
<span style="display: none;">$curShow.name</span>
|
||||||
<div class="imgbanner $layout">
|
<div class="imgbanner $layout">
|
||||||
|
@ -282,7 +282,7 @@ class MainHandler(RequestHandler):
|
|||||||
|
|
||||||
def setHomeLayout(self, layout):
|
def setHomeLayout(self, layout):
|
||||||
|
|
||||||
if layout not in ('poster', 'banner', 'simple'):
|
if layout not in ('poster', 'small', 'banner', 'simple'):
|
||||||
layout = 'poster'
|
layout = 'poster'
|
||||||
|
|
||||||
sickbeard.HOME_LAYOUT = layout
|
sickbeard.HOME_LAYOUT = layout
|
||||||
|
Loading…
Reference in New Issue
Block a user