1
0
mirror of https://github.com/Radarr/Radarr.git synced 2024-09-22 09:21:43 +02:00
Radarr/NzbDrone.Web/Views/Series/SeriesSearchResults.ascx
Mark McDowall 636f352599 Ability to manually add a show has been added.
UI cleanup for adding series (new, existing and manual).
2011-03-17 00:40:23 -07:00

27 lines
996 B
Plaintext

<%@ Control Language="C#" Inherits="System.Web.Mvc.ViewUserControl<List<NzbDrone.Web.Models.SeriesSearchResultModel>>" %>
<%@ Import Namespace="NzbDrone.Core.Repository" %>
<div id="searchResults">
<fieldset class="tvDbSearchResults">
<legend>Search Results</legend>
<% if (Model.Count == 0)
{ %>
<b>No results found for the series name</b>
<% }
%>
<% int r = 0; %>
<% foreach (var result in Model)
{ %>
<%: Html.RadioButton("selectedSeries", result.TvDbId, new { @class="searchRadio examplePart", id="searchRadio_" + r }) %>
<b><%: Html.Label(result.TvDbName) %></b> (<%: Html.Label(result.FirstAired.ToString("MM/dd/yyyy"))%>)
<%: Html.TextBox(result.TvDbName + "_text", result.TvDbName, new { id = result.TvDbId + "_text", style="display:none" }) %>
<% r++;%>
<br />
<%
} %>
</fieldset>
</div>