commit
a168bdfa00
After Width: | Height: | Size: 1.3 KiB |
After Width: | Height: | Size: 288 B |
@ -0,0 +1,28 @@
|
|||||||
|
@using NzbDrone.Web.Helpers
|
||||||
|
@model NzbDrone.Web.Models.SeriesModel
|
||||||
|
|
||||||
|
<tr class="@Model.SeriesId data-row @(ViewData["AltRow"] == null || !(bool)ViewData["AltRow"] ? "" : " alt-row")">
|
||||||
|
<td>@Html.ActionLink(Model.Title, "Details", "Series", new { seriesId = Model.SeriesId }, null)</td>
|
||||||
|
<td>@Model.SeasonsCount</td>
|
||||||
|
<td>@Model.QualityProfileName</td>
|
||||||
|
<td>@Model.Status</td>
|
||||||
|
<td>@Model.NextAiring</td>
|
||||||
|
<td>
|
||||||
|
@{ double progress = (double)Model.EpisodeFileCount / (double)Model.EpisodeCount * 100; }
|
||||||
|
<div class='progressBar' rel='@progress.ToString("0")'>
|
||||||
|
<span class='progressBarText'>@Model.EpisodeFileCount / @Model.EpisodeCount</span>
|
||||||
|
</div>
|
||||||
|
</td>
|
||||||
|
|
||||||
|
@*Commands Column*@
|
||||||
|
<td class="commandsColumn">
|
||||||
|
<img src="../../Content/Images/Rename.png" class="editButton" value="@Model.SeriesId" rel="@Model.Title" />
|
||||||
|
<img src="../../Content/Images/Delete.png" class="deleteButton" value="@Model.SeriesId" rel="@Model.Title" />
|
||||||
|
</td>
|
||||||
|
</tr>
|
||||||
|
<tr class="detail-row details_@(Model.SeriesId) @(ViewData["AltRow"] == null || !(bool)ViewData["AltRow"] ? "" : " alt-row")">
|
||||||
|
<td colspan="7">
|
||||||
|
<b>Airs Day of Week:</b> @Model.AirsDayOfWeek <br/>
|
||||||
|
<b>Overview:</b> @Model.Overview
|
||||||
|
</td>
|
||||||
|
</tr>
|
@ -0,0 +1,48 @@
|
|||||||
|
@using NzbDrone.Core.Model
|
||||||
|
@using NzbDrone.Web.Helpers
|
||||||
|
@using NzbDrone.Web.Models
|
||||||
|
@model UpcomingEpisodeModel
|
||||||
|
|
||||||
|
@{
|
||||||
|
Layout = null;
|
||||||
|
}
|
||||||
|
|
||||||
|
<tr class='@Model.EpisodeId data-row@(ViewData["AltRow"] == null || !(bool)ViewData["AltRow"] ? "" : " alt-row")'>
|
||||||
|
<td>@Html.ActionLink(Model.SeriesTitle, "Details", "Series", new { seriesId = Model.SeriesId }, null)</td>
|
||||||
|
<td>@Model.SeasonNumber</td>
|
||||||
|
<td>@Model.EpisodeNumber</td>
|
||||||
|
<td>@Model.Title</td>
|
||||||
|
|
||||||
|
<td>
|
||||||
|
@{ if(Model.AirDateTime >= DateTime.Today.AddDays(-1) && Model.AirDateTime <= DateTime.Today.AddDays(2))
|
||||||
|
{
|
||||||
|
@(Model.AirTime)
|
||||||
|
}
|
||||||
|
else
|
||||||
|
{
|
||||||
|
@(Model.AirDate + " at " + Model.AirTime)
|
||||||
|
}
|
||||||
|
}
|
||||||
|
</td>
|
||||||
|
|
||||||
|
@{
|
||||||
|
string cellColourClass = String.Empty;
|
||||||
|
|
||||||
|
if (Model.Status == "Missing")
|
||||||
|
{
|
||||||
|
cellColourClass = "episodeMissing";
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
@*Commands Column*@
|
||||||
|
<td class="@cellColourClass">
|
||||||
|
<img src='../../Content/Images/@(Model.Status).png' alt='@Model.Status' title='@Model.Status' class='statusImage status-@Model.Status' />
|
||||||
|
@Ajax.ImageActionLink("../../Content/Images/Search.png", new { Alt = "Search", Title = "Search for episode", @class = "searchImage" }, "Search", "Episode", new { episodeId = Model.EpisodeId }, null, null)
|
||||||
|
</td>
|
||||||
|
</tr>
|
||||||
|
|
||||||
|
<tr class='detail-row@(ViewData["AltRow"] == null || !(bool)ViewData["AltRow"] ? "" : " alt-row")'>
|
||||||
|
<td colspan="6">
|
||||||
|
<b>Overview: </b>@Model.Overview
|
||||||
|
</td>
|
||||||
|
</tr>
|
Loading…
Reference in new issue