add episode seen history in entry page
This commit is contained in:
1 parent
cf305cabae
commit
dbeb0ee524
11 files changed
+288
-64
No files matched your search
@@ -6,7 +6,7 @@
|
||||
<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">
|
||||
<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>
|
||||
@@ -14,10 +14,15 @@
|
||||
<div style="margin-right: 5px;">
|
||||
{{episodesWatchedCount}}/{{this.season.episode_count}}
|
||||
</div>
|
||||
<div class="form-check" style="margin-right: 5px;" *ngIf="episodesWatchedCount < this.season.episode_count">
|
||||
<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> -->
|
||||
</div>
|
||||
<!-- <p class="mb-0 overview">{{season.overview}}</p> -->
|
||||
</div>
|
||||
|
||||
Reference in new issue
Block a user