Fixed Indexer Settings.

This commit is contained in:
Mark McDowall 2011-11-26 12:28:20 -08:00
parent e55e4387fd
commit 4e27d82480
2 changed files with 26 additions and 13 deletions

View File

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

View File

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