From 23695b3fe8e3bdead6cdd1e2f919d72a9dfbd35b Mon Sep 17 00:00:00 2001 From: Mark McDowall Date: Wed, 29 May 2013 00:14:48 -0700 Subject: [PATCH] Indexers carded --- UI/Index.html | 1 + UI/Settings/Indexers/CollectionTemplate.html | 2 +- UI/Settings/Indexers/ItemTemplate.html | 10 +++------- UI/Settings/Indexers/ItemView.js | 3 ++- UI/Settings/Indexers/indexers.less | 19 +++++++++++++++++++ 5 files changed, 26 insertions(+), 9 deletions(-) create mode 100644 UI/Settings/Indexers/indexers.less diff --git a/UI/Index.html b/UI/Index.html index 0e2a5ab8e..492116257 100644 --- a/UI/Index.html +++ b/UI/Index.html @@ -20,6 +20,7 @@ +
diff --git a/UI/Settings/Indexers/CollectionTemplate.html b/UI/Settings/Indexers/CollectionTemplate.html index 68ad64985..c65a8121f 100644 --- a/UI/Settings/Indexers/CollectionTemplate.html +++ b/UI/Settings/Indexers/CollectionTemplate.html @@ -6,6 +6,6 @@
-
+
    \ No newline at end of file diff --git a/UI/Settings/Indexers/ItemTemplate.html b/UI/Settings/Indexers/ItemTemplate.html index 41d7af988..1dd58a51c 100644 --- a/UI/Settings/Indexers/ItemTemplate.html +++ b/UI/Settings/Indexers/ItemTemplate.html @@ -1,5 +1,5 @@ -
    - {{name}} +
    +

    {{name}}

    @@ -14,12 +14,8 @@
    - - - -
    {{formBuilder}} -
    +
    \ No newline at end of file diff --git a/UI/Settings/Indexers/ItemView.js b/UI/Settings/Indexers/ItemView.js index 0dc112854..49e334135 100644 --- a/UI/Settings/Indexers/ItemView.js +++ b/UI/Settings/Indexers/ItemView.js @@ -7,6 +7,7 @@ define([ ], function () { NzbDrone.Settings.Indexers.ItemView = Backbone.Marionette.ItemView.extend({ - template : 'Settings/Indexers/ItemTemplate' + template : 'Settings/Indexers/ItemTemplate', + tagName : 'li' }); }); diff --git a/UI/Settings/Indexers/indexers.less b/UI/Settings/Indexers/indexers.less new file mode 100644 index 000000000..04644b7a0 --- /dev/null +++ b/UI/Settings/Indexers/indexers.less @@ -0,0 +1,19 @@ +@import "../../Shared/Styles/card"; + +.indexer-list { + li { + display: inline-block; + vertical-align: top; + } +} + +.indexer-settings-item { + + .card; + + min-width: 220px; + + h2 { + margin-top: 0px; + } +} \ No newline at end of file