Add sorting functionality to staff playtime table and include roles in UI and database mapping

This commit is contained in:
2025-11-24 01:08:43 +01:00
parent fb01fc7571
commit 2bc5c41435
5 changed files with 48 additions and 9 deletions
@@ -21,6 +21,23 @@
width: 100%;
}
/* Ensure good contrast in dark/light modes */
.table-theme th.mat-mdc-header-cell,
.table-theme td.mat-mdc-cell,
.table-theme .mat-mdc-header-row,
.table-theme .mat-mdc-row {
color: var(--font-color);
}
/* Apply class to table via HTML's class attribute if needed; here we style all mat tables in this component */
table.mat-mdc-table {
color: var(--font-color);
}
.mat-sort-header-arrow {
color: var(--font-color);
}
.no-data td {
text-align: center;
padding: 16px;