You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
30 lines
1.4 KiB
30 lines
1.4 KiB
<!DOCTYPE html>
|
|
<html lang="de">
|
|
<head>
|
|
<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>
|
|
</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'>
|
|
<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>
|
|
</body>
|
|
</html>
|
|
|
|
|