Styling added to league table
This commit is contained in:
@@ -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>
|
||||
|
||||
Reference in New Issue
Block a user