2011-04-04 03:31:27 +02:00
|
|
|
@using NzbDrone.Core.Repository.Quality
|
|
|
|
@model SelectList
|
2011-04-05 04:48:46 +02:00
|
|
|
<div style="padding:3px" id="div_@(ViewData["guid"])">
|
2011-04-04 03:31:27 +02:00
|
|
|
<fieldset>
|
|
|
|
<legend>@ViewData["path"].ToString()</legend>
|
|
|
|
<div>
|
|
|
|
@{Html.Telerik().ComboBox()
|
2011-05-31 08:13:46 +02:00
|
|
|
.Name("seriesList_" + ViewData["guid"])
|
2011-04-01 08:36:34 +02:00
|
|
|
.BindTo(Model)
|
2011-04-06 06:34:58 +02:00
|
|
|
.DataBinding(binding => binding.Ajax().Select("_textLookUp", "AddSeries").Delay(400))
|
2011-04-01 08:36:34 +02:00
|
|
|
.Filterable(f => f.FilterMode(AutoCompleteFilterMode.Contains))
|
|
|
|
.HighlightFirstMatch(true)
|
2011-04-04 03:31:27 +02:00
|
|
|
.HtmlAttributes(new { style = "width: 300px;" })
|
2011-04-05 04:48:46 +02:00
|
|
|
.Render();}
|
2011-05-31 08:13:46 +02:00
|
|
|
@Html.Telerik().DropDownList().Name("qualityList_" + ViewData["guid"]).BindTo((SelectList)ViewData["quality"]).HtmlAttributes(new { style = "width: 100px", @class = "qualityDropbox" })
|
2011-04-04 03:31:27 +02:00
|
|
|
<button class="listButton" onclick="addSeries('@ViewData["guid"]','@ViewData["javaPath"].ToString()' )">
|
|
|
|
Add</button>
|
|
|
|
</div>
|
|
|
|
</fieldset>
|
2011-05-31 08:13:46 +02:00
|
|
|
</div>
|