1
0
mirror of https://github.com/Sonarr/Sonarr.git synced 2024-12-16 11:37:58 +02:00

Indexers carded

This commit is contained in:
Mark McDowall 2013-05-29 00:14:48 -07:00
parent 0bc2d4814c
commit 23695b3fe8
5 changed files with 26 additions and 9 deletions

View File

@ -20,6 +20,7 @@
<link href="/series/details.css" rel='stylesheet' type='text/css'/>
<link href="/content/base.css" rel='stylesheet' type='text/css'/>
<link href="/settings/notifications/notifications.css" rel='stylesheet' type='text/css'/>
<link href="/settings/indexers/indexers.css" rel='stylesheet' type='text/css'/>
</head>
<body>
<div id="in-sub-nav">

View File

@ -6,6 +6,6 @@
<div class="row">
<div class="span12">
<div id="x-indexers" class="form-horizontal"></div>
<ul id="x-indexers" class="indexer-list"></ul>
</div>
</div>

View File

@ -1,5 +1,5 @@
<fieldset>
<legend>{{name}}</legend>
<div class="indexer-settings-item">
<h2>{{name}}</h2>
<div class="control-group">
<label class="control-label">Enable</label>
@ -14,12 +14,8 @@
<div class="btn btn-primary slide-button"></div>
</label>
<span class="help-inline-checkbox">
<i class="icon-question-sign" title="Do you want to use {{name}} to download NZBs?"></i>
</span>
</div>
</div>
{{formBuilder}}
</fieldset>
</div>

View File

@ -7,6 +7,7 @@ define([
], function () {
NzbDrone.Settings.Indexers.ItemView = Backbone.Marionette.ItemView.extend({
template : 'Settings/Indexers/ItemTemplate'
template : 'Settings/Indexers/ItemTemplate',
tagName : 'li'
});
});

View File

@ -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;
}
}