diff options
author | Chocobozzz <me@florianbigard.com> | 2023-05-24 15:27:15 +0200 |
---|---|---|
committer | Chocobozzz <me@florianbigard.com> | 2023-05-24 15:27:15 +0200 |
commit | d0fbc9fd0a29c37f3ff9b99030351e90b276fe7d (patch) | |
tree | fa29fcfd704cbc56c7bc3e3e1c15d84ea0f4dc61 /client/src/app/+admin/overview | |
parent | 25ea1d85e155382367d11036617848fe69a1e6a4 (diff) | |
download | PeerTube-d0fbc9fd0a29c37f3ff9b99030351e90b276fe7d.tar.gz PeerTube-d0fbc9fd0a29c37f3ff9b99030351e90b276fe7d.tar.zst PeerTube-d0fbc9fd0a29c37f3ff9b99030351e90b276fe7d.zip |
Fix lint
Diffstat (limited to 'client/src/app/+admin/overview')
3 files changed, 4 insertions, 8 deletions
diff --git a/client/src/app/+admin/overview/users/user-edit/user-edit.component.html b/client/src/app/+admin/overview/users/user-edit/user-edit.component.html index ce3226857..7b3eadac2 100644 --- a/client/src/app/+admin/overview/users/user-edit/user-edit.component.html +++ b/client/src/app/+admin/overview/users/user-edit/user-edit.component.html | |||
@@ -219,17 +219,17 @@ | |||
219 | 219 | ||
220 | <div class="danger-zone"> | 220 | <div class="danger-zone"> |
221 | <div class="form-group"> | 221 | <div class="form-group"> |
222 | <label i18n>Send a link to reset the password by email to the user</label> | 222 | <div class="mb-1 fw-bold" i18n>Send a link to reset the password by email to the user</div> |
223 | <button (click)="resetPassword()" i18n>Ask for new password</button> | 223 | <button (click)="resetPassword()" i18n>Ask for new password</button> |
224 | </div> | 224 | </div> |
225 | 225 | ||
226 | <div class="form-group"> | 226 | <div class="form-group"> |
227 | <label i18n>Manually set the user password</label> | 227 | <div class="mb-1 fw-bold" i18n>Manually set the user password</div> |
228 | <my-user-password [userId]="user.id" [username]="user.username"></my-user-password> | 228 | <my-user-password [userId]="user.id" [username]="user.username"></my-user-password> |
229 | </div> | 229 | </div> |
230 | 230 | ||
231 | <div *ngIf="user.twoFactorEnabled" class="form-group"> | 231 | <div *ngIf="user.twoFactorEnabled" class="form-group"> |
232 | <label i18n>This user has two factor authentication enabled</label> | 232 | <div class="mb-1 fw-bold" i18n>This user has two factor authentication enabled</div> |
233 | <button (click)="disableTwoFactorAuth()" i18n>Disable two factor authentication</button> | 233 | <button (click)="disableTwoFactorAuth()" i18n>Disable two factor authentication</button> |
234 | </div> | 234 | </div> |
235 | </div> | 235 | </div> |
diff --git a/client/src/app/+admin/overview/users/user-list/user-list.component.html b/client/src/app/+admin/overview/users/user-list/user-list.component.html index b7467d2cb..8c90f5a45 100644 --- a/client/src/app/+admin/overview/users/user-list/user-list.component.html +++ b/client/src/app/+admin/overview/users/user-list/user-list.component.html | |||
@@ -20,7 +20,7 @@ | |||
20 | > | 20 | > |
21 | </my-action-dropdown> | 21 | </my-action-dropdown> |
22 | 22 | ||
23 | <a *ngIf="!isInSelectionMode()" class="add-button" routerLink="/admin/users/create"> | 23 | <a *ngIf="!isInSelectionMode()" class="peertube-create-button" routerLink="/admin/users/create"> |
24 | <my-global-icon iconName="user-add" aria-hidden="true"></my-global-icon> | 24 | <my-global-icon iconName="user-add" aria-hidden="true"></my-global-icon> |
25 | <ng-container i18n>Create user</ng-container> | 25 | <ng-container i18n>Create user</ng-container> |
26 | </a> | 26 | </a> |
diff --git a/client/src/app/+admin/overview/users/user-list/user-list.component.scss b/client/src/app/+admin/overview/users/user-list/user-list.component.scss index 2a3b955d2..559a00251 100644 --- a/client/src/app/+admin/overview/users/user-list/user-list.component.scss +++ b/client/src/app/+admin/overview/users/user-list/user-list.component.scss | |||
@@ -2,10 +2,6 @@ | |||
2 | @use '_mixins' as *; | 2 | @use '_mixins' as *; |
3 | @use 'bootstrap/scss/functions' as *; | 3 | @use 'bootstrap/scss/functions' as *; |
4 | 4 | ||
5 | .add-button { | ||
6 | @include create-button; | ||
7 | } | ||
8 | |||
9 | tr.banned > td { | 5 | tr.banned > td { |
10 | background-color: lighten($color: $red, $amount: 40) !important; | 6 | background-color: lighten($color: $red, $amount: 40) !important; |
11 | } | 7 | } |