Fixed Indexer Settings.

pull/7/merge
Mark McDowall 13 years ago
parent e55e4387fd
commit 4e27d82480

@ -34,18 +34,18 @@
.providerSection .providerSection
{ {
float: left; float: left;
width: 270px; width: 255px;
margin: 2px; margin: 2px;
border:solid 1px #CCCCCD; border:solid 1px #CCCCCD;
display: inline-block; display: inline-block;
overflow: hidden; overflow: auto;
padding: 5px 5px 5px 5px; padding: 3px;
} }
.providerOptions label .providerOptions label
{ {
margin-top: 10px; margin-top: 10px;
margin-left: 7px; margin-left: 3px;
margin-right: 25px; margin-right: 25px;
float: left; float: left;
font-weight: bold; font-weight: bold;
@ -58,7 +58,7 @@
padding:4px 2px; padding:4px 2px;
border:solid 1px #aacfe4; border:solid 1px #aacfe4;
width:170px; width:170px;
margin-right: 2px; margin-right: 0px;
} }
.providerOptions select .providerOptions select
@ -80,7 +80,7 @@ input[type="checkbox"]
#newznabProviders #newznabProviders
{ {
overflow: hidden; overflow: auto;
margin-top: 5px; margin-top: 5px;
margin-bottom: 10px; margin-bottom: 10px;
} }

@ -2,9 +2,11 @@
@model NzbDrone.Web.Models.IndexerSettingsModel @model NzbDrone.Web.Models.IndexerSettingsModel
@section HeaderContent{ @section HeaderContent{
<link rel="stylesheet" type="text/css" href="../../Content/Settings.css" /> <link rel="stylesheet" type="text/css" href="../../Content/Settings.css" />
<link rel="stylesheet" type="text/css" href="../../Content/IndexerSettings.css" />
<style> <style>
.indexerPanel .indexerPanel
{ {
overflow: auto;
padding-top: 20px; padding-top: 20px;
} }
@ -16,6 +18,16 @@
font-size: 120%; font-size: 120%;
font-weight: bold; font-weight: bold;
} }
#stylized .indexerPanel .labelClass
{
width: 320px;
}
#stylized .indexerPanel .small
{
width: 320px;
}
</style> </style>
} }
@section TitleContent{ @section TitleContent{
@ -39,7 +51,7 @@ Settings
<div id="accordion"> <div id="accordion">
<h3> <h3>
<a href="#">NZBs.org</a></h3> <a href="#">NZBs.org</a></h3>
<div class="indexerPanel clearfix"> <div class="indexerPanel">
<label class="labelClass"> <label class="labelClass">
Enable <span class="small">@Html.DescriptionFor(m => m.NzbsOrgEnabled)</span> Enable <span class="small">@Html.DescriptionFor(m => m.NzbsOrgEnabled)</span>
</label> </label>
@ -55,7 +67,7 @@ Settings
</div> </div>
<h3> <h3>
<a href="#">NZBMatrix</a></h3> <a href="#">NZBMatrix</a></h3>
<div class="indexerPanel clearfix"> <div class="indexerPanel">
<label class="labelClass"> <label class="labelClass">
Enable <span class="small">@Html.DescriptionFor(m => m.NzbMatrixEnabled)</span> Enable <span class="small">@Html.DescriptionFor(m => m.NzbMatrixEnabled)</span>
</label> </label>
@ -71,7 +83,7 @@ Settings
</div> </div>
<h3> <h3>
<a href="#">NZBsRus</a></h3> <a href="#">NZBsRus</a></h3>
<div class="indexerPanel clearfix"> <div class="indexerPanel">
<label class="labelClass"> <label class="labelClass">
Enable <span class="small">@Html.DescriptionFor(m => m.NzbsRUsEnabled)</span> Enable <span class="small">@Html.DescriptionFor(m => m.NzbsRUsEnabled)</span>
</label> </label>
@ -87,7 +99,7 @@ Settings
</div> </div>
<h3> <h3>
<a href="#">Newsbin</a></h3> <a href="#">Newsbin</a></h3>
<div class="indexerPanel clearfix"> <div class="indexerPanel">
<label class="labelClass"> <label class="labelClass">
Enable <span class="small">@Html.DescriptionFor(m => m.NewzbinEnabled)</span> Enable <span class="small">@Html.DescriptionFor(m => m.NewzbinEnabled)</span>
</label> </label>
@ -103,13 +115,14 @@ Settings
</div> </div>
<h3> <h3>
<a href="#">Newznab</a></h3> <a href="#">Newznab</a></h3>
<div class="indexerPanel clearfix"> <div class="indexerPanel">
<label class="labelClass"> <label class="labelClass">
Enable <span class="small">@Html.DescriptionFor(m => m.NewznabEnabled)</span> Enable <span class="small">@Html.DescriptionFor(m => m.NewznabEnabled)</span>
</label> </label>
@Html.CheckBoxFor(m => m.NewznabEnabled, new { @class = "inputClass checkClass" }) @Html.CheckBoxFor(m => m.NewznabEnabled, new { @class = "inputClass checkClass" })
<p> <br/>
</p> <br/>
<p></p>
<a id="addItem" href="@Url.Action("AddNewznabProvider", "Settings")"> <a id="addItem" href="@Url.Action("AddNewznabProvider", "Settings")">
<img src="../../Content/Images/Plus.png" alt="Add Newznab Provider" width="20px" <img src="../../Content/Images/Plus.png" alt="Add Newznab Provider" width="20px"
height="20px" /> height="20px" />

Loading…
Cancel
Save