sonarr-repo-only/NzbDrone.Web/Views/Series/index.aspx

52 lines
1.4 KiB
Plaintext
Raw Normal View History

2010-09-24 02:39:28 +00:00
<%@ Page Title="" Language="C#" MasterPageFile="~/Views/Shared/Site.Master" Inherits="System.Web.Mvc.ViewPage<IEnumerable<NzbDrone.Core.Repository.Series>>" %>
<asp:Content ID="Content1" ContentPlaceHolderID="TitleContent" runat="server">
2010-09-24 07:14:42 +00:00
SeriesView
2010-09-24 02:39:28 +00:00
</asp:Content>
<asp:Content ID="Content2" ContentPlaceHolderID="MainContent" runat="server">
2010-09-24 07:14:42 +00:00
<h2>
SeriesView</h2>
2010-09-24 02:39:28 +00:00
<table>
<tr>
<th>
Id
</th>
<th>
SeriesName
</th>
<th>
Status
</th>
<th>
Path
</th>
</tr>
2010-09-24 07:14:42 +00:00
<% foreach (var item in Model)
{ %>
2010-09-24 02:39:28 +00:00
<tr>
2010-09-24 07:14:42 +00:00
<%-- <td>
<%: Html.ActionLink("Details", "Details", new { item.TvdbId })%>
|
<%: Html.ActionLink("Delete", "Delete", new { item.TvdbId })%>
</td>--%>
2010-09-24 02:39:28 +00:00
<td>
2010-09-24 07:14:42 +00:00
<%: item.TvdbId.ToString()%>
2010-09-24 02:39:28 +00:00
</td>
<td>
2010-09-24 07:14:42 +00:00
<%: Html.ActionLink(item.SeriesName, "Details", new { item.TvdbId })%>
2010-09-24 02:39:28 +00:00
</td>
<td>
<%: item.Status %>
</td>
<td>
<%: item.Path %>
</td>
</tr>
2010-09-24 07:14:42 +00:00
<% } %>
2010-09-24 02:39:28 +00:00
</table>
<p>
<%: Html.ActionLink("Create New", "Create") %>
2010-09-24 07:14:42 +00:00
<%: Html.ActionLink("Sync With Disk", "Sync") %>
2010-09-24 02:39:28 +00:00
</p>
</asp:Content>