aboutsummaryrefslogtreecommitdiffhomepage
path: root/client/src/app/+admin/follows/video-redundancies-list
diff options
context:
space:
mode:
authorRigel Kent <sendmemail@rigelk.eu>2020-04-13 17:03:01 +0200
committerRigel Kent <sendmemail@rigelk.eu>2020-04-13 18:03:21 +0200
commit2bc9bd08cd121bdffbf56a0241c4decfb77bfdd5 (patch)
tree46ec5dab14adfd7e317fdc1c29d62fed89982f98 /client/src/app/+admin/follows/video-redundancies-list
parent92e4ca0d95f61994626233866c57b5b078ef9c5a (diff)
downloadPeerTube-2bc9bd08cd121bdffbf56a0241c4decfb77bfdd5.tar.gz
PeerTube-2bc9bd08cd121bdffbf56a0241c4decfb77bfdd5.tar.zst
PeerTube-2bc9bd08cd121bdffbf56a0241c4decfb77bfdd5.zip
Improving select displays, focus box-shadows for paginators, instructions for index url
Diffstat (limited to 'client/src/app/+admin/follows/video-redundancies-list')
-rw-r--r--client/src/app/+admin/follows/video-redundancies-list/video-redundancies-list.component.html14
-rw-r--r--client/src/app/+admin/follows/video-redundancies-list/video-redundancies-list.component.ts4
2 files changed, 9 insertions, 9 deletions
diff --git a/client/src/app/+admin/follows/video-redundancies-list/video-redundancies-list.component.html b/client/src/app/+admin/follows/video-redundancies-list/video-redundancies-list.component.html
index 18d88c20c..07362b3b9 100644
--- a/client/src/app/+admin/follows/video-redundancies-list/video-redundancies-list.component.html
+++ b/client/src/app/+admin/follows/video-redundancies-list/video-redundancies-list.component.html
@@ -3,9 +3,9 @@
3 <label for="displayType" i18n>Display</label> 3 <label for="displayType" i18n>Display</label>
4 4
5 <div class="peertube-select-container"> 5 <div class="peertube-select-container">
6 <select id="displayType" name="displayType" [(ngModel)]="displayType" (ngModelChange)="onDisplayTypeChanged()"> 6 <select id="displayType" name="displayType" [(ngModel)]="displayType" (ngModelChange)="onDisplayTypeChanged()" class="form-control">
7 <option value="my-videos">My videos duplicated by remote instances</option> 7 <option value="my-videos" i18n>My videos duplicated by remote instances</option>
8 <option value="remote-videos">Remote videos duplicated by my instance</option> 8 <option value="remote-videos" i18n>Remote videos duplicated by my instance</option>
9 </select> 9 </select>
10 </div> 10 </div>
11 </div> 11 </div>
@@ -22,14 +22,14 @@
22 <th i18n pSortableColumn="name">Video name <p-sortIcon field="name"></p-sortIcon></th> 22 <th i18n pSortableColumn="name">Video name <p-sortIcon field="name"></p-sortIcon></th>
23 <th i18n>Video URL</th> 23 <th i18n>Video URL</th>
24 <th i18n *ngIf="isDisplayingRemoteVideos()">Total size</th> 24 <th i18n *ngIf="isDisplayingRemoteVideos()">Total size</th>
25 <th></th> 25 <th style="width: 80px;"></th>
26 </tr> 26 </tr>
27 </ng-template> 27 </ng-template>
28 28
29 <ng-template pTemplate="body" let-expanded="expanded" let-redundancy> 29 <ng-template pTemplate="body" let-expanded="expanded" let-redundancy>
30 <tr> 30 <tr>
31 31
32 <td class="expand-cell"> 32 <td>
33 <span class="expander" i18n-ngbTooltip ngbTooltip="List redundancies" [pRowToggler]="redundancy"> 33 <span class="expander" i18n-ngbTooltip ngbTooltip="List redundancies" [pRowToggler]="redundancy">
34 <i [ngClass]="expanded ? 'glyphicon glyphicon-menu-down' : 'glyphicon glyphicon-menu-right'"></i> 34 <i [ngClass]="expanded ? 'glyphicon glyphicon-menu-down' : 'glyphicon glyphicon-menu-right'"></i>
35 </span> 35 </span>
@@ -53,7 +53,7 @@
53 53
54 <ng-template pTemplate="rowexpansion" let-redundancy> 54 <ng-template pTemplate="rowexpansion" let-redundancy>
55 <tr *ngIf="redundancy.redundancies.files.length !== 0"> 55 <tr *ngIf="redundancy.redundancies.files.length !== 0">
56 <td [attr.colspan]="getColspan()"> 56 <td class="expand-cell" [attr.colspan]="getColspan()">
57 <div *ngFor="let file of redundancy.redundancies.files" class="expansion-block"> 57 <div *ngFor="let file of redundancy.redundancies.files" class="expansion-block">
58 <my-video-redundancy-information [redundancyElement]="file"></my-video-redundancy-information> 58 <my-video-redundancy-information [redundancyElement]="file"></my-video-redundancy-information>
59 </div> 59 </div>
@@ -61,7 +61,7 @@
61 </tr> 61 </tr>
62 62
63 <tr *ngIf="redundancy.redundancies.streamingPlaylists.length !== 0"> 63 <tr *ngIf="redundancy.redundancies.streamingPlaylists.length !== 0">
64 <td [attr.colspan]="getColspan()"> 64 <td class="expand-cell" [attr.colspan]="getColspan()">
65 <div *ngFor="let playlist of redundancy.redundancies.streamingPlaylists"> 65 <div *ngFor="let playlist of redundancy.redundancies.streamingPlaylists">
66 <my-video-redundancy-information [redundancyElement]="playlist"></my-video-redundancy-information> 66 <my-video-redundancy-information [redundancyElement]="playlist"></my-video-redundancy-information>
67 </div> 67 </div>
diff --git a/client/src/app/+admin/follows/video-redundancies-list/video-redundancies-list.component.ts b/client/src/app/+admin/follows/video-redundancies-list/video-redundancies-list.component.ts
index d563b4e95..2b62d30a3 100644
--- a/client/src/app/+admin/follows/video-redundancies-list/video-redundancies-list.component.ts
+++ b/client/src/app/+admin/follows/video-redundancies-list/video-redundancies-list.component.ts
@@ -66,9 +66,9 @@ export class VideoRedundanciesListComponent extends RestTable implements OnInit
66 } 66 }
67 67
68 getColspan () { 68 getColspan () {
69 if (this.isDisplayingRemoteVideos()) return 3 69 if (this.isDisplayingRemoteVideos()) return 5
70 70
71 return 2 71 return 4
72 } 72 }
73 73
74 isDisplayingRemoteVideos () { 74 isDisplayingRemoteVideos () {