Styling and date changes on punishment page

Some styling changes for the punishments page. Also changes how the dates are displayed - they should display differently depending on what region you're in.
This commit is contained in:
Peter
2025-04-11 23:35:57 +02:00
parent 807569a0a1
commit 9076f6d150
4 changed files with 66 additions and 10 deletions
+10 -8
View File
@@ -10,17 +10,19 @@
<section class="darkmodeSection">
<div class="container">
<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 class="historyTypeContainer">
<button class="button-outer" (click)="punishmentType = 'all'">All</button>
<button class="button-outer" (click)="punishmentType = 'ban'">Bans</button>
<button class="button-outer" (click)="punishmentType = 'mute'">Mutes</button>
<button class="button-outer" (click)="punishmentType = 'warn'">Warnings</button>
</div>
<div class="columnContainer bansSearchContainer">
<input class="bansSearch" type="text" placeholder="Search..">
<div class="historySearchContainer">
<input class="historySearch" type="text" placeholder="Search..">
</div>
</div>
<app-history [userType]="userType" [punishmentType]="punishmentType"></app-history>
<div class="historyTable">
<app-history [userType]="userType" [punishmentType]="punishmentType"></app-history>
</div>
</div>
</section>
</main>