Files
Showy/frontend/src/app/features/library/library-table-line/library-table-line.component.html
T
2024-06-23 17:01:31 +01:00

45 lines
1.5 KiB
HTML

<td>
<input class="form-check-input" type="checkbox">
</td>
<td>
<div class="d-flex align-items-center gap-3">
<div class="product-box image-container">
<img [src]="getLogoPath()" width="80" alt="logo">
</div>
<div class="product-info">
<a class="product-title link-primary cursor-pointer" (click)="cardClick()">{{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>