Skip to content

Commit

Permalink
Update and rename league_leaders_table.html to league_leaders.html
Browse files Browse the repository at this point in the history
  • Loading branch information
Kudzmat authored Oct 16, 2024
1 parent bce6c17 commit 4e8505b
Showing 1 changed file with 15 additions and 8 deletions.
Original file line number Diff line number Diff line change
@@ -1,8 +1,14 @@
<table class="table table-striped table-bordered" id="league-leaders-table">
<!-- NBA Stat Leaders Table -->
<div class="row mt-5" id="league-leaders">
<div class="col-12">
<h2><b>NBA Stat Leaders</b></h2>
<table class="table table-striped table-bordered table-responsive">
<thead>
<tr>
<th scope="col">Player</th>
<th scope="col">Player Profile</th>
<th>Player Name</th>
<th scope="col">Category</th>
<th>Numbers</th>
</tr>
</thead>
<tbody>
Expand All @@ -11,15 +17,16 @@
<td>
<div class="d-flex align-items-center">
<a href="{% url 'nba_stats:player_details' player_full_name=data.0 player_id=data.4 %}">
<img src="{{ data.2 }}" style="background-color: {{ data.3 }}" class="rounded-circle img-fluid" alt="Player Image" width="100" height="150">
<img src="{{ data.2 }}" style="background-color: {{ data.3 }}" class="rounded-circle img-fluid w-25" alt="Player Image">
</a>
</div>
<div class="align-items-center">
<span class="ml-3" style="color: #b4513e;"><b> {{ data.0 }} </b></span>
</div>
</td>
<td>{{ category }} - {{ data.1 }}</td>
<td><h5 class="ml-3" style="color: #b4513e;"><b>{{ data.0 }}</b></h5></td>
<td><h5 class="ml-3" style="color: #b4513e;">{{ category }}</h5></td>
<td><h5 class="ml-3" style="color: #b4513e;">{{ data.1 }}</h5></td>
</tr>
{% endfor %}
</tbody>
</table>
</table>
</div>
</div>

0 comments on commit 4e8505b

Please sign in to comment.