This commit is contained in:
RochesterX
2025-11-28 13:54:57 -05:00
parent 881c057b6a
commit 711380db2a
11 changed files with 357 additions and 55 deletions

View File

@@ -1,7 +1,7 @@
<!DOCTYPE html>
<html>
<head>
<title class="attribute-player_name">[Player name]</title>
<title class="attribute-PlayerName">[Player name]</title>
<link rel="stylesheet" href="../assets/css/style.css">
<link rel="stylesheet" href="../public/assets/css/style.css">
</head>
@@ -9,34 +9,45 @@
<div class="center">
<h2 class="attribute-PlayerName">[Player Name]</h2>
<table id="table">
<thead id="header">
<tr>
<td>Name</td>
<td>ID</td>
<td>Contract</td>
<td>Team</td>
<td>Position</td>
</tr>
</thead>
<tbody id="results">
<tr>
<td class="attribute-PlayerName">[Name]</td>
<td class="attribute-PlayerID">[ID]</td>
<td class="attribute-TotalValue format-salary">[Salary]</td>
<td class="attribute-Team">[Team]</td>
<td class="attribute-Position">[Position]</td>
</tr>
</tbody>
<div class="info-container">
<div class="info">
<p><b>Position:</b></p>
<p class="attribute-Position"></p>
</div>
<div class="info">
<p><b>Team:</b></p>
<p class="attribute-Team"></p>
</div>
<div class="info">
<p><b>Height:</b></p>
<p class="attribute-Height"></p>
</div>
<div class="info">
<p><b>Weight:</b></p>
<p class="attribute-Weight"></p>
</div>
</div>
<table id="overview">
<thead></thead>
<tbody></tbody>
</table>
<button id="watch">Watch Player</button>
<a href="#" onclick="if (history.length > 1) history.back(); else if (document.referrer) window.location.href = document.referrer; else window.location.href = '#';">Back</a>
<button id="showStats">Show Full Stats</button>
<table id="stats" style="display: none;">
<thead></thead>
<tbody></tbody>
</table>
<p id="nomatch" style="display: none;">No matches found.</p>
<button id="watch">Watch Player</button>
<br>
<a href="#" onclick="if (history.length > 1) history.back(); else if (document.referrer) window.location.href = document.referrer; else window.location.href = '#';">Back</a>
</div>
<script type="module" src="/player.js"></script>