mirror of
https://github.com/Sonarr/Sonarr
synced 2024-12-25 01:06:30 +00:00
33b67a138c
NzbDrone has been RAZORfied completely now, die ASPX pages!
30 lines
923 B
Text
30 lines
923 B
Text
@model List<NzbDrone.Web.Models.SeriesSearchResultModel>
|
|
|
|
<div id="searchResults">
|
|
<fieldset>
|
|
<legend>Search Results</legend>
|
|
@if (Model.Count == 0)
|
|
{
|
|
<b>No results found for the series name</b>
|
|
}
|
|
|
|
@{var open = "(";}
|
|
@{var close = ")";}
|
|
@{int r = 0;}
|
|
@foreach (var result in Model)
|
|
{
|
|
@Html.RadioButton("selectedSeries", result.TvDbId, r == 0,
|
|
new {@class = "searchRadio examplePart", id = "searchRadio_" + r})
|
|
|
|
|
|
<b>@result.TvDbName</b> @open @result.FirstAired.ToShortDateString() @close
|
|
|
|
|
|
<br/>
|
|
|
|
@Html.TextBox(result.TvDbName + "_text", result.TvDbName, new { id = result.TvDbId + "_text", style = "display:none" })
|
|
r++;
|
|
}
|
|
|
|
</fieldset>
|
|
</div>
|