mirror of
https://github.com/Prowlarr/Prowlarr.git
synced 2025-10-03 01:01:34 +02:00
fixed show grid, added details page
This commit is contained in:
45
NzbDrone.Web/Views/Series/Details.aspx
Normal file
45
NzbDrone.Web/Views/Series/Details.aspx
Normal file
@@ -0,0 +1,45 @@
|
||||
<%@ Page Title="" Language="C#" MasterPageFile="~/Views/Shared/Site.Master" Inherits="System.Web.Mvc.ViewPage<NzbDrone.Core.Repository.Series>" %>
|
||||
|
||||
<asp:Content ID="Content1" ContentPlaceHolderID="TitleContent" runat="server">
|
||||
Details
|
||||
</asp:Content>
|
||||
|
||||
<asp:Content ID="Content2" ContentPlaceHolderID="MainContent" runat="server">
|
||||
|
||||
<h2>Details</h2>
|
||||
|
||||
<fieldset>
|
||||
<legend>Fields</legend>
|
||||
|
||||
<div class="display-label">Id</div>
|
||||
<div class="display-field"><%: Model.TvdbId %></div>
|
||||
|
||||
<div class="display-label">SeriesName</div>
|
||||
<div class="display-field"><%: Model.SeriesName %></div>
|
||||
|
||||
<div class="display-label">Status</div>
|
||||
<div class="display-field"><%: Model.Status %></div>
|
||||
|
||||
<div class="display-label">Overview</div>
|
||||
<div class="display-field"><%: Model.Overview %></div>
|
||||
|
||||
<div class="display-label">AirTimes</div>
|
||||
<div class="display-field"><%: Model.AirTimes %></div>
|
||||
|
||||
<div class="display-label">Language</div>
|
||||
<div class="display-field"><%: Model.Language %></div>
|
||||
|
||||
<div class="display-label">Path</div>
|
||||
<div class="display-field"><%: Model.Path %></div>
|
||||
|
||||
<div class="display-label">TvdbId</div>
|
||||
<div class="display-field"><%: Model.TvdbId %></div>
|
||||
|
||||
</fieldset>
|
||||
<p>
|
||||
<%-- <%: Html.ActionLink("Edit", "Edit", new { /* id=Model.PrimaryKey */ }) %> |--%>
|
||||
<%: Html.ActionLink("Back to List", "Index") %>
|
||||
</p>
|
||||
|
||||
</asp:Content>
|
||||
|
@@ -1,16 +1,13 @@
|
||||
<%@ 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">
|
||||
SeriesView
|
||||
SeriesView
|
||||
</asp:Content>
|
||||
|
||||
<asp:Content ID="Content2" ContentPlaceHolderID="MainContent" runat="server">
|
||||
|
||||
<h2>SeriesView</h2>
|
||||
|
||||
<h2>
|
||||
SeriesView</h2>
|
||||
<table>
|
||||
<tr>
|
||||
<th></th>
|
||||
<th>
|
||||
Id
|
||||
</th>
|
||||
@@ -20,58 +17,35 @@
|
||||
<th>
|
||||
Status
|
||||
</th>
|
||||
<th>
|
||||
Overview
|
||||
</th>
|
||||
<th>
|
||||
AirTimes
|
||||
</th>
|
||||
<th>
|
||||
Language
|
||||
</th>
|
||||
<th>
|
||||
Path
|
||||
</th>
|
||||
</tr>
|
||||
|
||||
<% foreach (var item in Model) { %>
|
||||
|
||||
<% foreach (var item in Model)
|
||||
{ %>
|
||||
<tr>
|
||||
<%-- <td>
|
||||
<%: Html.ActionLink("Details", "Details", new { item.TvdbId })%>
|
||||
|
|
||||
<%: Html.ActionLink("Delete", "Delete", new { item.TvdbId })%>
|
||||
</td>--%>
|
||||
<td>
|
||||
<%: Html.ActionLink("Edit", "Edit", new { /* id=item.PrimaryKey */ }) %> |
|
||||
<%: Html.ActionLink("Details", "Details", new { /* id=item.PrimaryKey */ })%> |
|
||||
<%: Html.ActionLink("Delete", "Delete", new { /* id=item.PrimaryKey */ })%>
|
||||
<%: item.TvdbId.ToString()%>
|
||||
</td>
|
||||
<td>
|
||||
<%: item.Id %>
|
||||
</td>
|
||||
<td>
|
||||
<%: item.SeriesName %>
|
||||
<%: Html.ActionLink(item.SeriesName, "Details", new { item.TvdbId })%>
|
||||
</td>
|
||||
<td>
|
||||
<%: item.Status %>
|
||||
</td>
|
||||
<td>
|
||||
<%: item.Overview %>
|
||||
</td>
|
||||
<td>
|
||||
<%: item.AirTimes %>
|
||||
</td>
|
||||
<td>
|
||||
<%: item.Language %>
|
||||
</td>
|
||||
<td>
|
||||
<%: item.Path %>
|
||||
</td>
|
||||
</tr>
|
||||
|
||||
<% } %>
|
||||
|
||||
<% } %>
|
||||
</table>
|
||||
|
||||
<p>
|
||||
<%: Html.ActionLink("Create New", "Create") %>
|
||||
<%: Html.ActionLink("Sync With Disk", "Sync") %>
|
||||
</p>
|
||||
|
||||
</asp:Content>
|
||||
|
||||
|
@@ -9,7 +9,7 @@
|
||||
Settings</h2>
|
||||
<% using (Html.BeginForm())
|
||||
{ %>
|
||||
<%: Html.ValidationSummary(true, "Unable to save you settings. Please correct the errors and try again.") %>
|
||||
<%: Html.ValidationSummary(true, "Unable to save your settings. Please correct the errors and try again.") %>
|
||||
<div>
|
||||
<fieldset>
|
||||
<legend>General</legend>
|
||||
|
@@ -12,7 +12,7 @@
|
||||
|
||||
<div id="header">
|
||||
<div id="title">
|
||||
<h1>[Sponge bob]</h1>
|
||||
<h1>NZBDrone</h1>
|
||||
</div>
|
||||
|
||||
<div id="logindisplay">
|
||||
|
Reference in New Issue
Block a user