add table view to library page
This commit is contained in:
1 parent
34766ba8e9
commit
7a21c6ebd8
18 files changed
+473
-36
No files matched your search
+45
@@ -0,0 +1,45 @@
|
||||
<td>
|
||||
<input class="form-check-input" type="checkbox">
|
||||
</td>
|
||||
<td>
|
||||
<div class="d-flex align-items-center gap-3">
|
||||
<div class="product-box">
|
||||
<img [src]="getLogoPath()" width="80" class="rounded-3" alt="">
|
||||
</div>
|
||||
<div class="product-info">
|
||||
<a href="javascript:;" class="product-title">{{entry.title}}</a>
|
||||
<p class="mb-0 product-category" *ngIf="entry.is_tvseries">{{entry.seasons.length}}
|
||||
Season{{entry.seasons.length
|
||||
> 1 ? 's' : ''}}</p>
|
||||
</div>
|
||||
</div>
|
||||
</td>
|
||||
<td>{{entry.is_tvseries ? 'Series' : 'Movie'}}</td>
|
||||
<td>
|
||||
<div class="product-tags">
|
||||
<a href="javascript:;" class="btn-tags" *ngFor="let genre of entry.genres">{{genre}}</a>
|
||||
</div>
|
||||
</td>
|
||||
<td>
|
||||
<div class="product-rating">
|
||||
<i class="bi bi-star-fill text-warning me-2"></i><span>{{entry.entryRating.tmdb_rating |
|
||||
floatFormat:1}}</span>
|
||||
</div>
|
||||
</td>
|
||||
<!-- <td>
|
||||
<a href="javascript:;">Michle Shoes England</a>
|
||||
</td> -->
|
||||
<td>{{entry.release_date | dateFormat:'MMM dd, yyyy '}}</td>
|
||||
<td>{{entry.date_first_seen | dateFormat:'MMM dd, yyyy '}}</td>
|
||||
<td>
|
||||
<div class="dropdown">
|
||||
<button class="btn btn-sm btn-filter dropdown-toggle dropdown-toggle-nocaret" type="button"
|
||||
data-bs-toggle="dropdown">
|
||||
<i class="bi bi-three-dots"></i>
|
||||
</button>
|
||||
<ul class="dropdown-menu">
|
||||
<li (click)="removeEntry(entry.id)"><a class="dropdown-item">Delete</a></li>
|
||||
<li (click)="showAddToListModal()"><a class="dropdown-item">Add to collection</a></li>
|
||||
</ul>
|
||||
</div>
|
||||
</td>
|
||||
Reference in new issue
Block a user