Top scorer data imported into league page

This commit is contained in:
Lucas Patenaude
2024-04-13 19:39:36 -06:00
parent e3f2588cd3
commit 9b99d8f745
3 changed files with 32 additions and 11 deletions

View File

@@ -49,7 +49,27 @@
<!-- Container to display top scorers for league <- Split 50% -->
<div class="container" id="top-scorers-container">
<h1>Top Scorers</h1>
<table>
<thead>
<tr>
<th>Player Name</th>
<th>Team Name</th>
<th>Games Played</th>
<th>Goals</th>
</tr>
</thead>
<tbody>
{{#each topScorers.scorers}}
<tr>
<td>{{player.player_name}}</td>
<td>{{team.team_name}}</td>
<td>{{games_played}}</td>
<td>{{goals}}</td>
</tr>
{{/each}}
</tbody>
</table>
</div>
</div>