Fixed the add button on AddSeries.

pull/7/merge
Mark McDowall 13 years ago
parent 4486238c4c
commit f99e629817

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

@ -23,6 +23,11 @@
left: 202px; left: 202px;
position: relative; position: relative;
} }
.seriesPathValue
{
display: block;
}
</style> </style>
@if (Model.ExistingSeries.Count == 0) @if (Model.ExistingSeries.Count == 0)
@ -42,20 +47,19 @@ else
</div> </div>
} }
@foreach (var series in Model.ExistingSeries) @foreach (var series in Model.ExistingSeries)
{ {
<span class="existingSeries"> <div class="existingSeries">
<div> <span class="seriesPathValue">
<span class="seriesPathValue"> @Html.Label(series.Item1)
@Html.Label(series.Item1) </span>
</span>
</div>
<div> <div>
<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 class="addExistingButton">
Add</button> <button>Add</button>
</div> </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" /> <input id="rootDirInput" class="folderLookup" type="text" style="width: 400px" />
<button id="saveDir"> <button id="saveDir">
Add</button> Add</button>

Loading…
Cancel
Save