mirror of
https://github.com/4gray/iptvnator.git
synced 2026-10-08 17:06:15 -08:00
2 files changed
+32
-4
No files matched your search
+22
-4
@@ -33,7 +33,13 @@
|
|||||||
[class.active]="selected?.id === channel.id"
|
[class.active]="selected?.id === channel.id"
|
||||||
(click)="selectChannel(channel)"
|
(click)="selectChannel(channel)"
|
||||||
>
|
>
|
||||||
<p matLine>
|
<img
|
||||||
|
[src]="channel.tvg.logo"
|
||||||
|
*ngIf="channel.tvg.logo"
|
||||||
|
width="48"
|
||||||
|
onerror="this.style.display='none'"
|
||||||
|
/>
|
||||||
|
<p matLine class="channel-name">
|
||||||
{{
|
{{
|
||||||
i + 1 + '. ' + channel?.name ||
|
i + 1 + '. ' + channel?.name ||
|
||||||
('CHANNELS.UNNAMED_CHANNEL' | translate)
|
('CHANNELS.UNNAMED_CHANNEL' | translate)
|
||||||
@@ -65,7 +71,13 @@
|
|||||||
[class.active]="selected?.id === channel.id"
|
[class.active]="selected?.id === channel.id"
|
||||||
(click)="selectChannel(channel)"
|
(click)="selectChannel(channel)"
|
||||||
>
|
>
|
||||||
<p matLine>
|
<img
|
||||||
|
[src]="channel.tvg.logo"
|
||||||
|
*ngIf="channel.tvg.logo"
|
||||||
|
width="48"
|
||||||
|
onerror="this.style.display='none'"
|
||||||
|
/>
|
||||||
|
<p matLine class="channel-name">
|
||||||
{{
|
{{
|
||||||
i + 1 + '. ' + channel?.name ||
|
i + 1 + '. ' + channel?.name ||
|
||||||
('CHANNELS.UNNAMED_CHANNEL'
|
('CHANNELS.UNNAMED_CHANNEL'
|
||||||
@@ -95,7 +107,13 @@
|
|||||||
[class.active]="selected?.id === channel.id"
|
[class.active]="selected?.id === channel.id"
|
||||||
(click)="selectChannel(channel)"
|
(click)="selectChannel(channel)"
|
||||||
>
|
>
|
||||||
<p matLine>
|
<img
|
||||||
|
[src]="channel.tvg.logo"
|
||||||
|
*ngIf="channel.tvg.logo"
|
||||||
|
width="48"
|
||||||
|
onerror="this.style.display='none'"
|
||||||
|
/>
|
||||||
|
<p matLine class="channel-name">
|
||||||
{{
|
{{
|
||||||
i + 1 + '. ' + channel?.name ||
|
i + 1 + '. ' + channel?.name ||
|
||||||
('CHANNELS.UNNAMED_CHANNEL' | translate)
|
('CHANNELS.UNNAMED_CHANNEL' | translate)
|
||||||
@@ -107,7 +125,7 @@
|
|||||||
[matTooltip]="'CHANNELS.REMOVE_FAVORITE' | translate"
|
[matTooltip]="'CHANNELS.REMOVE_FAVORITE' | translate"
|
||||||
(click)="toggleFavoriteChannel(channel, $event)"
|
(click)="toggleFavoriteChannel(channel, $event)"
|
||||||
>
|
>
|
||||||
<mat-icon>star</mat-icon>
|
<mat-icon color="accent">star</mat-icon>
|
||||||
</button>
|
</button>
|
||||||
<mat-divider></mat-divider>
|
<mat-divider></mat-divider>
|
||||||
</mat-list-item>
|
</mat-list-item>
|
||||||
|
|||||||
+10
@@ -53,3 +53,13 @@
|
|||||||
margin: 5px !important;
|
margin: 5px !important;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
.channel-name {
|
||||||
|
overflow: hidden;
|
||||||
|
text-overflow: ellipsis;
|
||||||
|
display: -webkit-box;
|
||||||
|
-webkit-line-clamp: 1;
|
||||||
|
-webkit-box-orient: vertical;
|
||||||
|
font-size: 0.9em;
|
||||||
|
width: 290px;
|
||||||
|
}
|
||||||
Reference in new issue
Block a user