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.

37 lines
1.6 KiB

2 years ago
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8">
<script src="https://cdnjs.cloudflare.com/ajax/libs/p5.js/1.6.0/p5.min.js" type="text/javascript"></script>
<script src="https://code.jquery.com/jquery-3.6.4.min.js" type="text/javascript"></script>
<script src="data/scripts/js/main.js" type="text/javascript"></script>
<link href="styles.css" rel="stylesheet">
<link href="data/styles/color_picker.css" rel="stylesheet">
<link href="data/styles/range_input.css" rel="stylesheet">
<title>Toornament Teams</title>
</head>
<body>
<div id="p5_loading"></div>
<a href="https://www.toornament.com">
<img src="data/images/PoweredbyToor_White.png" style="position: absolute; bottom: 0; right: 0;">
</a>
<header><h1>Toornament Teams</h1>
</header>
<div id="tournament-selection">
<h2>Select a Tournament or enter ID</h2>
<input name="id" placeholder="Enter Tournament ID here" type="number"/>
<button onclick="openTournamentWithId(this);">Open ID</button>
<br>
<div id="tournament-list"></div>
</div>
<div id="tournament-teams" style="display: none;">
<button onclick="goBackToSelection();">Select another tournament</button>
<h2></h2>
<label>
<input id="search_field" type="text" onkeyup="delay(() => filterFromSearch(this), 100)"/>
</label>
<div id="teams-list"></div>
<div id="team"></div>
</div>
</body>
</html>