1
0
mirror of https://github.com/Radarr/Radarr.git synced 2024-11-17 00:13:15 +01:00
Radarr/NzbDrone.Web/Views/Settings/QualityProfileItem.cshtml

43 lines
1.9 KiB
Plaintext
Raw Normal View History

@model NzbDrone.Web.Models.QualityProfileModel
@using NzbDrone.Web.Helpers
@{
Layout = null;
}
@using (Html.BeginCollectionItem("Profiles"))
{
var idClean = ViewData.TemplateInfo.HtmlFieldPrefix.Replace('[', '_').Replace(']', '_');
2012-10-11 09:27:05 +02:00
<div class="profileSection" data-profile-id="@Model.QualityProfileId">
<div class="qualityHeader">
2012-10-11 09:27:05 +02:00
<span class="titleText">
@Model.Name
2012-10-11 09:27:05 +02:00
</span>
<a href="@Url.Action("DeleteQualityProfile", "Settings", new { profileId = @Model.QualityProfileId })" class="delete-profile">
<i class="icon-remove"></i>
</a>
</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" })
@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" })
@Html.LabelFor(m => m.Sdtv)
2011-12-01 05:19:51 +01:00
@Html.CheckBoxFor(m => m.Dvd, new { @class = "quality-selectee" })
@Html.LabelFor(m => m.Dvd)
2011-12-01 05:19:51 +01:00
@Html.CheckBoxFor(m => m.Hdtv, new { @class = "quality-selectee" })
@Html.LabelFor(m => m.Hdtv)
2011-12-01 05:19:51 +01:00
@Html.CheckBoxFor(m => m.Webdl, new { @class = "quality-selectee" })
@Html.LabelFor(m => m.Webdl)
2011-12-01 05:19:51 +01:00
@Html.CheckBoxFor(m => m.Bluray720p, new { @class = "quality-selectee" })
@Html.LabelFor(m => m.Bluray720p)
2011-12-01 05:19:51 +01:00
@Html.CheckBoxFor(m => m.Bluray1080p, new { @class = "quality-selectee" })
@Html.LabelFor(m => m.Bluray1080p)
</div>
2011-12-01 05:19:51 +01:00
@Html.HiddenFor(x => x.QualityProfileId, new { @class = "qualityProfileId" })
@Html.Hidden("cleanId", idClean, new { @class = "cleanId" })
</div>
}