Fixed the add button on AddSeries.

pull/4/head
Mark McDowall 13 years ago
parent 4486238c4c
commit f99e629817

@ -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;

@ -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>
}

@ -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>

Loading…
Cancel
Save