-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathindex.html
83 lines (67 loc) · 4.1 KB
/
index.html
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
<!doctype html>
<html lang="en">
<head>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1">
<link href="https://cdn.jsdelivr.net/npm/bootstrap@5.0.0-beta2/dist/css/bootstrap.min.css" rel="stylesheet" integrity="sha384-BmbxuPwQa2lc/FVzBcNJ7UAyJxM6wuqIj61tLrc4wSX0szH/Ev+nYRRuWlolflfl" crossorigin="anonymous">
<script src="https://cdn.jsdelivr.net/npm/bootstrap@5.0.0-beta2/dist/js/bootstrap.bundle.min.js" integrity="sha384-b5kHyXgcpbZJO/tY9Ul7kGkf1S0CWuKcCD38l8YkeH8z8QjE0GmW1gYU5S9FOnJ0" crossorigin="anonymous"></script>
<script src="https://gitcdn.link/repo/skeeto/rng-js/master/rng.js"></script>
<link rel="stylesheet" href="index.css" />
<link rel="shortcut icon" href="favicon.png" />
<script src="forms.js"></script>
<script src="index.js"></script>
<title>Puyo Puyo Form Roulette</title>
</head>
<body class="bg-dark">
<nav id="navbar" class="navbar navbar-dark bg-dark">
<a class="navbar-brand" href="#">
<img class="d-inline-block align-top p-2" src="icon.png" width="64" alt="">
<h2 class="text-light d-none d-sm-inline-flex align-bottom">Puyo Puyo Chaining Form Roulette</h2>
</a>
<span class="navbar-text d-none d-lg-inline p-2">Made with ❤️ by Dominik Dóczi ~ <a class="text-light" href="https://github.com/doczi-dominik/puyo-roulette">GitHub</a></span>
</nav>
<div class="container p-2">
<div id="results" class="row g-2">
</div>
</div>
<div class="d-grid p-3">
<button class="btn btn-primary" type="button" onclick="showCard()">Ready Go Go!</button>
</div>
<br />
<div class="container-fluid ">
<h4 class="d-inline text-light p-2">Sync URL</h4>
<p id="syncMessage" class="d-inline-block text-muted p-2"></p>
<input class="form-control bg-dark text-light" type="text" id="syncURLResults" readonly></input>
<br />
<h4 class="d-inline text-light p-2">Players</h4>
<form class="p-2">
<div class="form-check form-check-inline">
<input class="form-check-input" type="radio" name="player" id="1p" value="1" onchange="players=1;randomizeAndGenerateSyncURL()">
<label class="form-check-label text-light" for="1p">1</label>
</div>
<div class="form-check form-check-inline">
<input class="form-check-input" type="radio" name="player" id="2p" value="2" onchange="players=2;randomizeAndGenerateSyncURL()" checked>
<label class="form-check-label text-light" for="2p">2</label>
</div>
<div class="form-check form-check-inline">
<input class="form-check-input" type="radio" name="player" id="3p" value="3" onchange="players=3;randomizeAndGenerateSyncURL()">
<label class="form-check-label text-light" for="3p">3</label>
</div>
<div class="form-check form-check-inline">
<input class="form-check-input" type="radio" name="player" id="4p" value="4" onchange="players=4;randomizeAndGenerateSyncURL()">
<label class="form-check-label text-light" for="4p">4</label>
</div>
</form>
<br />
<h4 class="d-inline text-light p-2">Chaining Forms</h4>
<form class="d-inline-block p-2">
<button type="button" class="btn btn-outline-light" onclick="selectNone()">None</button>
<button type="button" class="btn btn-outline-light" onclick="selectAll()">All</button>
<button type="button" class="btn btn-outline-light" onclick="selectNoCursed()">No Cursed</button>
<button type="button" class="btn btn-outline-light" onclick="selectOnlyCursed()">Only Cursed</button>
</form>
<div class="container-fluid" id="formsContainer">
</div>
</div>
</body>
</html>