aboutsummaryrefslogtreecommitdiffhomepage
path: root/client/src/app/+admin/moderation/instance-blocklist
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/moderation/instance-blocklist
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/moderation/instance-blocklist')
-rw-r--r--client/src/app/+admin/moderation/instance-blocklist/instance-account-blocklist.component.html3
-rw-r--r--client/src/app/+admin/moderation/instance-blocklist/instance-server-blocklist.component.html4
2 files changed, 6 insertions, 1 deletions
diff --git a/client/src/app/+admin/moderation/instance-blocklist/instance-account-blocklist.component.html b/client/src/app/+admin/moderation/instance-blocklist/instance-account-blocklist.component.html
index 7797bc56e..8c3930643 100644
--- a/client/src/app/+admin/moderation/instance-blocklist/instance-account-blocklist.component.html
+++ b/client/src/app/+admin/moderation/instance-blocklist/instance-account-blocklist.component.html
@@ -1,12 +1,15 @@
1<p-table 1<p-table
2 [value]="blockedAccounts" [lazy]="true" [paginator]="true" [totalRecords]="totalRecords" [rows]="rowsPerPage" 2 [value]="blockedAccounts" [lazy]="true" [paginator]="true" [totalRecords]="totalRecords" [rows]="rowsPerPage"
3 [sortField]="sort.field" [sortOrder]="sort.order" (onLazyLoad)="loadLazy($event)" 3 [sortField]="sort.field" [sortOrder]="sort.order" (onLazyLoad)="loadLazy($event)"
4 [showCurrentPageReport]="true" i18n-currentPageReportTemplate
5 currentPageReportTemplate="Showing {first} to {last} of {totalRecords} muted accounts"
4> 6>
5 7
6 <ng-template pTemplate="header"> 8 <ng-template pTemplate="header">
7 <tr> 9 <tr>
8 <th i18n>Account</th> 10 <th i18n>Account</th>
9 <th i18n pSortableColumn="createdAt">Muted at <p-sortIcon field="createdAt"></p-sortIcon></th> 11 <th i18n pSortableColumn="createdAt">Muted at <p-sortIcon field="createdAt"></p-sortIcon></th>
12 <th></th> <!-- column for action buttons -->
10 </tr> 13 </tr>
11 </ng-template> 14 </ng-template>
12 15
diff --git a/client/src/app/+admin/moderation/instance-blocklist/instance-server-blocklist.component.html b/client/src/app/+admin/moderation/instance-blocklist/instance-server-blocklist.component.html
index f634ba834..44c5c2fb8 100644
--- a/client/src/app/+admin/moderation/instance-blocklist/instance-server-blocklist.component.html
+++ b/client/src/app/+admin/moderation/instance-blocklist/instance-server-blocklist.component.html
@@ -1,13 +1,15 @@
1<p-table 1<p-table
2 [value]="blockedServers" [lazy]="true" [paginator]="true" [totalRecords]="totalRecords" [rows]="rowsPerPage" 2 [value]="blockedServers" [lazy]="true" [paginator]="true" [totalRecords]="totalRecords" [rows]="rowsPerPage"
3 [sortField]="sort.field" [sortOrder]="sort.order" (onLazyLoad)="loadLazy($event)" 3 [sortField]="sort.field" [sortOrder]="sort.order" (onLazyLoad)="loadLazy($event)"
4 [showCurrentPageReport]="true" i18n-currentPageReportTemplate
5 currentPageReportTemplate="Showing {first} to {last} of {totalRecords} muted instances"
4> 6>
5 7
6 <ng-template pTemplate="header"> 8 <ng-template pTemplate="header">
7 <tr> 9 <tr>
8 <th i18n>Instance</th> 10 <th i18n>Instance</th>
9 <th i18n pSortableColumn="createdAt">Muted at <p-sortIcon field="createdAt"></p-sortIcon></th> 11 <th i18n pSortableColumn="createdAt">Muted at <p-sortIcon field="createdAt"></p-sortIcon></th>
10 <th></th> 12 <th></th> <!-- column for action buttons -->
11 </tr> 13 </tr>
12 </ng-template> 14 </ng-template>
13 15