chore(hiscores): drop the single-option profile dropdown

Prod only has the "main" profile, so the selector on the list and player
pages offered one choice and did nothing. ?profile= still works.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
max bittkerandClaude Opus 5.5 committed 2026-10-07 15:20:21 -04:00
1 parent 353d1061b6
commit ab59cc31bf
1 file changed
-19
-19
View File
@@ -274,15 +274,6 @@ export async function handleHiscoresPlayerPage(url: URL): Promise<Response | nul
</table>
<br>
<!-- Profile selector -->
<center>
<form method="GET" action="/hiscores/player/${encodeURIComponent(account.username)}">
<select name="profile" onchange="this.form.submit()">
<option value="main"${profile === 'main' ? ' selected' : ''}>Main</option>
</select>
</form>
</center>
<!-- Stats table -->
<table width="400" bgcolor="black" cellpadding="4">
<tr>
@@ -457,16 +448,6 @@ export async function handleHiscoresPage(url: URL): Promise<Response | null> {
</table>
<br>
<!-- Profile selector -->
<center>
<form id="profile-select-form" method="GET" action="/hiscores">
<input type="hidden" name="category" value="${currentCategory}">
<select name="profile" id="profile" onchange="this.form.submit()">
<option value="main"${profile === 'main' ? ' selected' : ''}>Main</option>
</select>
</form>
</center>
<!-- Two column layout: skills + data -->
<table>
<tr>