minor entry page styles update

This commit is contained in:
X4Lo committed 2024-05-19 07:09:18 +01:00
1 parent d6245fa768
commit ca7e3fa489
2 files changed
+59 -57

No files matched your search

@@ -171,9 +171,6 @@
margin-bottom: 0;
}
hr {
color: #ffffff;
}
.info-card hr {
margin-top: 5px;
}
@@ -33,7 +33,7 @@
dateFormat:'MMM dd, yyyy'}}
</li>
</ul> -->
<div class="card info-card" *ngIf="entry.entrySeen.length > 0">
<div class="card info-card">
<div class="card-body">
<h6 class="card-title">Info</h6>
<hr>
@@ -63,7 +63,7 @@
</div>
</div>
<div class="card info-card" *ngIf="entry.entrySeen.length > 0">
<div class="card info-card">
<div class="card-body">
<h6 class="card-title">Rating</h6>
<hr>
@@ -123,7 +123,6 @@
</div>
</div>
<!-- end watch history -->
</div>
<div class="col-md-8 right-col">
@@ -164,14 +163,18 @@
</div>
<!-- End Interraction buttons -->
</div>
<!-- Movie Release Date -->
<p>{{this.entry.release_date | dateFormat:'yyyy'}} • {{genres}}</p>
<!-- Movie Overview -->
<p *ngIf="this.entry.title != this.entry.original_title">{{this.entry.original_title}}</p>
<p><strong>{{this.entry.tagline}}</strong></p>
<p>{{this.entry.storyline}}</p>
<div class="row p-3 pt-0">
<!-- Movie Release Date -->
<p class="p-0 m-0">
<span *ngIf="this.entry.title != this.entry.original_title">{{this.entry.original_title}} • </span>
{{this.entry.release_date | dateFormat:'yyyy'}} • {{genres}}
</p>
<!-- Movie Overview -->
<p class="p-0"><strong>{{this.entry.tagline}}</strong></p>
<p class="p-0">{{this.entry.storyline}}</p>
</div>
<!-- Series Seasons -->
<div class="row" *ngIf="entry.is_tvseries">
<h3>Seasons</h3>
@@ -200,57 +203,59 @@
<!-- <div class="row">
<h3>Collections</h3>
</div> -->
<div class="row" *ngIf="this.entry.is_tvseries && this.seenHistory.length != 0">
<h3>Watch History</h3>
<table class="table table-striped">
<thead>
<tr>
<th>Season</th>
<th>Episode</th>
<th>Date Seen</th>
<th>Seen With</th>
<th>Action</th>
</tr>
</thead>
<tbody>
<tr *ngFor="let item of seenHistoryToShow; let i = index">
<td>{{ item.season_number == 0 ? 'Special' : 'Season '+ item.season_number }}</td>
<td>{{ item.episode_number }}</td>
<td>{{ item.date_seen | dateFormat:'MMM dd, yyyy' }}</td>
<td>{{ item.seen_with }}</td>
<td>
<div class="dropdown">
<button class="btn btn-sm btn-filter dropdown-toggle dropdown-toggle-nocaret" type="button"
data-bs-toggle="dropdown" aria-expanded="false">
<i class="bi bi-three-dots"></i>
</button>
<ul class="dropdown-menu" style="cursor: pointer;">
<li (click)="editEpisodeSeen(item)"><a class="dropdown-item">Edit</a></li>
<li (click)="deleteEpisodeSeen(item)"><a class="dropdown-item">Delete</a></li>
</ul>
</div>
</td>
<div class="card-body p-3">
<table class="table table-striped">
<thead>
<tr>
<th>Season</th>
<th>Episode</th>
<th>Date Seen</th>
<th>Seen With</th>
<th>Action</th>
</tr>
</thead>
<tbody>
<tr *ngFor="let item of seenHistoryToShow; let i = index">
<td>{{ item.season_number == 0 ? 'Special' : 'Season '+ item.season_number }}</td>
<td>{{ item.episode_number }}</td>
<td>{{ item.date_seen | dateFormat:'MMM dd, yyyy' }}</td>
<td>{{ item.seen_with }}</td>
<td>
<div class="dropdown">
<button class="btn btn-sm btn-filter dropdown-toggle dropdown-toggle-nocaret" type="button"
data-bs-toggle="dropdown" aria-expanded="false">
<i class="bi bi-three-dots"></i>
</button>
<ul class="dropdown-menu" style="cursor: pointer;">
<li (click)="editEpisodeSeen(item)"><a class="dropdown-item">Edit</a></li>
<li (click)="deleteEpisodeSeen(item)"><a class="dropdown-item">Delete</a></li>
</ul>
</div>
</td>
</tr>
</tbody>
</table>
</tr>
</tbody>
</table>
<div class="pagination-container d-flex justify-content-end" *ngIf="maxPage > 1">
<ul class="pagination pagination-sm">
<li class="page-item" [class.disabled]="currentPage === 1">
<a class="page-link" href="javascript:;" (click)="goToPage(currentPage - 1)">Previous</a>
</li>
<!-- Dynamically generate page numbers -->
<li class="page-item" *ngFor="let page of pageNumbers" [class.active]="currentPage === page">
<a class="page-link" href="javascript:;" (click)="goToPage(page)">{{ page }}</a>
</li>
<li class="page-item" [class.disabled]="currentPage == maxPage">
<a class="page-link" href="javascript:;" (click)="goToPage(currentPage + 1)">Next</a>
</li>
</ul>
<div class="pagination-container d-flex justify-content-end" *ngIf="maxPage > 1">
<ul class="pagination pagination-sm">
<li class="page-item" [class.disabled]="currentPage === 1">
<a class="page-link" href="javascript:;" (click)="goToPage(currentPage - 1)">Previous</a>
</li>
<!-- Dynamically generate page numbers -->
<li class="page-item" *ngFor="let page of pageNumbers" [class.active]="currentPage === page">
<a class="page-link" href="javascript:;" (click)="goToPage(page)">{{ page }}</a>
</li>
<li class="page-item" [class.disabled]="currentPage == maxPage">
<a class="page-link" href="javascript:;" (click)="goToPage(currentPage + 1)">Next</a>
</li>
</ul>
</div>
</div>
</div>
</div>