-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathindex.html
More file actions
94 lines (94 loc) · 1.9 KB
/
index.html
File metadata and controls
94 lines (94 loc) · 1.9 KB
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
<!doctype html>
<html lang="en">
<head>
<meta charset="UTF-8" />
<link
rel="icon"
type="image/svg+xml"
href="/logo.svg"
/>
<meta
name="viewport"
content="width=device-width, initial-scale=1.0"
/>
<title>HTML Diagram</title>
</head>
<body>
<div id="app">
<header>
<h1 class="accent">HTML Diagram</h1>
<div class="controls">
<label>
typography:
<select id="typography"></select>
</label>
<label>
colored:
<input
type="checkbox"
id="colored"
/>
</label>
</div>
</header>
<main>
<figure>
<p class="player accent">Black</p>
<demo-diagram fen="rnbqkbnr/pppppppp/8/8/8/8/PPPPPPPP/RNBQKBNR w KQkq - 0 1">
</demo-diagram>
<p class="player">White</p>
</figure>
<figure id="live">
<p class="player">Please, wait</p>
<a
target="_blank"
href="https://lichess.org/tv"
>
<demo-diagram></demo-diagram>
</a>
<p class="player">Please, wait</p>
</figure>
<figure id="bronstein">
<p class="player accent">M20</p>
<a
target="_blank"
href="https://www.chessgames.com/perl/chessgame?gid=1238081"
>
<demo-diagram></demo-diagram>
</a>
<p class="player">DavidBronstein</p>
</figure>
</main>
<footer>
<p>
Fonts:
<a
href="https://www.enpassant.dk/chess/fonteng.htm"
target="_blank"
>
Nørresundby Chess Club
</a>
</p>
<p>
<span class="accent">Before use:</span>
please review and comply with the licensing terms of any font used in this demo
</p>
<p>
<a
href="https://github.com/dragunovartem99/html-diagram"
target="_blank"
>
<img
src="/demo/assets/github.svg"
alt="GitHub Logo"
/>
</a>
</p>
</footer>
</div>
<script
type="module"
src="/demo/main.js"
></script>
</body>
</html>