2012-09-19 09:32:34 +02:00
|
|
|
@model NzbDrone.Web.Models.SeriesModel
|
2012-01-24 07:29:32 +01:00
|
|
|
@using NzbDrone.Core.Model
|
2012-01-20 08:50:45 +01:00
|
|
|
@using NzbDrone.Core.Repository.Quality
|
|
|
|
@using NzbDrone.Web.Helpers
|
|
|
|
|
|
|
|
@{
|
|
|
|
Layout = null;
|
|
|
|
}
|
|
|
|
|
|
|
|
@*SeriesId, Title, Quality, Monitored, Use Season Folder, Root Directory/Path*, Backlog Toggle*@
|
|
|
|
|
2012-09-23 07:21:20 +02:00
|
|
|
<tr class="seriesEditRow" data-status="@Model.Status">
|
2012-02-23 23:31:50 +01:00
|
|
|
@using (Html.BeginCollectionItem("series"))
|
|
|
|
{
|
|
|
|
var idClean = ViewData.TemplateInfo.HtmlFieldPrefix.Replace('[', '_').Replace(']', '_');
|
|
|
|
|
2012-01-20 08:50:45 +01:00
|
|
|
@Html.HiddenFor(m => m.SeriesId)
|
|
|
|
<td>@Html.CheckBox("editToggle", false, new {@class = "editToggle"})</td>
|
|
|
|
<td>@Model.Title</td>
|
|
|
|
<td>@Html.DropDownListFor(m => m.QualityProfileId, new SelectList((List<QualityProfile>)ViewData["QualityProfiles"], "QualityProfileId", "Name", Model.QualityProfileId), new { @class = "quality" })</td>
|
|
|
|
<td class="checkboxColumn">@Html.CheckBoxFor(m => m.Monitored, new {@class = "seriesCheckbox monitored"})</td>
|
|
|
|
<td class="checkboxColumn">@Html.CheckBoxFor(m => m.SeasonFolder, new {@class = "seriesCheckbox seasonFolder"})</td>
|
2012-01-26 02:02:21 +01:00
|
|
|
<td>@Html.DropDownListFor(m => m.BacklogSetting, new SelectList((List<KeyValuePair<int, string>>)ViewData["BacklogSettingTypes"], "Key", "Value", (int)Model.BacklogSetting), new { @class = "backlogSetting" })</td>
|
2012-09-20 17:37:40 +02:00
|
|
|
<td>@Html.TextBoxFor(m => m.CustomStartDate, new { type = "date", @class = "start-date jQuery-datepicker" })</td>
|
2012-01-21 09:57:14 +01:00
|
|
|
<td>@Html.TextBoxFor(m => m.Path, new { @class = "path" })</td>
|
2012-09-23 07:21:20 +02:00
|
|
|
<td>
|
|
|
|
@if (Model.Status == "Ended")
|
|
|
|
{
|
2012-10-28 20:15:56 +01:00
|
|
|
<i class="icon-play" title="Ended"></i>
|
2012-09-23 07:21:20 +02:00
|
|
|
}
|
|
|
|
|
|
|
|
else
|
|
|
|
{
|
2012-10-28 20:15:56 +01:00
|
|
|
<i class="icon-play" title="Continuing"></i>
|
2012-09-23 07:21:20 +02:00
|
|
|
}
|
|
|
|
</td>
|
2012-02-23 23:31:50 +01:00
|
|
|
}
|
|
|
|
</tr>
|