diff --git a/CHANGES.md b/CHANGES.md index 43371985..a1a8f458 100644 --- a/CHANGES.md +++ b/CHANGES.md @@ -1,6 +1,7 @@ ### 0.17.0 (2018-xx-xx xx:xx:xx UTC) * Add TVDB, TheXem, and GitHub buttons to page History/Layout "Provider fails" that fetches a site Up/Down report +* Add bubble links to History/Provider fails when more than one provider has failures * Add "Keep up to x most recent downloads" to Edit Show/Other * Add "Keep up to x most recent downloads" to Manage/Bulk Change/Edit * Change append number of downloads to keep to the number of file(s) at Display Show diff --git a/gui/slick/css/dark.css b/gui/slick/css/dark.css index 6fd24a68..3730947d 100644 --- a/gui/slick/css/dark.css +++ b/gui/slick/css/dark.css @@ -70,10 +70,12 @@ pre .prelight-num{ border-color:#222 } +.component-group.bubblelist a, .ui-widget-content a{ color:#2d8fbf } +.component-group.bubblelist a:hover, .ui-widget-content a:hover{ color:#09a2ff } @@ -990,7 +992,7 @@ fieldset[disabled] .navbar-default .btn-link:focus{ color:#ddd } -.component-group.typelist .bgcol, +.component-group.bubblelist .bgcol, .dropdown-menu{ background-color:#333; border:1px solid rgba(0, 0, 0, 0.15); diff --git a/gui/slick/css/light.css b/gui/slick/css/light.css index 4952ae3f..3baeb8bf 100644 --- a/gui/slick/css/light.css +++ b/gui/slick/css/light.css @@ -65,10 +65,12 @@ pre .prelight-num{ border-color:#fff } +.component-group.bubblelist a, .ui-widget-content a{ color:rgb(42, 100, 150) } +.component-group.bubblelist a:hover, .ui-widget-content a:hover{ color:#09a2ff } @@ -963,7 +965,7 @@ fieldset[disabled] .navbar-default .btn-link:focus{ background-color:#333 } -.component-group.typelist .bgcol, +.component-group.bubblelist .bgcol, .dropdown-menu{ background-color:#f5f1e4; border:1px solid rgba(0, 0, 0, 0.15); diff --git a/gui/slick/css/style.css b/gui/slick/css/style.css index 9d5aa02b..52be93d0 100644 --- a/gui/slick/css/style.css +++ b/gui/slick/css/style.css @@ -236,6 +236,7 @@ inc_top.tmpl border:1px solid } +.component-group.bubblelist a, .ui-widget-content a{ text-decoration:none } @@ -3802,6 +3803,18 @@ fieldset[disabled] .navbar-default .btn-link:focus{ color:#ccc } +.component-group.bubble.last{padding:0;margin:0;border-bottom:none} +.component-group.bubblelist{min-height:30px} +.component-group.bubblelist .type{padding:6px} +.component-group.bubblelist .item{display:inline-block} +.component-group.bubblelist .item img{margin-right:4px} +.component-group.bubblelist .item.text{font-size:12px; padding-right:3px} +.component-group.bubblelist .item a{font-size:16px;padding-right:20px} +.component-group.bubblelist .item.text, +.component-group.bubblelist .item a{line-height:16px;vertical-align:middle} +.component-group.bubblelist .item a img{vertical-align:bottom;opacity:0.65;filter:alpha(opacity=65)} +.component-group.bubblelist .item a:hover img{opacity:1;filter:alpha(opacity=1)} + .dropdown-menu > li > a:hover, .dropdown-menu > li > a:focus{ color:#262626; text-decoration:none; diff --git a/gui/slick/interfaces/default/config_notifications.tmpl b/gui/slick/interfaces/default/config_notifications.tmpl index 3e31b01f..e1d9b920 100644 --- a/gui/slick/interfaces/default/config_notifications.tmpl +++ b/gui/slick/interfaces/default/config_notifications.tmpl @@ -23,17 +23,6 @@
No current provider failures. Failure stats display here when appropriate.
#else -When a provider cannot be contacted over a period, SickGear backs off and waits an increasing interval between each retry
- #for $prov in $provider_fail_stats + + #set dev = (1, 3)[False] + #if 1 < len([$prov for $prov in $provider_fail_stats * $dev if len($prov['fails'])]) +When a provider cannot be contacted over a period, SickGear backs off and waits an increasing interval between each retry
+ + #for $n, $prov in enumerate($provider_fail_stats * $dev) #if $len($prov['fails']) -period of 1hr | -server/timeout | -network | -no data | -other | + + +
---|
period of 1hr | +server/timeout | +network | +no data | +other | #if $prov['has_limit']hit limit | #end if -||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
$sbdatetime.sbdatetime.sbfdate($fail['date_time']) | +$sbdatetime.sbdatetime.sbfdate($fail['date_time']) | #else -$sbdatetime.sbdatetime.sbftime($fail['date_time'], markup=True) | +$sbdatetime.sbdatetime.sbftime($fail['date_time'], markup=True) | #end if #else -$sbdatetime.sbdatetime.sbfdatetime($fail['date_time'], markup=True) | +$sbdatetime.sbdatetime.sbfdatetime($fail['date_time'], markup=True) | #end if #set $blank = '-' #set $title=None #if $fail['http']['count'] #set $title=$fail['http']['code'] #end if -#if $fail['http']['count']#$fail['http']['count']#else#$blank#end if# / #echo $fail['timeout'].get('count', 0) or $blank# | -#echo ($fail['connection'].get('count', 0) + $fail['connection_timeout'].get('count', 0)) or $blank# | -#echo $fail['nodata'].get('count', 0) or $blank# | -#echo $fail['other'].get('count', 0) or $blank# | +#if $fail['http']['count']#$fail['http']['count']#else#$blank#end if# / #echo $fail['timeout'].get('count', 0) or $blank# | +#echo ($fail['connection'].get('count', 0) + $fail['connection_timeout'].get('count', 0)) or $blank# | +#echo $fail['nodata'].get('count', 0) or $blank# | +#echo $fail['other'].get('count', 0) or $blank# | #if $prov['has_limit'] -#echo $fail.get('limit', {}).get('count', 0) or $blank# | +#echo $fail.get('limit', {}).get('count', 0) or $blank# | #end if -