From 211334574fd8c0d3817d191ca6ac3a2ccde1ce90 Mon Sep 17 00:00:00 2001 From: JackDandy Date: Wed, 4 Jun 2014 00:40:05 +0100 Subject: [PATCH] Change align Search column, move Filename column data to hover over Episode to gain screen estate, span the Airdate so qTip is closer. --- gui/slick/css/default.css | 4 ++ gui/slick/interfaces/default/displayShow.tmpl | 41 +++++++++++-------- 2 files changed, 27 insertions(+), 18 deletions(-) diff --git a/gui/slick/css/default.css b/gui/slick/css/default.css index dd7990b7..6b9056a1 100644 --- a/gui/slick/css/default.css +++ b/gui/slick/css/default.css @@ -472,6 +472,10 @@ text-align: center; .sickbeardTable td.search img { padding-right: 2px; } +.sickbeardTable td.search { + text-align: center; + width:5% +} .sickbeardTable td small { font-size: 11px; diff --git a/gui/slick/interfaces/default/displayShow.tmpl b/gui/slick/interfaces/default/displayShow.tmpl index f2a0381c..103b07b9 100644 --- a/gui/slick/interfaces/default/displayShow.tmpl +++ b/gui/slick/interfaces/default/displayShow.tmpl @@ -29,7 +29,6 @@ @@ -302,7 +311,7 @@

#if int($epResult["season"]) == 0 then "Specials" else "Season "+str($epResult["season"])#

- NFOTBNEpisode#if $show.is_anime then "Absolute" else ""# #if $scene then "Scene #" else ""# #if $scene_anime then "Scene Absolute" else ""#NameAirdateFilename#if $sickbeard.USE_SUBTITLES and $show.subtitles then "Subtitles" else ""#StatusSearch + NFOTBNEpisode#if $show.is_anime then "Absolute" else ""# #if $scene then "Scene #" else ""# #if $scene_anime then "Scene Absolute" else ""#NameAirdate#if $sickbeard.USE_SUBTITLES and $show.subtitles then "Subtitles" else ""#StatusSearch #set $curSeason = int($epResult["season"]) #end if @@ -316,7 +325,16 @@ \"Y" \"Y" - $epResult["episode"] + +#if $epLoc and $show._location and $epLoc.lower().startswith($show._location.lower()): + #set $epLoc = os.path.basename($epLoc[len($show._location)+1:]) +#elif $epLoc and (not $epLoc.lower().startswith($show._location.lower()) or not $show._location): + #set $epLoc = os.path.basename($epLoc) +#end if +#if $epLoc != "" and $epLoc != None: + $epResult["episode"] +#else + $epResult["episode"]#end if# #if $show.is_anime: $epResult["absolute_number"] #end if @@ -354,23 +372,10 @@ #if $epResult["description"] != "" and $epResult["description"] != None: " /> - #end if + #end if $epResult["name"] -
#if int($epResult["airdate"]) == 1 then "never" else $sbdatetime.sbdatetime.sbfdate($network_timezones.parse_date_time($epResult["airdate"],$show.airs,$show.network))#
- -#if $epLoc and $show._location and $epLoc.lower().startswith($show._location.lower()): - #set $epLoc = os.path.basename($epLoc[len($show._location)+1:]) -#elif $epLoc and (not $epLoc.lower().startswith($show._location.lower()) or not $show._location): - #set $epLoc = os.path.basename($epLoc) -#end if -#if $epLoc != "" and $epLoc != None: -[details] -#else -$epLoc -#end if - - + #if int($epResult["airdate"]) == 1 then "never" else $sbdatetime.sbdatetime.sbfdate($network_timezones.parse_date_time($epResult["airdate"],$show.airs,$show.network))# #if $sickbeard.USE_SUBTITLES and $show.subtitles: #if $epResult["subtitles"]: