club-page.hbs rearranged and commented out

This commit is contained in:
Lucas Patenaude
2024-04-15 18:51:26 -06:00
parent 0ffb8f65d6
commit 335f7ef403

View File

@@ -1,68 +1,25 @@
<div class="container" id="club-page-body">
<div id="club-page-body" class="container">
<!-- Container on Left Side containing Club Information -->
<div class="container" id="club-information-container">
<!-- Container on Top containing Club Information -->
<div class="information-container" id="club-information-container">
<img id="league-logo" src="{{club.crest}}" alt="{{club.name}} Logo">
<h1 id="league-title">{{club.name}}</h2>
<img id="league-flag" src="{{club.area.club_flag}}" alt="{{club.name}} Flag">
</div>
<!-- Container on Left Side containing Club History -->
<div id="club-history-container" class="information-container">
</div>
<!-- Club Player Container -->
<div class="container" id="club-players-container">
<h2>Players</h2>
<ul id="players-list"></ul>
<table id="players-table" class="table">
<thead>
<tr>
<th>Name</th>
<th>Position</th>
<th>DOB</th>
<th>Nationality</th>
</tr>
</thead>
<tbody>
{{#each club.squad}}
<tr>
<td>{{name}}</td>
<td>{{position}}</td>
<td>{{dateOfBirth}}</td>
<td>{{nationality}}</td>
</tr>
{{/each}}
</tbody>
</table>
</div>
<!-- Container for Club Information -->
<div class="information-container" id="club-information-container">
<!-- Container for Club Information -->
<div class="information-container" id="club-Attributes-container">
<h2>Information</h2>
<!-- Club Information -->
<ul id="scorers-list"></ul>
<table id="top-scorers-table" class="table">
<table id="club-information-table" class="table">
<tbody>
<!-- Club Crest -->
<tr>
<td id="club-crest">
<img src="{{club.crest}}">
</td>
</tr>
<!-- Club Country Container -->
<tr>
<td id="club-area-flag-row">
<img id="club-area-flag" src="{{club.area.club_flag}}">
</td>
</tr>
<!-- Club Address Container -->
<tr>
<td>
@@ -94,22 +51,20 @@
</tbody>
</table>
</div>
</div> <!-- End of Club History Container -->
<!-- Container to Display Club's Current Competitions -->
<div class="club-current-competitions-container">
<!-- Container to Display Club's Current Competitions -->
<div class="club-current-competitions-container">
<h2>Competitions</h2>
<ul id="competitions-list"></ul>
<table id="players-table" class="table">
<thead>
<tr>
<th>Name</th>
</tr>
</thead>
<tbody>
{{#each club.runningCompetitions}}
<tr>
@@ -117,7 +72,50 @@
</tr>
{{/each}}
</tbody>
</table>
</div> <!-- End of Club Competitions Container -->
</div>
<!-- Container on Right Side containing Club Stats -->
<div id="club-stats-and-players-container" class="stats-container">
<!-- Club Player Container -->
<div id="club-players-container" class="container">
<h2>Players</h2>
<ul id="players-list"></ul>
<table id="players-table" class="table">
<thead>
<tr>
<th>Name</th>
<th>Position</th>
<th>DOB</th>
<th>Nationality</th>
</tr>
</thead>
<tbody>
{{#each club.squad}}
<tr>
<td>{{name}}</td>
<td>{{position}}</td>
<td>{{dateOfBirth}}</td>
<td>{{nationality}}</td>
</tr>
{{/each}}
</tbody>
</table>
</div> <!-- End of Club Player Table Container -->
</div> <!-- End of Club Stats Container -->
</div>