-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathindex.html
160 lines (147 loc) · 4.88 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
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
<!DOCTYPE html>
<html lang="en-US">
<head>
<!-- Meta tags for Bootstrap -->
<meta charset="utf-8" />
<meta name="viewport" content="width=device-width,initial-scale=1" />
<!-- Bootstrap CSS -->
<link
href="https://cdn.jsdelivr.net/npm/bootstrap@5.3.0/dist/css/bootstrap.min.css"
rel="stylesheet"
integrity="sha384-9ndCyUaIbzAi2FUVXJi0CjmCapSmO7SnpJef0486qhLnuZ2cdeRhO02iuK6FUUVM"
crossorigin="anonymous"
/>
<!-- Bootstrap icons -->
<link
rel="stylesheet"
href="https://cdn.jsdelivr.net/npm/bootstrap-icons@1.10.5/font/bootstrap-icons.css"
/>
<link rel="stylesheet" href="style.css" />
<title>Planet X Finder</title>
</head>
<body>
<div class="p-3">
<nav aria-label="breadcrumb">
<ol class="breadcrumb">
<li class="breadcrumb-item">
<a href="/">Home</a>
</li>
<li class="breadcrumb-item active" aria-current="page">
Planet X Finder
</li>
</ol>
</nav>
<div class="mb-2">
<span class="h1">Planet X Finder</span>
<span class="h6 fst-italic text-black text-opacity-50 ms-1">
(<a href="changelog.html" class="text-reset">v0.2</a>)
</span>
</div>
<div class="container-fluid px-0">
<div class="row mb-2">
<div class="col-auto col-form-label">Mode:</div>
<div id="game-mode-group" class="col"></div>
</div>
<div id="rules-row" class="row mb-2 d-none">
<div class="col">
<div class="row mb-2">
<div class="col-lg-6 mb-2">
<h3>Sector Rules</h3>
<ol id="sector-rules-list"></ol>
<h4>Add Sector Rule</h4>
<div
id="add-sector-rule"
class="row align-items-center g-2 mb-2"
></div>
<button
type="button"
id="add-sector-rule-btn"
class="btn btn-success"
disabled
>
Add
</button>
</div>
<div class="col-lg-6">
<h3>Object Rules</h3>
<ol id="object-rules-list"></ol>
<h4>Add Object Rule</h4>
<div
id="add-object-rule"
class="row align-items-center g-2 mb-2"
></div>
<button
type="button"
id="add-object-rule-btn"
class="btn btn-success"
disabled
>
Add
</button>
</div>
</div>
</div>
</div>
<div id="possibilities-row" class="row mb-2 d-none">
<div class="col">
<div class="mb-2">
<span class="h3">Possibilities</span>
<div
id="possibilities-spinner"
class="spinner-border ms-2 d-none"
role="status"
>
<span class="visually-hidden">Loading...</span>
</div>
</div>
<div class="mb-2">
<button
type="button"
id="calculate-possibilities-btn"
class="btn btn-success"
>
Calculate Possibilities
</button>
</div>
<div id="num-possibilities-text" class="d-none"></div>
<div class="table-responsive">
<table
id="possibilities-table"
class="table table-striped table-hover align-middle text-center text-nowrap"
>
<thead>
<tr id="sectors-row">
<th class="small-col"></th>
</tr>
<tr id="distributions-row" class="align-middle">
<th scope="row"></th>
</tr>
</thead>
<tbody id="possibilities-body"></tbody>
</table>
</div>
</div>
</div>
</div>
<div class="text-secondary" style="font-size: 0.8em">
See the source code at
<a href="https://github.com/josephlou5/planet-x-finder" target="_blank"
>https://github.com/josephlou5/planet-x-finder</a
>.
</div>
</div>
<!-- Bootstrap JS (Popper not needed) -->
<script
src="https://cdn.jsdelivr.net/npm/bootstrap@5.3.0/dist/js/bootstrap.min.js"
integrity="sha384-fbbOQedDUMZZ5KreZpsbe1LCZPVmfTnH7ois6mU1QK+m14rQ1l2bGBq41eYeM/fS"
crossorigin="anonymous"
></script>
<!-- JQuery -->
<script
src="https://code.jquery.com/jquery-3.6.0.min.js"
integrity="sha256-/xUj+3OJU5yExlq6GSYGSHk7tPXikynS7ogEvDej/m4="
crossorigin="anonymous"
></script>
<script src="script.js"></script>
</body>
</html>