2024-04-14 20:07:38 -06:00
|
|
|
<div id="league-page-body" class="page-container">
|
2024-04-15 16:02:19 -06:00
|
|
|
|
2024-04-13 15:58:02 -06:00
|
|
|
<!-- Container for all league information (logo, name, country, etc. ) <- top 100px -->
|
2024-04-16 14:30:18 -06:00
|
|
|
<div id="league-header-container" class="information-container">
|
2024-04-16 14:36:59 -06:00
|
|
|
<img id="generated-page-header-logo" src="{{league.competition.league_emblem}}" alt="{{league.competition.league_name}} Emblem">
|
|
|
|
|
<h1 id="generated-page-header-title">{{league.competition.league_name}}</h2>
|
|
|
|
|
<img id="generated-page-header-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 -->
|
2024-04-16 14:30:18 -06:00
|
|
|
<div id="table-and-top-scorers-containers" class="page-content-container">
|
2024-04-13 15:58:02 -06:00
|
|
|
|
|
|
|
|
<!-- Container to display league table <- split 50% -->
|
2024-04-16 14:30:18 -06:00
|
|
|
<div id="league-table-container" class="content-container">
|
2024-04-13 15:58:02 -06:00
|
|
|
|
2024-04-14 19:32:46 -06:00
|
|
|
<!-- Put header above table container -->
|
2024-04-16 14:30:18 -06:00
|
|
|
<div id="league-table-header-container" class="header-container">
|
2024-04-14 15:47:07 -06:00
|
|
|
<h2>Table</h2>
|
|
|
|
|
</div>
|
|
|
|
|
|
2024-04-14 19:32:46 -06:00
|
|
|
<!-- Container containing all league table stats -->
|
2024-04-16 14:30:18 -06:00
|
|
|
<div id="league-table-stats-container" class="card-container">
|
2024-04-16 14:56:22 -06:00
|
|
|
<table id="league-standings-table" class="alternating-table">
|
2024-04-14 15:47:07 -06:00
|
|
|
<thead>
|
|
|
|
|
<tr>
|
|
|
|
|
<th>#</th>
|
|
|
|
|
<th></th>
|
|
|
|
|
<th>Club</th>
|
|
|
|
|
<th>GP</th>
|
|
|
|
|
<th>W</th>
|
|
|
|
|
<th>L</th>
|
|
|
|
|
<th>D</th>
|
|
|
|
|
<th>GD</th>
|
|
|
|
|
<th>Pts</th>
|
|
|
|
|
</tr>
|
|
|
|
|
</thead>
|
|
|
|
|
<tbody>
|
|
|
|
|
{{#each league.standings}}
|
|
|
|
|
<tr>
|
|
|
|
|
<td>{{table.league_position}}</td>
|
2024-04-15 17:05:19 -06:00
|
|
|
<td id="league-table-club-logo-column"><img id="league-table-club-logo" clubID="{{table.team_id}}" src="{{table.team_crest}}" alt="{{table.team_name}} Crest"></td>
|
|
|
|
|
<td><span id="league-table-club-name-column" clubID="{{table.team_id}}">{{table.team_name}}</span></td>
|
2024-04-14 15:47:07 -06:00
|
|
|
<td>{{games_played}}</td>
|
|
|
|
|
<td>{{wins}}</td>
|
|
|
|
|
<td>{{losses}}</td>
|
|
|
|
|
<td>{{draws}}</td>
|
2024-04-15 17:05:19 -06:00
|
|
|
<td id="league-table-goal-difference-column">{{goal_difference}}</td>
|
|
|
|
|
<td id="league-table-points-column">{{points}}</td>
|
2024-04-14 15:47:07 -06:00
|
|
|
</tr>
|
|
|
|
|
{{/each}}
|
|
|
|
|
</tbody>
|
|
|
|
|
</table>
|
|
|
|
|
</div>
|
2024-04-13 15:58:02 -06:00
|
|
|
</div>
|
|
|
|
|
|
|
|
|
|
<!-- Container to display top scorers for league <- Split 50% -->
|
2024-04-16 14:30:18 -06:00
|
|
|
<div id="league-top-scorers-container" class="content-container">
|
|
|
|
|
|
|
|
|
|
<div id="league-top-scorers-header-container" class="header-container">
|
2024-04-14 16:46:48 -06:00
|
|
|
<h2>Top Scorers</h2>
|
|
|
|
|
</div>
|
|
|
|
|
|
2024-04-16 14:30:18 -06:00
|
|
|
<div id="league-top-scorers-stats-container" class="card-container">
|
|
|
|
|
<table id="league-top-scorers-table">
|
2024-04-14 16:46:48 -06:00
|
|
|
<thead>
|
|
|
|
|
<tr>
|
2024-04-14 17:39:40 -06:00
|
|
|
<th>Goals</th>
|
2024-04-14 16:46:48 -06:00
|
|
|
<th></th>
|
|
|
|
|
<th>Name</th>
|
|
|
|
|
<th>Club</th>
|
2024-04-14 17:39:40 -06:00
|
|
|
<th>GP</th>
|
2024-04-14 16:46:48 -06:00
|
|
|
</tr>
|
|
|
|
|
</thead>
|
|
|
|
|
<tbody>
|
|
|
|
|
{{#each topScorers.scorers}}
|
2024-04-14 18:39:00 -06:00
|
|
|
<tr id="top-scorers-row">
|
2024-04-15 17:05:19 -06:00
|
|
|
<td id="league-top-scorers-goals-column">{{goals}}</td>
|
|
|
|
|
<td><img id="league-top-scorers-logo" clubID="{{team.team_id}}" src="{{team.team_crest}}" alt="{{table.team_name}} Crest"></img></td>
|
|
|
|
|
<td id="league-top-scorers-player-name-column">{{player.player_name}}</td>
|
|
|
|
|
<td id="league-top-scorers-club-name-column" clubID="{{team.team_id}}">{{team.team_name}}</td>
|
2024-04-14 16:46:48 -06:00
|
|
|
<td>{{games_played}}</td>
|
|
|
|
|
</tr>
|
|
|
|
|
{{/each}}
|
|
|
|
|
</tbody>
|
|
|
|
|
</table>
|
|
|
|
|
</div>
|
2024-04-13 15:58:02 -06:00
|
|
|
</div>
|
|
|
|
|
|
|
|
|
|
</div>
|
2024-04-15 16:02:19 -06:00
|
|
|
</div>
|