Indexers carded

pull/4/head
Mark McDowall 12 years ago
parent 0bc2d4814c
commit 23695b3fe8

@ -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">

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

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

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

@ -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;
}
}
Loading…
Cancel
Save