1
0
Fork 0
mirror of https://github.com/lidarr/Lidarr synced 2024-12-25 01:02:05 +00:00

Fixed the add button on AddSeries.

This commit is contained in:
Mark McDowall 2011-12-04 19:15:02 -08:00
parent 4486238c4c
commit f99e629817
3 changed files with 32 additions and 11 deletions

View file

@ -180,7 +180,6 @@ input[type=text], select
height: 20px;
}
select, button, input[type="button"], input[type="submit"], input[type="reset"]
{
height: 26px;
@ -188,6 +187,12 @@ select, button, input[type="button"], input[type="submit"], input[type="reset"]
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
{
margin-top: -3px;
}
.listButton
{
padding: 2px 10px 2px 10px;

View file

@ -23,6 +23,11 @@
left: 202px;
position: relative;
}
.seriesPathValue
{
display: block;
}
</style>
@if (Model.ExistingSeries.Count == 0)
@ -42,20 +47,19 @@ else
</div>
}
@foreach (var series in Model.ExistingSeries)
{
<span class="existingSeries">
<div>
<span class="seriesPathValue">
@Html.Label(series.Item1)
</span>
</div>
<div class="existingSeries">
<span class="seriesPathValue">
@Html.Label(series.Item1)
</span>
<div>
<input class="seriesLookup" type="text" style="width: 400px" value="@series.Item2" />
@Html.Hidden("seriesId", series.Item3, new { @class = "seriesId" })
@Html.DropDownList(Guid.NewGuid().ToString(), Model.Quality, new { @class = "qualitySelector" })
<button class="addExistingButton">
Add</button>
<button>Add</button>
</div>
</span>
</div>
}

View file

@ -1,4 +1,16 @@
<span>
<style>
#saveDir
{
padding-bottom: 1px;
}
#saveDir span
{
margin-top: -2px;
}
</style>
<span>
<input id="rootDirInput" class="folderLookup" type="text" style="width: 400px" />
<button id="saveDir">
Add</button>