diff --git a/CHANGES.md b/CHANGES.md index 51779e36..2604399d 100644 --- a/CHANGES.md +++ b/CHANGES.md @@ -24,6 +24,10 @@ * Add search results sort by oldest aired * Change requirements.txt Cheetah >= 3.1.0 * Add Snowfl torrent provider +* Fix manual search button on displayShow and episode view page +* Change feedback result of manual search on the clicked button image/tooltip +* Change reduce browser I/O on displayShow +* Fix displayShow bug where click holding on a season btn and then dragging away leaves 50% white [develop changelog] diff --git a/gui/slick/css/dark.css b/gui/slick/css/dark.css index be30683a..87f9bc40 100644 --- a/gui/slick/css/dark.css +++ b/gui/slick/css/dark.css @@ -1060,6 +1060,7 @@ fieldset[disabled] .navbar-default .btn-link:focus{ outline:thin dotted #333; outline:5px auto -webkit-focus-ring-color; outline-offset:-2px; + background-position:0; color:#ddd } diff --git a/gui/slick/css/style.css b/gui/slick/css/style.css index c15fa3f9..19e48ea9 100644 --- a/gui/slick/css/style.css +++ b/gui/slick/css/style.css @@ -2130,6 +2130,19 @@ td.col-search{ width:46px } +td.col-search{ + font-size:10px +} + +.ep-search, +.ep-retry, +.ep-search img[src=""], +.ep-retry img[src=""]{ + display:inline-block; + width:16px; + height:16px +} + #testRenameTable tbody td.col-checkbox, #testRenameTable tbody td.col-ep{width:1%;vertical-align:middle} #testRenameTable tbody td.col-name{ diff --git a/gui/slick/interfaces/default/displayShow.tmpl b/gui/slick/interfaces/default/displayShow.tmpl index d28eb872..9bbd09e2 100644 --- a/gui/slick/interfaces/default/displayShow.tmpl +++ b/gui/slick/interfaces/default/displayShow.tmpl @@ -50,11 +50,11 @@ -
+
#if $has_art diff --git a/gui/slick/interfaces/default/episodeView.tmpl b/gui/slick/interfaces/default/episodeView.tmpl index 19a30db6..768a4b3f 100644 --- a/gui/slick/interfaces/default/episodeView.tmpl +++ b/gui/slick/interfaces/default/episodeView.tmpl @@ -17,6 +17,7 @@ #set $restart = 'Restart SickGear for new features on this page' #set $show_message = (None, $restart)[not $varExists('fanart')] #set global $page_body_attr = 'episode-view" class="' + $css +#set theme_suffix = ('', '-dark')['dark' == $sg_str('THEME_NAME', 'dark')] ## #import os.path #include $os.path.join($sg_str('PROG_DIR'), 'gui/slick/interfaces/default/inc_top.tmpl') @@ -176,7 +177,9 @@ .asc{border-top:0; border-bottom:8px solid} .desc{border-top:8px solid; border-bottom:0} #end if +.bfr{position:absolute;left:-999px;top:-999px}.bfr img,img.spinner,img.queued,img.search{display:inline-block;width:16px;height:16px}img.spinner{background:url(${sbRoot}/images/loading16${theme_suffix}.gif) no-repeat 0 0}img.queued{background:url(${sbRoot}/images/queued.png) no-repeat 0 0}img.search{background:url(${sbRoot}/images/search16.png) no-repeat 0 0} +
#if $show_message
@@ -293,9 +296,9 @@ }); $(document).ready(function(){ - - sortList = [[$table_sort_header_codes[$sort], 0]]; - +#end raw + var sortList = [[$table_sort_header_codes[$sort], 0]]; +#raw $('#showListTable:has(tbody tr)').tablesorter({ widgets: ['stickyHeaders'], sortList: sortList, @@ -381,9 +384,10 @@ #end if #end if - #set $show_id = '%s_%sx%s' % (str($cur_result['showid']), str($cur_result['season']), str($cur_result['episode'])) + #set $show_id = '%s_%sx%s' % ($cur_result['showid'], $cur_result['season'], $cur_result['episode']) + #set $id_sxe = '%s_%s' % ($cur_result['indexer'], $show_id) - + ## forced to use a div to wrap airdate, the column sort went crazy with a span
$sbdatetime.sbdatetime.sbfdatetime($cur_result['localtime']).decode($sickbeard.SYS_ENCODING)
$cur_result['localtime'].strftime('%Y%m%d%H%M') @@ -428,7 +432,7 @@ - [search] + [search] @@ -455,7 +459,7 @@ -
+ #set $id_sxe = '%s_%s_%sx%s' % ($cur_result['indexer'], $cur_result['showid'], $cur_result['season'], $cur_result['episode']) +
@@ -614,7 +619,7 @@ [$sickbeard.indexerApi(INDEXER_IMDB).name] #end if $sickbeard.indexerApi($cur_indexer).name - [search] + [search] diff --git a/gui/slick/interfaces/default/inc_displayShow.tmpl b/gui/slick/interfaces/default/inc_displayShow.tmpl index 80e383d6..a96c9c53 100644 --- a/gui/slick/interfaces/default/inc_displayShow.tmpl +++ b/gui/slick/interfaces/default/inc_displayShow.tmpl @@ -1,7 +1,7 @@ #import datetime #import sickbeard #from sickbeard import network_timezones, sbdatetime, subtitles -#from sickbeard.common import Overview, Quality, statusStrings, ARCHIVED, UNAIRED, SUBTITLED +#from sickbeard.common import Overview, Quality, statusStrings, ARCHIVED, UNAIRED, SUBTITLED, SNATCHED_ANY, DOWNLOADED #from lib import subliminal <% def sg_var(varname, default=False): return getattr(sickbeard, varname, default) %>#slurp# <% def sg_str(varname, default=''): return getattr(sickbeard, varname, default) %>#slurp# @@ -101,16 +101,17 @@ #slurp #set $curStatus, $curQuality = $Quality.splitCompositeStatus(int($ep['status'])) #if Quality.NONE != $curQuality - + #else #end if
#if $SUBTITLED == $curStatus##else#$statusStrings[$curStatus].replace('Downloaded', '')#end if# $Quality.get_quality_ui($curQuality)#if $SUBTITLED == $curStatus##else#$statusStrings[$curStatus].replace('Downloaded', '')#end if# #if 'Unknown' != $statusStrings[$curStatus]#$Quality.get_quality_ui($curQuality)#end if#$statusStrings[$curStatus].replace('SD DVD', 'SD DVD/BR/BD')