-
-
Notifications
You must be signed in to change notification settings - Fork 399
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
refactor: add dialog for external playback info
- Loading branch information
Showing
5 changed files
with
39 additions
and
27 deletions.
There are no files selected for viewing
27 changes: 27 additions & 0 deletions
27
...pp/shared/components/external-player-info-dialog/external-player-info-dialog.component.ts
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,27 @@ | ||
import { Component } from '@angular/core'; | ||
import { MatButtonModule } from '@angular/material/button'; | ||
import { MatDialogModule } from '@angular/material/dialog'; | ||
import { TranslateModule } from '@ngx-translate/core'; | ||
import { PlayerViewComponent } from '../../../xtream/player-view/player-view.component'; | ||
|
||
@Component({ | ||
standalone: true, | ||
template: ` | ||
<h2 mat-dialog-title>Information</h2> | ||
<mat-dialog-content class="mat-typography"> | ||
<app-player-view /> | ||
</mat-dialog-content> | ||
<mat-dialog-actions align="end"> | ||
<button mat-button mat-dialog-close cdkFocusInitial color="accent"> | ||
{{ 'CLOSE' | translate }} | ||
</button> | ||
</mat-dialog-actions> | ||
`, | ||
imports: [ | ||
MatButtonModule, | ||
MatDialogModule, | ||
PlayerViewComponent, | ||
TranslateModule, | ||
], | ||
}) | ||
export class ExternalPlayerInfoDialogComponent {} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
8a59ff6
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Successfully deployed to the following URLs:
iptvnator – ./
iptvnator-git-electron-4gray.vercel.app
iptvnator-4gray.vercel.app
iptvnator.vercel.app