mirror of
https://github.com/4gray/iptvnator.git
synced 2026-10-10 10:06:15 -08:00
45 lines
1.3 KiB
HTML
45 lines
1.3 KiB
HTML
<div class="sidebar">
|
|
<div class="sidebar-header">
|
|
<app-playlist-switcher
|
|
class="switcher"
|
|
[currentTitle]="currentPlaylist()?.name || currentPlaylist()?.title || 'Playlist'"
|
|
[subtitle]="'Xtream Code'"
|
|
/>
|
|
<button
|
|
mat-icon-button
|
|
class="manage-categories-btn"
|
|
(click)="openCategoryManagement()"
|
|
[matTooltip]="'XTREAM.CATEGORY_MANAGEMENT.TITLE' | translate"
|
|
>
|
|
<mat-icon>tune</mat-icon>
|
|
</button>
|
|
</div>
|
|
<app-category-view
|
|
[items]="categories()"
|
|
[selectedCategoryId]="selectedCategoryId()"
|
|
[itemCounts]="categoryItemCounts()"
|
|
(categoryClicked)="categoryClicked($event)"
|
|
[showCounts]="true"
|
|
/>
|
|
</div>
|
|
|
|
<div class="main-content">
|
|
@if (!xtreamStore.selectedItem()) {
|
|
<div class="content-header">
|
|
<h2>
|
|
<button mat-icon-button disabled>
|
|
<mat-icon>category</mat-icon>
|
|
</button>
|
|
{{ getContentLabel() }}
|
|
</h2>
|
|
</div>
|
|
}
|
|
<div
|
|
class="scrollable-content"
|
|
[class.no-header]="xtreamStore.selectedItem()"
|
|
>
|
|
<router-outlet />
|
|
</div>
|
|
<!-- <app-mpv-player-bar /> -->
|
|
</div>
|