feat: add scoreboard with player names, per-category leaderboards, and themed tables
Add player_name column to games (migration included), with regex-based validation and anti-abuse sanitization. New /scoreboard page shows recent games from localStorage, popular categories with play counts, and top-10 per-category leaderboards sorted by completion time. Also includes two-click reverse word matching, base URL prefix support for reverse-proxy hosting, BasePageHandler refactoring, themed table CSS for all 5 themes, and comprehensive test coverage for player names and scoreboard API. Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
This commit is contained in:
co-authored by
Claude Opus 4.6
parent
9319f08875
commit
36c3c712fe
@@ -269,6 +269,28 @@ body {
|
||||
font-weight: 600;
|
||||
}
|
||||
|
||||
/* Tables (scoreboard) */
|
||||
.table {
|
||||
color: var(--text-primary);
|
||||
border-color: var(--indigo-mid);
|
||||
}
|
||||
|
||||
.table > :not(caption) > * > * {
|
||||
background-color: var(--indigo-dark);
|
||||
border-bottom-color: var(--indigo-mid);
|
||||
color: var(--text-primary);
|
||||
}
|
||||
|
||||
.table-hover > tbody > tr:hover > * {
|
||||
background-color: var(--indigo-mid);
|
||||
color: var(--heading-color);
|
||||
}
|
||||
|
||||
.table thead th {
|
||||
color: var(--heading-color);
|
||||
border-bottom-color: var(--indigo-mid);
|
||||
}
|
||||
|
||||
/* Form controls */
|
||||
.form-select,
|
||||
.form-control {
|
||||
|
||||
Reference in New Issue
Block a user