2011-11-29 06:10:43 +01:00
|
|
|
@using NzbDrone.Core.Repository.Quality
|
|
|
|
@using NzbDrone.Web.Helpers;
|
2011-05-18 05:39:26 +02:00
|
|
|
@model NzbDrone.Web.Models.QualityModel
|
2012-02-23 20:16:11 +01:00
|
|
|
@{ Layout = null; }
|
2011-12-01 06:04:44 +01:00
|
|
|
<div id="stylized">
|
2011-12-01 07:39:11 +01:00
|
|
|
@using (Html.BeginForm("SaveQuality", "Settings", FormMethod.Post, new { id = "QualityForm", name = "QualityForm" }))
|
2011-12-01 06:04:44 +01:00
|
|
|
{
|
|
|
|
<div id="top" class="settingsForm">
|
|
|
|
<label class="labelClass">@Html.LabelFor(m => m.DefaultQualityProfileId)
|
|
|
|
<span class="small">@Html.DescriptionFor(m => m.DefaultQualityProfileId)</span>
|
|
|
|
</label>
|
|
|
|
@Html.DropDownListFor(m => m.DefaultQualityProfileId, Model.QualityProfileSelectList, new { @class = "inputClass" })
|
2011-12-08 09:19:07 +01:00
|
|
|
</div>
|
|
|
|
|
|
|
|
<div class="jquery-accordion">
|
2011-12-09 05:57:23 +01:00
|
|
|
<h3>
|
2012-02-23 20:16:11 +01:00
|
|
|
<a href="#">Profiles</a></h3>
|
|
|
|
<div id="profileContainer">
|
|
|
|
<div id="profileHeader">
|
2012-02-25 00:27:45 +01:00
|
|
|
<a id="addProfile" href="@Url.Action("AddProfile", "Settings")">
|
2012-10-11 09:27:05 +02:00
|
|
|
<i class="icon-plus icon-large"></i>
|
|
|
|
Add New Profile
|
|
|
|
</a>
|
2012-02-23 20:16:11 +01:00
|
|
|
</div>
|
|
|
|
<div id="profiles">
|
|
|
|
@foreach (var item in (List<QualityProfile>)ViewData["Profiles"])
|
|
|
|
{
|
|
|
|
Html.RenderAction("GetQualityProfileView", item);
|
|
|
|
}
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
<h3>
|
|
|
|
<a href="#">Size Limits</a></h3>
|
2011-12-01 06:04:44 +01:00
|
|
|
<div class="sliders">
|
2012-03-03 02:12:34 +01:00
|
|
|
<div class="infoBox">
|
|
|
|
Size Limits specify the maximum download size NzbDrone will send to your download client.
|
|
|
|
</div>
|
2011-12-01 06:04:44 +01:00
|
|
|
<div class="slider-container">
|
|
|
|
<b>SDTV</b>
|
|
|
|
<div id="sdtv-slider" class="slider">
|
2011-09-16 06:42:30 +02:00
|
|
|
</div>
|
2011-12-01 06:04:44 +01:00
|
|
|
@Html.HiddenFor(m => m.SdtvMaxSize, new { @class = "slider-value" })
|
2012-03-03 02:12:34 +01:00
|
|
|
30 minute size: <span class="30-minute"></span>MB | 60 minute size: <span class="60-minute">
|
|
|
|
</span>MB
|
2011-12-01 06:04:44 +01:00
|
|
|
</div>
|
|
|
|
<div class="slider-container">
|
|
|
|
<b>DVD</b>
|
|
|
|
<div id="dvd-slider" class="slider">
|
2011-09-16 06:42:30 +02:00
|
|
|
</div>
|
2011-12-01 06:04:44 +01:00
|
|
|
@Html.HiddenFor(m => m.DvdMaxSize, new { @class = "slider-value" })
|
2012-03-03 02:12:34 +01:00
|
|
|
30 minute size: <span class="30-minute"></span>MB | 60 minute size: <span class="60-minute">
|
|
|
|
</span>MB
|
2011-12-01 06:04:44 +01:00
|
|
|
</div>
|
|
|
|
<div class="slider-container">
|
|
|
|
<b>HDTV</b>
|
|
|
|
<div id="hdtv-slider" class="slider">
|
2011-09-16 06:42:30 +02:00
|
|
|
</div>
|
2011-12-01 06:04:44 +01:00
|
|
|
@Html.HiddenFor(m => m.HdtvMaxSize, new { @class = "slider-value" })
|
2012-03-03 02:12:34 +01:00
|
|
|
30 minute size: <span class="30-minute"></span>MB | 60 minute size: <span class="60-minute">
|
|
|
|
</span>MB
|
2011-12-01 06:04:44 +01:00
|
|
|
</div>
|
|
|
|
<div class="slider-container">
|
|
|
|
<b>WEBDL</b>
|
|
|
|
<div id="webdl-slider" class="slider">
|
2011-09-16 06:42:30 +02:00
|
|
|
</div>
|
2011-12-01 06:04:44 +01:00
|
|
|
@Html.HiddenFor(m => m.WebdlMaxSize, new { @class = "slider-value" })
|
2012-03-03 02:12:34 +01:00
|
|
|
30 minute size: <span class="30-minute"></span>MB | 60 minute size: <span class="60-minute">
|
|
|
|
</span>MB
|
2011-12-01 06:04:44 +01:00
|
|
|
</div>
|
|
|
|
<div class="slider-container">
|
|
|
|
<b>Bluray 720p</b>
|
|
|
|
<div id="bluray720p-slider" class="slider">
|
2011-09-16 06:42:30 +02:00
|
|
|
</div>
|
2011-12-01 06:04:44 +01:00
|
|
|
@Html.HiddenFor(m => m.Bluray720pMaxSize, new { @class = "slider-value" })
|
2012-03-03 02:12:34 +01:00
|
|
|
30 minute size: <span class="30-minute"></span>MB | 60 minute size: <span class="60-minute">
|
|
|
|
</span>MB
|
2011-12-01 06:04:44 +01:00
|
|
|
</div>
|
|
|
|
<div class="slider-container">
|
|
|
|
<b>Bluray 1080p</b>
|
|
|
|
<div id="bluray1080p-slider" class="slider">
|
2011-09-16 06:42:30 +02:00
|
|
|
</div>
|
2011-12-01 06:04:44 +01:00
|
|
|
@Html.HiddenFor(m => m.Bluray1080pMaxSize, new { @class = "slider-value" })
|
2012-03-03 02:12:34 +01:00
|
|
|
30 minute size: <span class="30-minute"></span>MB | 60 minute size: <span class="60-minute">
|
|
|
|
</span>MB
|
2011-09-16 06:42:30 +02:00
|
|
|
</div>
|
2011-06-28 04:24:42 +02:00
|
|
|
</div>
|
2011-12-01 06:04:44 +01:00
|
|
|
</div>
|
2011-12-08 09:19:07 +01:00
|
|
|
<br />
|
2011-12-09 05:57:23 +01:00
|
|
|
<button type="submit" class="save_button" disabled="disabled">
|
|
|
|
Save</button>
|
2011-12-01 06:04:44 +01:00
|
|
|
}
|
|
|
|
</div>
|
2012-02-23 20:16:11 +01:00
|
|
|
<script type="text/javascript">
|
|
|
|
$(document).ready(function () {
|
|
|
|
setupSliders();
|
|
|
|
});
|
2012-02-18 21:00:50 +01:00
|
|
|
|
2012-02-23 20:16:11 +01:00
|
|
|
$('.quality-selectee').livequery(function () {
|
|
|
|
$(this).button();
|
|
|
|
});
|
|
|
|
</script>
|