Quality Settings uses accordion now.

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

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

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

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

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

Loading…
Cancel
Save