|
|
|
@ -4,27 +4,25 @@ |
|
|
|
|
<meta charset="utf-8"> |
|
|
|
|
<link href="styles.css" rel="stylesheet"> |
|
|
|
|
<title>UEM Elo Tracker</title> |
|
|
|
|
<script src="https://cdn.jsdelivr.net/npm/chart.js"></script> |
|
|
|
|
<script src="https://cdn.jsdelivr.net/npm/chartjs-adapter-date-fns/dist/chartjs-adapter-date-fns.bundle.min.js"></script> |
|
|
|
|
<script src="https://cdn.jsdelivr.net/npm/chart.js@4.4/dist/chart.umd.min.js"></script> |
|
|
|
|
<script src="https://cdn.jsdelivr.net/npm/chartjs-adapter-date-fns@3.0/dist/chartjs-adapter-date-fns.bundle.min.js"></script> |
|
|
|
|
<script src="https://cdn.jsdelivr.net/npm/hammerjs@2.0/hammer.min.js"></script> |
|
|
|
|
<script src="https://cdn.jsdelivr.net/npm/chartjs-plugin-zoom@2.0/dist/chartjs-plugin-zoom.min.js"></script> |
|
|
|
|
</head> |
|
|
|
|
<body> |
|
|
|
|
<?php |
|
|
|
|
|
|
|
|
|
echo "<h1>UEM LoL Elo-Challenge</h1>"; |
|
|
|
|
echo "<div class='uem-logo-header'><img class='uem-logo' src='./../img/uem-logo.png' alt=''></div>"; |
|
|
|
|
echo "<div class='leaderboard'>"; |
|
|
|
|
echo "<button type='button' class='update-leaderboard progress-button'>Ränge aktualisieren ".file_get_contents(__DIR__."/../img/material-symbols/sync_24dp_FILL1_wght300_GRAD0_opsz24.svg")."</button>"; |
|
|
|
|
echo "<div class='combined-charts-buttons'> |
|
|
|
|
<h1>UEM LoL Elo-Challenge</h1> |
|
|
|
|
<div class='uem-logo-header'><img class='uem-logo' src='./../img/uem-logo.png' alt=''></div> |
|
|
|
|
<div class='leaderboard'> |
|
|
|
|
<button type='button' class='update-leaderboard progress-button'>Ränge aktualisieren <?php echo file_get_contents(__DIR__."/../img/material-symbols/sync_24dp_FILL1_wght300_GRAD0_opsz24.svg")?></button>
|
|
|
|
|
<div class='combined-charts-buttons'> |
|
|
|
|
<button type='button' id='rank-graph' class='open-general-graph'>Rang-Vergleich</button> |
|
|
|
|
<button type='button' id='progress-graph' class='open-general-graph'>Fortschritt-Vergleich</button> |
|
|
|
|
</div>"; |
|
|
|
|
echo "<div class='graph-wrapper rank-graph closed'><canvas id=\"progress-chart-combined\" style=\"width:100%;max-width:700px\"></canvas></div>"; |
|
|
|
|
echo "<div class='graph-wrapper progress-graph closed'><canvas id=\"progress-chart-combined-progress\" style=\"width:100%;max-width:700px\"></canvas></div>"; |
|
|
|
|
include "leaderboard_list.php"; |
|
|
|
|
echo "</div>"; |
|
|
|
|
|
|
|
|
|
?> |
|
|
|
|
<script src="chart-integration.js"></script> |
|
|
|
|
</div> |
|
|
|
|
<div class='graph-wrapper rank-graph closed'><canvas id="progress-chart-combined" style="width:100%;max-width:700px"></canvas></div> |
|
|
|
|
<div class='graph-wrapper progress-graph closed'><canvas id="progress-chart-combined-progress" style="width:100%;max-width:700px"></canvas></div> |
|
|
|
|
<?php include "leaderboard_list.php"; ?> |
|
|
|
|
</div> |
|
|
|
|
<script src="chart-integration.js"></script> |
|
|
|
|
</body> |
|
|
|
|
</html> |
|
|
|
|
|
|
|
|
|