2011-11-29 06:10:43 +01:00
|
|
|
@model NzbDrone.Web.Models.QualityProfileModel
|
2011-04-21 03:43:09 +02:00
|
|
|
@using NzbDrone.Web.Helpers
|
2011-04-22 02:30:19 +02:00
|
|
|
@{
|
|
|
|
Layout = null;
|
|
|
|
}
|
2011-05-29 06:07:11 +02:00
|
|
|
@using (Html.BeginCollectionItem("Profiles"))
|
2011-04-21 03:43:09 +02:00
|
|
|
{
|
|
|
|
var idClean = ViewData.TemplateInfo.HtmlFieldPrefix.Replace('[', '_').Replace(']', '_');
|
|
|
|
|
2011-07-01 11:10:42 +02:00
|
|
|
<div class="profileSection" id="profile_@(Model.QualityProfileId)">
|
|
|
|
<div class="qualityHeader">
|
|
|
|
<span class="titleText" id="title_@(Model.QualityProfileId)">
|
|
|
|
@Model.Name
|
2011-12-01 05:19:51 +01:00
|
|
|
</span><a href="#" id="@Model.QualityProfileId" class="deleteProfile" onclick=" deleteProfile('@(Model.QualityProfileId)'); return false;">
|
2012-04-28 21:15:08 +02:00
|
|
|
<img src="../../Content/Images/close.png" alt="Delete" width="22px" height="22px" /></a>
|
2011-07-01 11:10:42 +02:00
|
|
|
</div>
|
|
|
|
<div class="profileOptions">
|
|
|
|
@Html.LabelFor(x => x.Name)
|
2011-12-01 05:19:51 +01:00
|
|
|
@Html.TextBoxFor(x => x.Name, new { @class = "profileName_textbox" })
|
2011-07-01 11:10:42 +02:00
|
|
|
@Html.LabelFor(x => x.Cutoff)
|
|
|
|
@Html.DropDownListFor(m => m.Cutoff, new SelectList(Model.Allowed, Model.Cutoff))
|
|
|
|
</div>
|
2011-12-09 03:34:10 +01:00
|
|
|
<div class="qualitySelectees">
|
2011-12-01 05:19:51 +01:00
|
|
|
@Html.CheckBoxFor(m => m.Sdtv, new { @class = "quality-selectee" })
|
2011-11-29 06:10:43 +01:00
|
|
|
@Html.LabelFor(m => m.Sdtv)
|
2011-12-01 05:19:51 +01:00
|
|
|
@Html.CheckBoxFor(m => m.Dvd, new { @class = "quality-selectee" })
|
2011-11-29 06:10:43 +01:00
|
|
|
@Html.LabelFor(m => m.Dvd)
|
2011-12-01 05:19:51 +01:00
|
|
|
@Html.CheckBoxFor(m => m.Hdtv, new { @class = "quality-selectee" })
|
2011-11-29 06:10:43 +01:00
|
|
|
@Html.LabelFor(m => m.Hdtv)
|
2011-12-01 05:19:51 +01:00
|
|
|
@Html.CheckBoxFor(m => m.Webdl, new { @class = "quality-selectee" })
|
2011-11-29 06:10:43 +01:00
|
|
|
@Html.LabelFor(m => m.Webdl)
|
2011-12-01 05:19:51 +01:00
|
|
|
@Html.CheckBoxFor(m => m.Bluray720p, new { @class = "quality-selectee" })
|
2011-11-29 06:10:43 +01:00
|
|
|
@Html.LabelFor(m => m.Bluray720p)
|
2011-12-01 05:19:51 +01:00
|
|
|
@Html.CheckBoxFor(m => m.Bluray1080p, new { @class = "quality-selectee" })
|
2011-11-29 06:10:43 +01:00
|
|
|
@Html.LabelFor(m => m.Bluray1080p)
|
2011-07-01 11:10:42 +02:00
|
|
|
</div>
|
2011-12-01 05:19:51 +01:00
|
|
|
@Html.HiddenFor(x => x.QualityProfileId, new { @class = "qualityProfileId" })
|
|
|
|
@Html.Hidden("cleanId", idClean, new { @class = "cleanId" })
|
2011-07-01 11:10:42 +02:00
|
|
|
</div>
|
2011-11-29 06:10:43 +01:00
|
|
|
}
|