Top scorer data imported into league page
This commit is contained in:
@@ -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>
|
||||
|
||||
Reference in New Issue
Block a user