mirror of
https://github.com/4gray/iptvnator.git
synced 2026-10-13 04:26:16 -08:00
35 lines
1.7 KiB
HTML
35 lines
1.7 KiB
HTML
<!-- Applications header-->
|
|
<app-header fxLayout="row" title="IPTVnator" subtitle="Please select a playlist from the list or add a new playlist via file upload or via url"></app-header>
|
|
|
|
<!-- Tab-based layout -->
|
|
<div fxLayout="row" fxFlexAlign="start start">
|
|
<div fxFlex="100">
|
|
<mat-tab-group [dynamicHeight]="true" color="primary" backgroundColor="primary" mat-stretch-tabs>
|
|
<mat-tab>
|
|
<ng-template mat-tab-label>
|
|
<mat-icon class="tab-icon">list</mat-icon> Recently added playlists
|
|
</ng-template>
|
|
<app-recent-playlists [playlists]="playlists" (playlistClicked)="getPlaylist($event)"
|
|
(removeClicked)="removePlaylist($event)">
|
|
</app-recent-playlists>
|
|
</mat-tab>
|
|
<mat-tab>
|
|
<ng-template mat-tab-label>
|
|
<mat-icon class="tab-icon">attach_file</mat-icon> Add via file upload
|
|
</ng-template>
|
|
<ng-template matTabContent>
|
|
<app-file-upload (fileRejected)="rejectFile($event)" (fileSelected)="handlePlaylist($event)"></app-file-upload>
|
|
</ng-template>
|
|
</mat-tab>
|
|
<mat-tab>
|
|
<ng-template mat-tab-label>
|
|
<mat-icon class="tab-icon">link</mat-icon> Add via URL
|
|
</ng-template>
|
|
<ng-template matTabContent>
|
|
<app-url-upload (urlAdded)="sendPlaylistsUrl($event)"></app-url-upload>
|
|
</ng-template>
|
|
</mat-tab>
|
|
</mat-tab-group>
|
|
</div>
|
|
</div>
|
|
<mat-progress-bar *ngIf="isLoading" mode="indeterminate"></mat-progress-bar> |