From 8135a97d62c27a3e792a5f6cf19e685960639649 Mon Sep 17 00:00:00 2001 From: Anthirian Date: Tue, 24 Jun 2014 22:54:51 +0200 Subject: [PATCH] Fixed broken layout for anime black and whitelist --- gui/slick/css/default.css | 48 +++++++++++++++++ gui/slick/interfaces/default/editShow.tmpl | 44 +-------------- .../default/inc_blackwhitelist.tmpl | 53 +++++++++++++++++++ 3 files changed, 102 insertions(+), 43 deletions(-) create mode 100644 gui/slick/interfaces/default/inc_blackwhitelist.tmpl diff --git a/gui/slick/css/default.css b/gui/slick/css/default.css index 4b8a5b66..360c672e 100644 --- a/gui/slick/css/default.css +++ b/gui/slick/css/default.css @@ -888,6 +888,54 @@ td.tvShow a { -o-opacity: 1 !important; opacity: 1 !important; } + +/* Anime section for editShow */ +#Anime { + clear: both; + display: block ; + overflow-x: hidden; + overflow-y: hidden; + padding-bottom: 10px; + padding-left: 20px; + padding-right: 0px; + padding-top: 10px; + font-size: 14px; +} + +#Anime div.component-group-desc { + float: left; + width: 165px; +} +#Anime div.component-group-desc p { + color: #666666; + margin-bottom: 0.4em; + margin-left: 0; + margin-right: 0; + margin-top: 0.4em; + width: 95%; +} + +div.blackwhitelist{ + float: left; + text-align: center; +} +div.blackwhitelist input { + margin: 5px 0px; +} +div.blackwhitelist.pool select { + min-width: 230px; +} +div.blackwhitelist.white select, div.blackwhitelist.black select { + min-width: 150px; +} +div.blackwhitelist span { + display: block; + text-align: center; +} +div.blackwhitelist.anidb, div.blackwhitelist.manual { + margin: 7px 0px; +} + /* for manage_massEdit */ .optionWrapper { width: 450px; diff --git a/gui/slick/interfaces/default/editShow.tmpl b/gui/slick/interfaces/default/editShow.tmpl index 95cebd0c..63c8eb1f 100644 --- a/gui/slick/interfaces/default/editShow.tmpl +++ b/gui/slick/interfaces/default/editShow.tmpl @@ -146,49 +146,7 @@ Separate words with a comma, e.g. "word1,word2,word3"

#if $show.is_anime -

-Release Groups: -

- - -
-
- White: - -
- -
- -
- Pool (Name|Rating|Subed Ep): - -
- - - -
- -
- Black: - -
- -
-
+#include $os.path.join($sickbeard.PROG_DIR, "gui/slick/interfaces/default/inc_blackwhitelist.tmpl") #end if diff --git a/gui/slick/interfaces/default/inc_blackwhitelist.tmpl b/gui/slick/interfaces/default/inc_blackwhitelist.tmpl new file mode 100644 index 00000000..83129d0a --- /dev/null +++ b/gui/slick/interfaces/default/inc_blackwhitelist.tmpl @@ -0,0 +1,53 @@ +Fansub Groups: +
+
+

Select your preferred fansub groups from the Available Groups and add them to the Whitelist. Add groups to the Blacklist to ignore them.

+

The Whitelist is checked before the Blacklist.

+

Groups are shown as Name | Rating | Number of subbed episodes.

+

You may also add any fansub group not listed to either list manually.

+
+
+
+
+

Whitelist

+ +
+ +
+
+

Available Groups

+ +
+ + +
+
+

Blacklist

+ +
+ +
+
+
+
+ + + +
+
+
+
\ No newline at end of file