Changes to try and get league infromation in. Still a work in progress
This commit is contained in:
@@ -1,23 +1,40 @@
|
||||
<div class="container" id="league-page-body">
|
||||
<!-- league-page.hbs -->
|
||||
|
||||
<!-- Container for all league information (logo, name, country, etc. ) <- top 100px -->
|
||||
<div class="container" id="league-information-container">
|
||||
<img src="{{ competition.league_emblem }}" alt="League Emblem">
|
||||
</div>
|
||||
<!DOCTYPE html>
|
||||
<html lang="en">
|
||||
<head>
|
||||
<meta charset="UTF-8">
|
||||
<meta name="viewport" content="width=device-width, initial-scale=1.0">
|
||||
<title>{{ league_name }}</title>
|
||||
</head>
|
||||
<body>
|
||||
<h1>{{ leagueID }}</h1>
|
||||
<h1>{{ league_name }}</h1>
|
||||
|
||||
<!-- Container to display all stats for league <- bottom rest of the container -->
|
||||
<div class="container" id="league-stats-container">
|
||||
<!-- Display league emblem -->
|
||||
{{#if leagueEmblem}}
|
||||
<img src="{{ leagueEmblem }}" alt="{{ leagueName }} Emblem">
|
||||
{{/if}}
|
||||
|
||||
<!-- Container to display league table <- split 50% -->
|
||||
<div class="container" id="league-table-container">
|
||||
|
||||
|
||||
</div>
|
||||
|
||||
<!-- Container to display top scorers for league <- Split 50% -->
|
||||
<div class="container" id="top-scorers-container">
|
||||
|
||||
</div>
|
||||
|
||||
</div>
|
||||
</div>
|
||||
<!-- Display league standings -->
|
||||
<h2>Standings</h2>
|
||||
<table>
|
||||
<thead>
|
||||
<tr>
|
||||
<th>Position</th>
|
||||
<th>Team</th>
|
||||
<th>Crest</th>
|
||||
</tr>
|
||||
</thead>
|
||||
<tbody>
|
||||
{{#each standings}}
|
||||
<tr>
|
||||
<td>{{ this.league_position }}</td>
|
||||
<td>{{ this.team_name }}</td>
|
||||
<td><img src="{{ this.team_crest }}" alt="{{ this.team_name }} Crest"></td>
|
||||
</tr>
|
||||
{{/each}}
|
||||
</tbody>
|
||||
</table>
|
||||
</body>
|
||||
</html>
|
||||
|
||||
Reference in New Issue
Block a user