2011-07-28 01:59:48 +03:00
|
|
|
@using System.Collections
|
|
|
|
@using NzbDrone.Web.Models
|
|
|
|
@using System.Web.Mvc.Html
|
|
|
|
@model ExistingSeriesModel
|
|
|
|
@{
|
|
|
|
Layout = null;
|
|
|
|
}
|
2011-08-23 23:31:28 +03:00
|
|
|
|
|
|
|
<style>
|
|
|
|
.existingSeries
|
|
|
|
{
|
|
|
|
border-color: #f2f2f2;
|
|
|
|
border-width: 1px;
|
|
|
|
border-style: solid;
|
|
|
|
background-color: #f2f2f2;
|
|
|
|
margin: 0px 10px 10px 0px;
|
|
|
|
padding-left: 10px;
|
|
|
|
padding-right: 10px;
|
|
|
|
display: inline-block;
|
|
|
|
}
|
|
|
|
.masterQualitySelector
|
|
|
|
{
|
|
|
|
left: 202px;
|
|
|
|
position: relative;
|
|
|
|
}
|
|
|
|
</style>
|
|
|
|
|
2011-07-28 01:59:48 +03:00
|
|
|
@if (Model.ExistingSeries.Count == 0)
|
|
|
|
{
|
|
|
|
<h3 style="color: tomato">
|
|
|
|
No series available. Try adding a new Root Folder.
|
|
|
|
</h3>
|
|
|
|
}
|
|
|
|
else
|
|
|
|
{
|
|
|
|
<h3>
|
|
|
|
Series Ready to be added.
|
|
|
|
@Html.DropDownList(Guid.NewGuid().ToString(), Model.Quality, new { @class = "qualitySelector masterQualitySelector" })
|
|
|
|
</h3>
|
|
|
|
<div>
|
|
|
|
|
|
|
|
</div>
|
|
|
|
|
|
|
|
}
|
|
|
|
@foreach (var series in Model.ExistingSeries)
|
|
|
|
{
|
|
|
|
<span class="existingSeries">
|
|
|
|
<div>
|
|
|
|
<span class="seriesPathValue">
|
|
|
|
@Html.Label(series.Item1)
|
|
|
|
</span>
|
|
|
|
</div>
|
|
|
|
<div>
|
|
|
|
<input class="seriesLookup" type="text" style="width: 400px" value="@series.Item2" />
|
|
|
|
@Html.DropDownList(Guid.NewGuid().ToString(), Model.Quality, new { @class = "qualitySelector" })
|
|
|
|
<button class="addExistingButton">
|
|
|
|
Add</button>
|
|
|
|
</div>
|
|
|
|
</span>
|
|
|
|
}
|