From be9277679287934751ad13567dbdf1906514512e Mon Sep 17 00:00:00 2001 From: Supremicus Date: Mon, 17 Nov 2014 10:17:37 +1000 Subject: [PATCH] Overhaul Config Post Processing. Change overhaul Config Post Processing to be in line with General Configuration. Change rearrange post processing items into sections for easier use. Fix CSS overriding link colors on config pages. --- CHANGES.md | 3 + gui/slick/css/dark.css | 1 - gui/slick/css/light.css | 10 +- gui/slick/css/style.css | 3 + .../default/config_postProcessing.tmpl | 1967 +++++++++-------- 5 files changed, 1005 insertions(+), 979 deletions(-) diff --git a/CHANGES.md b/CHANGES.md index 2cadd78e..b09fe48c 100644 --- a/CHANGES.md +++ b/CHANGES.md @@ -18,6 +18,9 @@ * Add option to treat anime releases that lack a quality tag as HDTV instead of "unknown" * Remove old version checking code that no longer applies to SickGear's release system * Fix pnotify notifications going full page +* Change overhaul Config Post Processing to be in line with General Configuration +* Change rearrange post processing items into sections for easier use +* Fix CSS overriding link colors on config pages [develop changelog] * Change descriptions and layout on Config/Anime page diff --git a/gui/slick/css/dark.css b/gui/slick/css/dark.css index 5b3636fc..87dc9c4f 100644 --- a/gui/slick/css/dark.css +++ b/gui/slick/css/dark.css @@ -211,7 +211,6 @@ inc_top.tmpl .ui-widget-content a:hover { color: #09A2FF; - text-decoration: none; } .ui-widget-header { diff --git a/gui/slick/css/light.css b/gui/slick/css/light.css index e09067f5..eeb03dfb 100644 --- a/gui/slick/css/light.css +++ b/gui/slick/css/light.css @@ -199,7 +199,15 @@ inc_top.tmpl background: #dcdcdc url("../css/lib/images/ui-bg_highlight-soft_75_dcdcdc_1x100.png") 50% top repeat-x; } -.ui-widget-header { +.ui-widget-content a { + color: rgb(42, 100, 150); +} + +.ui-widget-content a:hover { + color: #09A2FF; +} + +.ui-widget-header { background: #ffffff url("../css/lib/images/ui-bg_flat_0_ffffff_40x100.png") 50% 50% repeat-x; } diff --git a/gui/slick/css/style.css b/gui/slick/css/style.css index 5f902144..81ba3f02 100644 --- a/gui/slick/css/style.css +++ b/gui/slick/css/style.css @@ -3006,6 +3006,9 @@ span.token-input-delete-token { margin: 0 1px; } +.ui-widget-content a { + text-decoration: none; +} .red-text {color:#d33} .clear-left {clear:left} .nextline-block {display:block} diff --git a/gui/slick/interfaces/default/config_postProcessing.tmpl b/gui/slick/interfaces/default/config_postProcessing.tmpl index c9199aa4..3743ae1c 100644 --- a/gui/slick/interfaces/default/config_postProcessing.tmpl +++ b/gui/slick/interfaces/default/config_postProcessing.tmpl @@ -1,1044 +1,1057 @@ #import os.path #import sickbeard #from sickbeard.common import * +#from sickbeard.helpers import anon_url #from sickbeard import config #from sickbeard import metadata #from sickbeard.metadata.generic import GenericMetadata #from sickbeard import naming -#set global $title = "Config - Post Processing" -#set global $header = "Post Processing" +#set global $title = 'Config - Post Processing' +#set global $header = 'Post Processing' -#set global $sbPath="../.." +#set global $sbPath = '../..' -#set global $topmenu="config"# -#include $os.path.join($sickbeard.PROG_DIR, "gui/slick/interfaces/default/inc_top.tmpl") +#set global $topmenu = 'config' +#include $os.path.join($sickbeard.PROG_DIR, 'gui/slick/interfaces/default/inc_top.tmpl') -
+ #if $varExists('header')

$header

#else

$title

#end if +
-
+
-
+ -
- - -
+
+ -
-

Post-Processing

-

Settings that dictate how SickGear should process completed downloads.

-
+
+
-
-
- - - - -
- -
- - -
-
- - - -
+
+

Post-Processing

+

Settings that dictate how SickGear should process completed downloads.

+
+ +
- - - +
-
- - -
- -
- - -
+
+ +
-
- - -
+
+ +
-
- - -
+
+ +
-
- - - -
+
+ +
-
- - - - -
+
+ +
-
- - -
+
-
- - - -
- -
- - - -
- -
-
- - - -
+
+
-
+
-
+
+

File Handling

+

Optional settings for the way post-processing handles files

+
- -
+
-
+
+ +
-
-

Episode Naming

-

How SickGear will name and sort your episodes.

-
+
+ +
-
+
+ +
-
- -
+
+ +
-
-
- -
+
+ +
- -
- -
- -
+
+ +
-
-

Single-EP Sample:

-
-   -
-
-
+
-
-

Multi-EP sample:

-
-   -
-
-
+
+
-
- - - -
+
-
- - -
+
+

Failed Downloads

+

SickGear will attempt to download another release if downloads are reported as failed

+
-
-
- -
+
-
-
- -
+
+ +
- -
- -
-

Sample:

-
-   -
-
-
+
+
+
+
-
+
-
- - -
+
+
-
-
- -
+
-
-
- -
+
- -
- -
-

Sample:

-
-   -
-
-
+
+

Episode Naming

+

How SickGear will name and sort your episodes.

+
-
+
- -
- - -
+
+ +
-
-
- -
+
+
+ +
-
-
- -
+ +
- -
+
+ +
-
- -
+
+

Single-Episode sample:

+
+   +
+
+
-
-

Single-EP Anime Sample:

-
-   -
-
-
+
+

Multi-Episode sample:

+
+   +
+
+
-
-

Multi-EP Anime sample:

-
-   -
-
-
+
+ +
-
- - - -
+
+ +
-
- - - -
+
+
+ +
-
- - - -
+
+
+ +
-
+ +
-
-
+
+

Air-By-Date sample:

+
+   +
+
+
-
-
+
+ +
+ +
+ +
+
+ +
+ +
+
+ +
+ + +
+ +
+

Sports sample:

+
+   +
+
+
+ +
+ + +
+ +
+ +
+
+ +
+ +
+
+ +
+ + +
+ +
+ +
+ +
+

Single-Episode Anime sample:

+
+   +
+
+
+ +
+

Multi-Episode Anime sample:

+
+   +
+
+
+ +
+ +
+ +
+ +
+ +
+ +
+ +
+ +
+
+ + +
-
-

Metadata

-

The data associated to the data. These are files associated to a TV show in the form of images and text that, when supported, will enhance the viewing experience.

-
+
+

Metadata

+

The data associated to the data. These are files associated to a TV show in the form of images and text that, when supported, will enhance the viewing experience.

+
-
-
- - Toggle the metadata options that you wish to be created. Multiple targets may be used. -
+
+
+ + Toggle the metadata options that you wish to be created. Multiple targets may be used. +
#for ($cur_name, $cur_generator) in $m_dict.items(): #set $cur_metadata_inst = $sickbeard.metadata_provider_dict[$cur_generator.name] @@ -1079,11 +1092,11 @@ #end for

- +
-
-
- + +
+
All non-absolute folder locations are relative to $sickbeard.DATA_DIR
@@ -1096,8 +1109,8 @@ -#include $os.path.join($sickbeard.PROG_DIR,"gui/slick/interfaces/default/inc_bottom.tmpl") +#include $os.path.join($sickbeard.PROG_DIR,'gui/slick/interfaces/default/inc_bottom.tmpl')