You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
|
|
|
@using System.Collections
|
|
|
|
@using NzbDrone.Web.Models
|
|
|
|
@using System.Web.Mvc.Html
|
|
|
|
@model ExistingSeriesModel
|
|
|
|
@{
|
|
|
|
Layout = null;
|
|
|
|
}
|
|
|
|
|
|
|
|
@if (Model.ExistingSeries.Count == 0)
|
|
|
|
{
|
|
|
|
<h3 style="color: tomato">
|
|
|
|
No series available. Try adding a new Root Folder.
|
|
|
|
</h3>
|
|
|
|
}
|
|
|
|
else
|
|
|
|
{
|
|
|
|
@Html.DropDownList(Guid.NewGuid().ToString(), Model.Quality, new { @class = "qualitySelector masterQualitySelector" })
|
|
|
|
|
|
|
|
foreach (var series in Model.ExistingSeries)
|
|
|
|
{
|
|
|
|
<div class="existingSeries">
|
|
|
|
<span class="seriesPathValue">
|
|
|
|
<label>@series.Item1</label>
|
|
|
|
</span>
|
|
|
|
<div class="existingSeriesContainer">
|
|
|
|
<input class="seriesLookup" type="text" style="width: 400px;" value="@series.Item2" />
|
|
|
|
@Html.Hidden("seriesId", series.Item3, new { @class = "seriesId" })
|
|
|
|
@Html.DropDownList(Guid.NewGuid().ToString(), Model.Quality, new { @class = "qualitySelector" })
|
|
|
|
<button class="addExistingButton">
|
|
|
|
Add</button>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
}
|
|
|
|
}
|