updated UI

This commit is contained in:
2026-04-26 17:16:45 +01:00
parent 4e9a4cf428
commit 3eacc4976d
@@ -17,9 +17,11 @@
<i class="fa-solid fa-crown text-xs text-yellow-600"></i> <i class="fa-solid fa-crown text-xs text-yellow-600"></i>
} }
<div class="flex items-center justify-end gap-1 w-full"> <div class="flex items-center justify-end gap-1 w-full">
@if (user.grade == 'Member'){
<ion-icon class="text-2xl text-green-800 cursor-pointer" name="arrow-up-circle-outline" <ion-icon class="text-2xl text-green-800 cursor-pointer" name="arrow-up-circle-outline"
(click)="promoteUser(user.id)"></ion-icon> (click)="promoteUser(user.id)"></ion-icon>
<app-pipe></app-pipe> <app-pipe></app-pipe>
}
<ion-icon class="text-xl text-red-800 cursor-pointer" name="ban" <ion-icon class="text-xl text-red-800 cursor-pointer" name="ban"
(click)="deleteUser(user.id)"></ion-icon> (click)="deleteUser(user.id)"></ion-icon>
</div> </div>
@@ -31,9 +33,11 @@
<i class="fa-solid fa-crown text-xs text-yellow-600"></i> <i class="fa-solid fa-crown text-xs text-yellow-600"></i>
} }
<div class="flex items-center justify-end gap-1 w-full"> <div class="flex items-center justify-end gap-1 w-full">
@if (user.grade == 'Member'){
<ion-icon class="text-2xl text-green-800 cursor-pointer" name="arrow-up-circle-outline" <ion-icon class="text-2xl text-green-800 cursor-pointer" name="arrow-up-circle-outline"
(click)="promoteUser(user.id)"></ion-icon> (click)="promoteUser(user.id)"></ion-icon>
<app-pipe></app-pipe> <app-pipe></app-pipe>
}
<ion-icon class="text-xl text-red-800 cursor-pointer" name="ban" <ion-icon class="text-xl text-red-800 cursor-pointer" name="ban"
(click)="deleteUser(user.id)"></ion-icon> (click)="deleteUser(user.id)"></ion-icon>
</div> </div>