29 lines
1.6 KiB
HTML
29 lines
1.6 KiB
HTML
<!-- TODO mark season as seen > check box-->
|
|
|
|
<div class="d-flex align-items-start gap-2 list-line" @fadeInOut>
|
|
<img [src]="posterPath" width="70" height="105" class="" alt="Episode poster">
|
|
<div class="flex-grow-1 list-item-1">
|
|
<h6 class="mb-0 list-title">{{season.name}}</h6>
|
|
<p class="mb-0">{{season.air_date | dateFormat:'yyyy'}}</p>
|
|
|
|
<div class="d-flex align-items-center justify-content-between mb-4 mt-3" style="height: 40px;">
|
|
<div class="progress" style="height: 7px; width: 90%;"> <!-- Adjust width as needed -->
|
|
<div class="progress-bar" role="progressbar" [style]="'width:'+ episodesWatchedPercentage + '%'"
|
|
[attr.aria-valuenow]="episodesWatchedPercentage" aria-valuemin="0" aria-valuemax="100"></div>
|
|
</div>
|
|
<div style="margin-right: 5px;">
|
|
{{episodesWatchedCount}}/{{this.season.episode_count}}
|
|
</div>
|
|
<button *ngIf="episodesWatchedCount < this.season.episode_count" type="button"
|
|
class="btn btn-outline-primary rounded-pill d-flex justify-content-center align-items-center"
|
|
style="height: 30px; width: 40px; margin-right: 5px;" (click)="episodeMarkSeenClick()">
|
|
<span class="material-symbols-outlined">check</span>
|
|
</button>
|
|
<!-- <div class="form-check" style="margin-right: 5px;" *ngIf="episodesWatchedCount < this.season.episode_count">
|
|
<input class="form-check-input" type="checkbox" style="height: 20px; width: 20px;" [checked]="isChecked"
|
|
(change)="handleCheckChange()">
|
|
</div> -->
|
|
</div>
|
|
<!-- <p class="mb-0 overview">{{season.overview}}</p> -->
|
|
</div>
|
|
</div> |