-
Notifications
You must be signed in to change notification settings - Fork 1
/
index.html
121 lines (98 loc) · 3.77 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
<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<meta name="viewport" content="width=device-width, initial-scale=1">
<meta name="google-site-verification" content="cV9MjZPEKLzyrUWzsdDAGVqs3FqfddT6KDDjKMLsC-w" />
<title>960fy - Generate Chess960 Positions </title>
<link rel="stylesheet" href="css/main.css">
<link rel="icon" href="img/chesspieces/wikipedia/wN.png">
<link rel="stylesheet" href="css/chessboard-1.0.0.css">
<link rel="stylesheet"
href="https://cdn.jsdelivr.net/npm/@fortawesome/[email protected]/css/fontawesome.min.css"
integrity="sha384-wESLQ85D6gbsF459vf1CiZ2+rr+CsxRY0RpiF1tLlQpDnAgg6rwdsUF1+Ics2bni" crossorigin="anonymous">
<script src="https://code.jquery.com/jquery-3.6.0.min.js"
integrity="sha256-/xUj+3OJU5yExlq6GSYGSHk7tPXikynS7ogEvDej/m4=" crossorigin="anonymous"></script>
</head>
<body>
<section class="hero is-primary is-fullheight is-fullwidth">
<div class="hero-head has-text-centered">
<p class="title has-text-light"> <br>
960fy
</p>
<p class="subtitle has-text-light">
Generate Chess960 Positions
</p>
</div>
<div class="hero-body has-text-centered">
<div class="container is-fluid">
<div class="columns">
<div class="column">
<div id="illegalPos" class="notification is-info has-text-light" style="display:none;">
Position number must be between 0 and 959. <br>
</div>
<div class="field has-addons">
<div class="control">
<a class="button is-static">
Position Number
</a>
</div>
<div class="control is-expanded">
<input id="posNumInput" class="input has-text-centered" type="number" min="0" max="959"
pattern="[0-9]*">
</div>
</div>
<br>
<div class="field has-addons">
<div class="control">
<a class="button is-small is-static">
FEN
</a>
</div>
<div class="control is-expanded">
<input id="fenText" class="input is-small has-text-centered" type="text" readonly>
</div>
<div class="control">
<a class="button copyButton is-small is-info has-text-light" data-clipboard-target="#fenText">
Copy
</a>
</div>
</div>
<br>
<div>
<button id="genRandomButton" class="button is-info has-text-light">
<span class="icon pl-1">
<img src="img/dice-solid.svg"></img>
</span>
<span> Generate Random Position </span>
</button>
</div>
</div>
<div class="column is-half">
<div id="board1"></div>
</div>
<div class="column">
<div class="field">
<button id="analyzeButton" class="button is-info has-text-light">
<span class="icon pl-1">
<img src="img/lichess.svg"></img>
</span>
<span> Analyze on lichess.org </span>
</button>
</div> <br>
<div class="field">
<button id="gitButton" class="button is-info has-text-light">
<span class="icon pl-1">
<img src="img/github-brands.svg"></img>
</span>
<span> Source Code</span></button>
</div>
</div>
</div>
</div>
</div>
</section>
<script type="text/javascript" src="lib/bundle.js"></script>
</body>
</html>