mirror of
https://github.com/Tzahi12345/YoutubeDL-Material.git
synced 2026-03-08 04:20:08 +03:00
Added content loader module which will add ghosting to the recent videos component while the files are loading Updated custom playlists component to support large sized cards
13 lines
1.0 KiB
HTML
13 lines
1.0 KiB
HTML
<div *ngIf="playlists && playlists.length > 0">
|
|
<div class="container">
|
|
<div class="row justify-content-center">
|
|
<div *ngFor="let playlist of playlists; let i = index" class="mb-2 mt-2" [ngClass]="[ postsService.card_size === 'small' ? 'col-2 small-col' : '', postsService.card_size === 'medium' ? 'col-6 col-lg-4 medium-col' : '', postsService.card_size === 'large' ? 'col-12 large-col' : '' ]">
|
|
<app-unified-file-card [index]="i" [card_size]="postsService.card_size" (goToFile)="goToPlaylist($event)" [file_obj]="playlist" [is_playlist]="true" (editPlaylist)="editPlaylistDialog($event)" (deleteFile)="deletePlaylist($event)" [loading]="false"></app-unified-file-card>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
<div *ngIf="playlists && playlists.length === 0" style="text-align: center;">
|
|
No playlists available. Create one from your downloading files by clicking the blue plus button.
|
|
</div>
|
|
<div class="add-playlist-button"><button (click)="openCreatePlaylistDialog()" mat-fab><mat-icon>add</mat-icon></button></div> |