mirror of
https://github.com/4gray/iptvnator.git
synced 2026-10-08 17:06:15 -08:00
29 lines
1.0 KiB
HTML
29 lines
1.0 KiB
HTML
<mat-card>
|
|
<mat-card-subtitle>Add playlist</mat-card-subtitle>
|
|
<div class="drop-container" ngFileDrop [options]="options" (uploadOutput)="onUploadOutput($event)"
|
|
[uploadInput]="uploadInput">
|
|
<div>
|
|
<mat-icon class="upload-icon">save_alt</mat-icon>
|
|
</div>
|
|
<p class="upload-title">
|
|
Drag & drop files here
|
|
</p>
|
|
<p>or</p>
|
|
<input type="file" ngFileSelect [options]="options" (uploadOutput)="onUploadOutput($event)" class="inputfile"
|
|
name="file" id="file" [uploadInput]="uploadInput" multiple>
|
|
<label for="file">
|
|
Choose a file
|
|
</label>
|
|
</div>
|
|
</mat-card>
|
|
<br>
|
|
<ng-container *ngIf="(playlists | keyvalue)?.length > 0">
|
|
<mat-card>
|
|
<mat-card-subtitle>Recent playlists</mat-card-subtitle>
|
|
<mat-card-content>
|
|
<app-recent-playlists [playlists]="playlists" (playlistClicked)="setPlaylist($event)">
|
|
</app-recent-playlists>
|
|
</mat-card-content>
|
|
</mat-card>
|
|
</ng-container>
|