From 30814423ae98b6ac5f7407fc53cffe32aae57124 Mon Sep 17 00:00:00 2001 From: Kim <1877318+kimsible@users.noreply.github.com> Date: Fri, 31 Jul 2020 11:30:57 +0200 Subject: Improve (accessibility title) and move action-buttons on left in tables (#2980) * Improve and move action-buttons on left in tables * Focus on my-delete and my-button * Correct spaces syntax * Move user-action dropdown on the left Co-authored-by: kimsible --- .../followers-list/followers-list.component.html | 19 ++++++++--------- .../following-list/following-list.component.html | 8 ++++---- .../video-redundancies-list.component.html | 11 +++++----- .../instance-account-blocklist.component.html | 9 ++++---- .../users/user-list/user-list.component.html | 16 +++++++-------- .../my-account-video-channels.component.html | 4 ++-- .../my-account-ownership.component.html | 18 ++++++++-------- .../my-account-video-imports.component.html | 11 +++++----- .../my-account-video-playlists.component.html | 4 ++-- .../my-account-videos.component.html | 4 ++-- .../shared-main/buttons/button.component.html | 4 ++-- .../shared-main/buttons/button.component.scss | 4 ++++ .../buttons/delete-button.component.html | 3 +-- .../shared-main/buttons/delete-button.component.ts | 17 ++++++++++++--- .../shared-main/buttons/edit-button.component.html | 3 +-- .../shared-main/buttons/edit-button.component.ts | 24 ++++++++++++++++++++-- .../account-blocklist.component.html | 8 ++++---- .../server-blocklist.component.html | 8 ++++---- .../user-moderation-dropdown.component.ts | 2 +- 19 files changed, 104 insertions(+), 73 deletions(-) (limited to 'client/src/app') diff --git a/client/src/app/+admin/follows/followers-list/followers-list.component.html b/client/src/app/+admin/follows/followers-list/followers-list.component.html index 050fe40fb..622d464e4 100644 --- a/client/src/app/+admin/follows/followers-list/followers-list.component.html +++ b/client/src/app/+admin/follows/followers-list/followers-list.component.html @@ -24,16 +24,24 @@ + Actions Follower handle State Score Created - + + + + + + + + {{ follow.follower.name + '@' + follow.follower.host }} @@ -50,15 +58,6 @@ {{ follow.score }} {{ follow.createdAt | date: 'short' }} - - - - - - - - - diff --git a/client/src/app/+admin/follows/following-list/following-list.component.html b/client/src/app/+admin/follows/following-list/following-list.component.html index 9dead2557..ed3899e71 100644 --- a/client/src/app/+admin/follows/following-list/following-list.component.html +++ b/client/src/app/+admin/follows/following-list/following-list.component.html @@ -28,16 +28,19 @@ + Action Host State Created Redundancy allowed - + + + {{ follow.following.host }} @@ -58,9 +61,6 @@ [host]="follow.following.host" [redundancyAllowed]="follow.following.hostRedundancyAllowed" > - - - 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 552c9f02d..a654e51a6 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 @@ -24,22 +24,25 @@ + Action Strategy Video Total size - - + + + + {{ getRedundancyStrategy(redundancy) }} @@ -50,10 +53,6 @@ {{ getTotalSize(redundancy) | bytes: 1 }} - - - - 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 486785f35..f461ef31b 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 @@ -19,14 +19,18 @@ + Action Account Muted at - + + + +
@@ -45,9 +49,6 @@ {{ accountBlock.createdAt | date: 'short' }} - - - diff --git a/client/src/app/+admin/users/user-list/user-list.component.html b/client/src/app/+admin/users/user-list/user-list.component.html index e8a084259..012bb2d12 100644 --- a/client/src/app/+admin/users/user-list/user-list.component.html +++ b/client/src/app/+admin/users/user-list/user-list.component.html @@ -61,7 +61,7 @@
- +