Styling added to league table

This commit is contained in:
Lucas Patenaude
2024-04-14 16:46:48 -06:00
parent 4cf078cca9
commit 87551a26af
4 changed files with 63 additions and 35 deletions

View File

@@ -53,29 +53,34 @@
<!-- Container to display top scorers for league <- Split 50% -->
<div id="top-scorers-container" class="container">
<h2>Top Scorers</h2>
<table>
<thead>
<tr>
<th></th>
<th>Name</th>
<th>Club</th>
<th>GP</th>
<th>Goals</th>
</tr>
</thead>
<tbody>
{{#each topScorers.scorers}}
<tr>
<td><img src="{{team.team_crest}}" alt="{{table.team_name}} Crest" id="table-logo"></td>
<td>{{player.player_name}}</td>
<td>{{team.team_name}}</td>
<td>{{games_played}}</td>
<td>{{goals}}</td>
</tr>
{{/each}}
</tbody>
</table>
<div id="top-scorers-header-container" class="header">
<h2>Top Scorers</h2>
</div>
<div id="top-scorers-stats-container" class="container">
<table>
<thead>
<tr>
<th></th>
<th>Name</th>
<th>Club</th>
<th>GP</th>
<th>Goals</th>
</tr>
</thead>
<tbody>
{{#each topScorers.scorers}}
<tr>
<td><img src="{{team.team_crest}}" alt="{{table.team_name}} Crest" id="table-logo"></td>
<td>{{player.player_name}}</td>
<td>{{team.team_name}}</td>
<td>{{games_played}}</td>
<td id="goals-column">{{goals}}</td>
</tr>
{{/each}}
</tbody>
</table>
</div>
</div>
</div>