Add history page

This commit is contained in:
auto committed 2025-04-11 21:20:02 +02:00
1 parent 4b891dd672
commit 2289b14b5a
16 files changed
+199 -25

No files matched your search

@@ -0,0 +1,16 @@
<ng-container *ngIf="history.length === 0">
<p>No history found</p>
</ng-container>
<ng-container *ngIf="history.length > 0">
<table>
<tr *ngFor="let entry of history">
<td>{{ entry.username }}</td>
<td>{{ entry.punishedBy }}</td>
<td>{{ entry.reason }}</td>
<td>{{ getPunishmentTime(entry) }}</td>
<td>{{ getExpiredTime(entry) }}</td>
</tr>
</table>
</ng-container>