Added table headings and darkmode fix

This commit is contained in:
Peter
2025-04-11 21:56:46 +02:00
parent 23367b6dea
commit ce9260ede6
2 changed files with 18 additions and 9 deletions
+11 -9
View File
@@ -6,15 +6,17 @@
</div>
</app-header>
<div class="container">
<div class="columnContainer">
<button (click)="punishmentType = 'all'">all</button>
<button (click)="punishmentType = 'ban'">bans</button>
<button (click)="punishmentType = 'mute'">mutes</button>
<button (click)="punishmentType = 'warn'">warnings</button>
</div>
<div class="columnContainer">
<app-history [userType]="userType" [punishmentType]="punishmentType"></app-history>
<div class="darkmodeSection">
<div class="columnSection">
<div class="columnContainer">
<button (click)="punishmentType = 'all'">all</button>
<button (click)="punishmentType = 'ban'">bans</button>
<button (click)="punishmentType = 'mute'">mutes</button>
<button (click)="punishmentType = 'warn'">warnings</button>
</div>
<div class="columnContainer">
<app-history [userType]="userType" [punishmentType]="punishmentType"></app-history>
</div>
</div>
</div>
</ng-container>