Initial commit of auto-adding torrent system
This commit is contained in:
@@ -35,7 +35,7 @@
|
||||
<div class="airing-list">
|
||||
@foreach (var show in Model.AiringShows)
|
||||
{
|
||||
<article class="airing-row @(show.IsFuture ? "is-upcoming" : "is-aired")">
|
||||
<article id="show-@show.ShowID" class="airing-row @(show.IsFuture ? "is-upcoming" : "is-aired")">
|
||||
@if (!string.IsNullOrWhiteSpace(show.HeroImageUrl))
|
||||
{
|
||||
<div class="airing-backdrop" style="background-image: url('@show.HeroImageUrl');" aria-hidden="true"></div>
|
||||
@@ -169,6 +169,17 @@
|
||||
{
|
||||
<a href="@show.AnilistUrl" target="_blank" rel="noopener noreferrer" class="btn btn-sm btn-outline-info">AniList</a>
|
||||
}
|
||||
@if (show.Download)
|
||||
{
|
||||
<span class="btn btn-sm btn-success disabled" aria-disabled="true">✓ Marked for download</span>
|
||||
}
|
||||
else
|
||||
{
|
||||
<form method="post" asp-page-handler="Download" class="d-inline">
|
||||
<input type="hidden" name="showId" value="@show.ShowID" />
|
||||
<button type="submit" class="btn btn-sm btn-outline-success">⬇ Download</button>
|
||||
</form>
|
||||
}
|
||||
|
||||
@if (show.SecondaryImages.Count > 0)
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user