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