Indexers carded

pull/6/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="/series/details.css" rel='stylesheet' type='text/css'/>
<link href="/content/base.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/notifications/notifications.css" rel='stylesheet' type='text/css'/>
<link href="/settings/indexers/indexers.css" rel='stylesheet' type='text/css'/>
</head> </head>
<body> <body>
<div id="in-sub-nav"> <div id="in-sub-nav">

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

@ -1,5 +1,5 @@
<fieldset> <div class="indexer-settings-item">
<legend>{{name}}</legend> <h2>{{name}}</h2>
<div class="control-group"> <div class="control-group">
<label class="control-label">Enable</label> <label class="control-label">Enable</label>
@ -14,12 +14,8 @@
<div class="btn btn-primary slide-button"></div> <div class="btn btn-primary slide-button"></div>
</label> </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>
</div> </div>
{{formBuilder}} {{formBuilder}}
</fieldset> </div>

@ -7,6 +7,7 @@ define([
], function () { ], function () {
NzbDrone.Settings.Indexers.ItemView = Backbone.Marionette.ItemView.extend({ 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