Merge branch 'markus' into kay.one

This commit is contained in:
kay.one 2011-12-07 19:54:50 -08:00
commit 6f9aaa1145
6 changed files with 34 additions and 22 deletions

View File

@ -34,7 +34,7 @@ namespace NzbDrone.Core.Jobs
public int DefaultInterval public int DefaultInterval
{ {
get { return 60; } get { return 360; }
} }
public virtual void Start(ProgressNotification notification, int targetId, int secondaryTargetId) public virtual void Start(ProgressNotification notification, int targetId, int secondaryTargetId)

View File

@ -170,6 +170,9 @@ namespace NzbDrone.Core.Providers
if (parseResult.EpisodeNumbers == null) if (parseResult.EpisodeNumbers == null)
return result; return result;
//Set it to empty before looping through the episode numbers
parseResult.EpisodeTitle = String.Empty;
foreach (var episodeNumber in parseResult.EpisodeNumbers) foreach (var episodeNumber in parseResult.EpisodeNumbers)
{ {
var episodeInfo = GetEpisode(parseResult.Series.SeriesId, parseResult.SeasonNumber, episodeNumber); var episodeInfo = GetEpisode(parseResult.Series.SeriesId, parseResult.SeasonNumber, episodeNumber);

View File

@ -75,15 +75,15 @@ hr
{ {
display: block; display: block;
float: left; float: left;
height: 28px; height: 26px;
padding: 5px 20px 8px 15px; padding: 5px 20px 8px 15px;
text-decoration: none; text-decoration: none;
text-align: center; text-align: center;
text-transform: lowercase; text-transform: lowercase;
font-size: 23px; font-size: 21px;
font-weight: 300; font-weight: normal;
vertical-align: middle; vertical-align: middle;
font-family: "Segoe UI Light" , "Segoe UI" , Tahoma, Geneva, sans-serif; font-family: "Segoe UI", "Segoe UI Light" , Tahoma, Geneva, sans-serif;
} }
#menu a:hover #menu a:hover
@ -180,18 +180,30 @@ input[type=text], select
height: 20px; height: 20px;
} }
select, button, input[type="button"], input[type="submit"], input[type="reset"] select
{ {
height: 26px; height: 26px;
min-width: 50px; min-width: 50px;
margin-left: 10px; margin-left: 10px;
} }
/*This allows us to override center the text on the jQuery UI Buttons when we set the height above*/ button, input[type="button"], input[type="submit"], input[type="reset"]
{
margin-left: 10px;
}
/*select, button, input[type="button"], input[type="submit"], input[type="reset"]
{
height: 26px;
min-width: 50px;
margin-left: 10px;
}
/*This allows us to override center the text on the jQuery UI Buttons when we set the height above*
button span, input[type="button"] span, input[type="submit"] span, input[type="reset"] span button span, input[type="button"] span, input[type="submit"] span, input[type="reset"] span
{ {
margin-top: -3px; margin-top: -3px;
} }*/
.listButton .listButton
{ {

View File

@ -54,7 +54,7 @@ p, h1, form, button
#stylized .inputClass #stylized .inputClass
{ {
float: left; float: left;
padding: 4px 2px; padding: 2px 2px;
border: solid 1px #aacfe4; border: solid 1px #aacfe4;
width: 200px; width: 200px;
margin: 2px 0 20px 10px; margin: 2px 0 20px 10px;

View File

@ -9,6 +9,7 @@
<style> <style>
.existingSeries .existingSeries
{ {
width: 548px;
border-color: #f2f2f2; border-color: #f2f2f2;
border-width: 1px; border-width: 1px;
border-style: solid; border-style: solid;
@ -16,7 +17,7 @@
margin: 0px 10px 10px 0px; margin: 0px 10px 10px 0px;
padding-left: 10px; padding-left: 10px;
padding-right: 10px; padding-right: 10px;
display: inline-block; display: block;
} }
.masterQualitySelector .masterQualitySelector
{ {
@ -28,6 +29,11 @@
{ {
display: block; display: block;
} }
.existingSeriesContainer
{
position: relative;
}
</style> </style>
@if (Model.ExistingSeries.Count == 0) @if (Model.ExistingSeries.Count == 0)
@ -54,12 +60,12 @@ else
<span class="seriesPathValue"> <span class="seriesPathValue">
@Html.Label(series.Item1) @Html.Label(series.Item1)
</span> </span>
<div> <div class="existingSeriesContainer">
<input class="seriesLookup" type="text" style="width: 400px" value="@series.Item2" /> <input class="seriesLookup" type="text" style="width: 400px;" value="@series.Item2" />
@Html.Hidden("seriesId", series.Item3, new { @class = "seriesId" }) @Html.Hidden("seriesId", series.Item3, new { @class = "seriesId" })
@Html.DropDownList(Guid.NewGuid().ToString(), Model.Quality, new { @class = "qualitySelector" }) @Html.DropDownList(Guid.NewGuid().ToString(), Model.Quality, new { @class = "qualitySelector" })
<button>Add</button> <button class="addExistingButton">Add</button>
</div> </div>
</div> </div>
} }

View File

@ -1,13 +1,4 @@
<style> <style>
#saveDir
{
padding-bottom: 1px;
}
#saveDir span
{
margin-top: -2px;
}
</style> </style>
<span> <span>