2024-04-13 15:58:02 -06:00
|
|
|
<div class="container" id="league-page-body">
|
|
|
|
|
|
|
|
|
|
<!-- Container for all league information (logo, name, country, etc. ) <- top 100px -->
|
|
|
|
|
<div class="container" id="league-information-container">
|
2024-04-13 17:11:28 -06:00
|
|
|
<img id="league-logo" src="{{league.competition.league_emblem}}" alt="{{league.competition.league_name}} Emblem">
|
|
|
|
|
<h1 id="league-title">{{league.competition.league_name}}</h2>
|
2024-04-13 18:45:55 -06:00
|
|
|
<img id="league-flag" src="{{league.area.league_flag}}" alt="{{league.competition.league_name}} Flag">
|
2024-04-13 15:58:02 -06:00
|
|
|
</div>
|
|
|
|
|
|
|
|
|
|
<!-- Container to display all stats for league <- bottom rest of the container -->
|
|
|
|
|
<div class="container" id="league-stats-container">
|
|
|
|
|
|
|
|
|
|
<!-- Container to display league table <- split 50% -->
|
|
|
|
|
<div class="container" id="league-table-container">
|
|
|
|
|
|
2024-04-13 17:46:16 -06:00
|
|
|
<h2>Table</h2>
|
2024-04-13 17:11:28 -06:00
|
|
|
<table id="standings-table">
|
|
|
|
|
<thead>
|
|
|
|
|
<tr>
|
|
|
|
|
<th>#</th>
|
|
|
|
|
<th></th>
|
|
|
|
|
<th>Club</th>
|
2024-04-13 18:40:46 -06:00
|
|
|
<th>GP</th>
|
|
|
|
|
<th>W</th>
|
|
|
|
|
<th>L</th>
|
|
|
|
|
<th>D</th>
|
|
|
|
|
<th>GD</th>
|
|
|
|
|
<th>Pts</th>
|
2024-04-13 17:11:28 -06:00
|
|
|
</tr>
|
|
|
|
|
</thead>
|
|
|
|
|
<tbody>
|
|
|
|
|
{{#each league.standings}}
|
|
|
|
|
<tr>
|
|
|
|
|
<td>{{table.league_position}}</td>
|
2024-04-14 13:51:27 -06:00
|
|
|
<td><img src="{{table.team_crest}}" alt="{{table.team_name}} Crest" id="club-logo" clubID="{{table.team_id}}"></td>
|
|
|
|
|
<td><span id="club-name">{{table.team_name}}</span></td>
|
2024-04-13 18:40:46 -06:00
|
|
|
<td>{{games_played}}</td>
|
|
|
|
|
<td>{{wins}}</td>
|
|
|
|
|
<td>{{losses}}</td>
|
|
|
|
|
<td>{{draws}}</td>
|
|
|
|
|
<td>{{goal_difference}}</td>
|
|
|
|
|
<td>{{points}}</td>
|
2024-04-13 17:11:28 -06:00
|
|
|
</tr>
|
|
|
|
|
{{/each}}
|
|
|
|
|
</tbody>
|
|
|
|
|
</table>
|
2024-04-13 15:58:02 -06:00
|
|
|
|
|
|
|
|
</div>
|
|
|
|
|
|
|
|
|
|
<!-- Container to display top scorers for league <- Split 50% -->
|
|
|
|
|
<div class="container" id="top-scorers-container">
|
2024-04-13 19:40:19 -06:00
|
|
|
<h2>Top Scorers</h2>
|
2024-04-13 19:39:36 -06:00
|
|
|
<table>
|
|
|
|
|
<thead>
|
|
|
|
|
<tr>
|
|
|
|
|
<th>Player Name</th>
|
2024-04-13 19:48:25 -06:00
|
|
|
<th>GP</th>
|
2024-04-13 19:39:36 -06:00
|
|
|
<th>Goals</th>
|
2024-04-13 19:48:25 -06:00
|
|
|
<th></th>
|
|
|
|
|
<th>Team Name</th>
|
2024-04-13 19:39:36 -06:00
|
|
|
</tr>
|
|
|
|
|
</thead>
|
|
|
|
|
<tbody>
|
|
|
|
|
{{#each topScorers.scorers}}
|
|
|
|
|
<tr>
|
|
|
|
|
<td>{{player.player_name}}</td>
|
|
|
|
|
<td>{{games_played}}</td>
|
|
|
|
|
<td>{{goals}}</td>
|
2024-04-13 19:48:25 -06:00
|
|
|
<td><img src="{{team.team_crest}}" alt="{{table.team_name}} Crest" id="table-logo"></td>
|
|
|
|
|
<td>{{team.team_name}}</td>
|
|
|
|
|
|
2024-04-13 19:39:36 -06:00
|
|
|
</tr>
|
|
|
|
|
{{/each}}
|
|
|
|
|
</tbody>
|
|
|
|
|
</table>
|
2024-04-13 15:58:02 -06:00
|
|
|
</div>
|
|
|
|
|
|
|
|
|
|
</div>
|
2024-04-13 17:11:28 -06:00
|
|
|
</div>
|