Quality Settings uses accordion now.

Fixed quality-selectee button initialization.
pull/7/merge
Mark McDowall 13 years ago
parent acf5a2cd76
commit 51958672d0

@ -77,7 +77,7 @@ hr
display: block;
float: left;
height: 26px;
padding: 0px 5px 6px 5px;
padding: 0px 5px 7px 5px;
text-decoration: none;
text-align: center;
text-transform: lowercase;

@ -3,10 +3,8 @@
overflow: auto;
}
#bottom
#profileContainer
{
margin-top: -10px;
margin-left: 15px;
overflow: auto;
}
@ -122,6 +120,7 @@
{
clear: both;
padding-bottom: 20px;
width: 600px;
}
.slider-container

@ -18,15 +18,3 @@ Add Series
@{ Html.RenderAction("ExistingSeries", "AddSeries"); }
</div>
</div>
@*<div class="jquery-tabs">
<ul>
<li><a href="#newSeriesTab">Add New Series</a></li>
<li><a href="#existingSeriesTab">Add Series Already on Disk</a></li>
</ul>
<div id="newSeriesTab" style="min-height: 200px">
@{ Html.RenderAction("AddNew", "AddSeries"); }
</div>
<div id="existingSeriesTab">
@{ Html.RenderAction("ExistingSeries", "AddSeries"); }
</div>
</div>*@

@ -14,6 +14,10 @@
<span class="small">@Html.DescriptionFor(m => m.DefaultQualityProfileId)</span>
</label>
@Html.DropDownListFor(m => m.DefaultQualityProfileId, Model.QualityProfileSelectList, new { @class = "inputClass" })
</div>
<div class="jquery-accordion">
<h3><a href="#">Sizes</a></h3>
<div class="sliders">
<div class="slider-container">
<b>SDTV</b>
@ -64,9 +68,7 @@
</span>
</div>
</div>
</div>
<div id="bottom">
<h3><a href="#">Profiles</a></h3>
<div id="profileContainer">
<div id="profileHeader">
<a id="addItem" href="@Url.Action("AddProfile", "Settings")">
@ -80,10 +82,11 @@
}
</div>
</div>
<br />
<button type="submit" class="save_button" disabled="disabled">
Save</button>
</div>
<br />
<button type="submit" class="save_button" disabled="disabled">Save</button>
}
</div>
@section Scripts{
@ -92,6 +95,10 @@
<script type="text/javascript">
var deleteQualityProfileUrl = '@Url.Action("DeleteQualityProfile", "Settings")';
$('.quality-selectee').livequery(function () {
$(this).button();
});
$(document).ready(function () {
setupSliders();
});

@ -38,8 +38,3 @@
@Html.Hidden("cleanId", idClean, new { @class = "cleanId" })
</div>
}
<script type="text/javascript">
$(function () {
$('.quality-selectee').button();
});
</script>

Loading…
Cancel
Save