Files
PayDirt/public/player.html
RochesterX b00f9e53f1 Up
2025-11-29 19:07:29 -05:00

76 lines
2.8 KiB
HTML

<!DOCTYPE html>
<html>
<head>
<title class="attribute-PlayerName">Loading...</title>
<link rel="stylesheet" href="../assets/css/style.css">
<link rel="stylesheet" href="../public/assets/css/style.css">
</head>
<body>
<div class="center">
<form>
<h2 class="attribute-PlayerName">Loading...</h2>
<hr>
<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>
</div>
</div>
<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>
</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>
<p id="nomatch" style="display: none;">No matches found.</p>
<br>
</form>
<button id="showStats">Show Full Stats</button>
<div style="display: none;" class="player-box">
<table id="stats">
<thead></thead>
<tbody></tbody>
</table>
</div>
</div>
<script type="module" src="/player.js"></script>
</body>
</html>