player info

This commit is contained in:
Aviral
2024-04-11 08:55:35 -06:00
parent d564294275
commit fb72f30ec4
3 changed files with 29 additions and 0 deletions

View File

@@ -0,0 +1,22 @@
<div class="player-card" id="player-card">
<div class="player-card-body">
<table class="table">
<thead>
<tr>
<th>Player Name</th>
<th>Nationality</th>
<th>Contract Start</th>
<th>Contract End</th>
</tr>
</thead>
<tbody>
<tr>
<td>persons.name</td>
<td>persons.nationality</td>
<td>persons.contract.start</td>
<td>persons.contract.end</td>
</tr>
</tbody>
</table>
</div>
</div>

View File

@@ -0,0 +1,7 @@
<div class="playerinfo-table" id="playerinfo">
<div class="playerinfo-container">
{{#each persons}}
{{> player-info/playerinfo}}
{{/each}}
</div>
</div>