-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathindex.html
73 lines (71 loc) · 4.23 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
<!DOCTYPE html>
<head>
<title>Chess rating converter</title>
<link rel="stylesheet" href="ratings.css">
</head>
<body>
<h1><a href="?" class="title">Chess rating converter</a></h1>
<input id="input-rating" class="blitz" type="number" min="0" max="5000" value="2000" step="50"/>
<select id="input-rating-type" class="blitz">
<option value="chesscom-rapid" class="rapid">Chesscom Rapid</option>
<option value="chesscom-blitz" class="blitz" selected>Chesscom Blitz</option>
<option value="chesscom-bullet" class="bullet">Chesscom Bullet</option>
<option value="lichess-classical" class="classical">Lichess Classical</option>
<option value="lichess-rapid" class="rapid">Lichess Rapid</option>
<option value="lichess-blitz" class="blitz">Lichess Blitz</option>
<option value="lichess-bullet" class="bullet">Lichess Bullet</option>
<option value="fide" class="classical">FIDE</option>
<option value="uscf" class="classical">USCF</option>
</select>
<br/><br/>
<table>
<tr class="rating-line lichess-classical lichess classical">
<td class="rating-type lichess classical"><a href="?to=lichess-classical"><span class="lichess-name">Lichess</span> <span class="classical-name">Classical</span></a> : </td>
<td id="lichess-classical" class="rating-result lichess classical"></td>
</tr>
<tr class="rating-line chesscom-rapid chesscom rapid">
<td class="rating-type chesscom rapid"><a href="?to=chesscom-rapid"><span class="chesscom-name">Chesscom</span> <span class="rapid-name">Rapid</span></a> : </td>
<td id="chesscom-rapid" class="rating-result chesscom rapid"></td>
</tr>
<tr class="rating-line lichess-rapid lichess rapid">
<td class="rating-type lichess rapid"><a href="?to=lichess-rapid"><span class="lichess-name">Lichess</span> <span class="rapid-name">Rapid</span></a> : </td>
<td id="lichess-rapid" class="rating-result lichess rapid"></td>
</tr>
<tr class="rating-line chesscom-blitz chesscom blitz">
<td class="rating-type chesscom blitz"><a href="?to=chesscom-blitz"><span class="chesscom-name">Chesscom</span> <span class="blitz-name">Blitz</span></a> : </td>
<td id="chesscom-blitz" class="rating-result chesscom blitz"></td>
</tr>
<tr class="rating-line lichess-blitz lichess blitz">
<td class="rating-type lichess blitz"><a href="?to=lichess-blitz"><span class="lichess-name">Lichess</span> <span class="blitz-name">Blitz</span></a> : </td>
<td id="lichess-blitz" class="rating-result lichess blitz"></td>
</tr>
<tr class="rating-line chesscom-bullet chesscom bullet">
<td class="rating-type chesscom bullet"><a href="?to=chesscom-bullet"><span class="chesscom-name">Chesscom</span> <span class="bullet-name">Bullet</span></a> : </td>
<td id="chesscom-bullet" class="rating-result chesscom bullet"></td>
</tr>
<tr class="rating-line lichess-bullet lichess bullet">
<td class="rating-type lichess bullet"><a href="?to=lichess-bullet"><span class="lichess-name">Lichess</span> <span class="bullet-name">Bullet</span></a> : </td>
<td id="lichess-bullet" class="rating-result lichess bullet"></td>
</tr>
<tr class="rating-line fide">
<td class="rating-type fide classical"><a href="?to=fide">FIDE</a> : </td>
<td id="fide" class="rating-result fide classical"></td>
</tr>
<tr class="rating-line uscf">
<td class="rating-type uscf classical"><a href="?to=uscf">USCF</a> : </td>
<td id="uscf" class="rating-result uscf classical"></td>
</tr>
</table>
<div class="footer">
<p>
Disclaimer: The values are approximative and could be wrong, especially for extreme values (low and high).
</p>
<p>
Data from <a href="https://chessgoals.com/rating-comparison">chessgoals.com/rating-comparison</a>
</p>
<p>
Source code <a href="https://github.com/paul2t/chess-rating-converter">github.com/paul2t/chess-rating-converter</a>
</p>
</div>
<script src="ratings.js"></script>
</body>