Files
PayDirt/public/player.html

76 lines
2.8 KiB
HTML
Raw Normal View History

2025-11-18 21:16:35 -05:00
<!DOCTYPE html>
<html>
<head>
2025-11-29 19:07:29 -05:00
<title class="attribute-PlayerName">Loading...</title>
2025-11-18 21:16:35 -05:00
<link rel="stylesheet" href="../assets/css/style.css">
<link rel="stylesheet" href="../public/assets/css/style.css">
</head>
<body>
<div class="center">
2025-11-29 19:02:01 -05:00
<form>
2025-11-29 19:07:29 -05:00
<h2 class="attribute-PlayerName">Loading...</h2>
2025-11-29 19:02:01 -05:00
<hr>
2025-11-18 21:16:35 -05:00
2025-11-29 19:02:01 -05:00
<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 format-height"></p>
</div>
<div class="info">
<p><b>Weight:</b></p>
<p class="attribute-Weight format-weight"></p>
2025-11-28 19:25:31 -05:00
</div>
</div>
2025-11-29 19:02:01 -05:00
<div class="info-container">
<div class="info">
<div class="cursor-question">
<p><b>PayDirt Score:</b></p>
<span class="tooltip-text">A player's <b>PayDirt score</b> is calculated by weighting their offense score by their annual salary. It is used to evaluate the worth of their contract.</span>
</div>
<p class="attribute-PaydirtScore format-integer"></p>
</div>
<div class="info">
<div class="cursor-question">
<p><b>Offense Score:</b></p>
<span class="tooltip-text">A player's <b>offense score</b> is calculated by combining several of their offense stats into a weighted score. It is indicative of their overall performance.</span>
</div>
<p class="attribute-OffenseScore format-integer"></p>
2025-11-28 19:25:31 -05:00
</div>
2025-11-28 13:54:57 -05:00
</div>
2025-11-29 19:02:01 -05:00
<table id="overview">
<thead></thead>
<tbody></tbody>
</table>
2025-11-28 13:54:57 -05:00
2025-11-29 19:02:01 -05:00
<button id="watch">Watch Player</button>
2025-11-28 13:54:57 -05:00
2025-11-29 19:02:01 -05:00
<a href="#" onclick="if (history.length > 1) history.back(); else if (document.referrer) window.location.href = document.referrer; else window.location.href = '#';">Back</a>
2025-11-28 13:54:57 -05:00
2025-11-18 21:16:35 -05:00
2025-11-29 19:02:01 -05:00
<p id="nomatch" style="display: none;">No matches found.</p>
2025-11-18 21:16:35 -05:00
2025-11-26 21:10:22 -05:00
2025-11-29 19:02:01 -05:00
<br>
</form>
2025-11-18 21:16:35 -05:00
2025-11-29 19:02:01 -05:00
<button id="showStats">Show Full Stats</button>
<div style="display: none;" class="player-box">
<table id="stats">
<thead></thead>
<tbody></tbody>
</table>
</div>
2025-11-18 21:16:35 -05:00
</div>
<script type="module" src="/player.js"></script>
</body>
</html>