feat: mobile UI card layout for players and courses (#16)

This commit is contained in:
Samuel Enocsson
2026-05-22 21:07:00 +02:00
parent e25f66c5d3
commit cc9d8eb4cd
14 changed files with 1007 additions and 56 deletions
+14
View File
@@ -78,6 +78,20 @@
<!-- Footnote -->
<p class="footnote">Unofficial PDGA rating tracker. Ratings scraped from pdga.com on each refresh.</p>
<!-- Mobile sticky add-bar (visible only on mobile via CSS) -->
<form class="mobile-add-bar" onsubmit="searchAndAddPlayerMobile(event)">
<input
id="pdga-number-input-mobile"
name="pdga"
type="text"
inputmode="numeric"
placeholder="PDGA #"
oninput="this.value = this.value.replace(/\\D/g,'')"
aria-label="PDGA number"
/>
<button type="submit" class="btn-primary">Add</button>
</form>
`; %>
<% var modals = `