-
Notifications
You must be signed in to change notification settings - Fork 1
/
index.html
61 lines (58 loc) · 2.8 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
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8" />
<title>Cyprus Road Signs Test</title>
<link rel="me" href="https://github.com/mrfeod/cysigns/">
<link rel="apple-touch-icon" sizes="180x180" href="icon/apple-touch-icon.png">
<link rel="icon" type="image/png" sizes="32x32" href="icon/favicon-32x32.png">
<link rel="icon" type="image/png" sizes="16x16" href="icon/favicon-16x16.png">
<link rel="manifest" href="icon/site.webmanifest">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<link rel="stylesheet" href="src/spectre.min.css">
<link rel="stylesheet" href="src/style.css">
</head>
<body>
<div id="selfTest" class="form-group">
<label class="form-switch label-sm">
<input id="mode" type="checkbox" class="input-sm" onclick="switchMode()">
<i class="form-icon"></i>🎓
</label>
<label class="form-switch label-sm">
<input id="lang" type="checkbox" class="input-sm" onclick="updateTranslation()">
<i class="form-icon"></i>🌏
</label>
</div>
<div class="container">
<div class="text-center">❓<span id="question">0</span> of <span id="total">0</span>
<label id="score">🟢<span id="correct">0</span> 🔴<span id="incorrect">0</span></label>
</div>
<div class="spacer"></div>
<figure id="signContainer" class="figure loading-lg">
<div class="spacerW"></div>
<img id="signImage" class="sign-image">
<div class="spacerW"></div>
<div id="finishText" class="text-center">Test finished🎉</div>
</figure>
<div id="answers" class="button-grid">
<button id="answerButton0" class="btn"></button>
<button id="answerButton1" class="btn"></button>
<button id="answerButton2" class="btn"></button>
<button id="answerButton3" class="btn"></button>
</div>
<div id="answerText" class="text-center"></div>
<div class="spacer"></div>
<div class="button-line">
<button id="showAnswerButton" class="btn btn-primary" onclick="showAnswer()">Show answer</button>
<button id="nextButton" class="btn btn-primary" onclick="nextQuestion()">Next</button>
</div>
<div id="footerText" class="text-center">
<a href="#wikipedia" onClick="window.open('https://en.wikipedia.org/wiki/Road_signs_in_Cyprus')">Based
on💡</a> <a href="#github" onClick="window.open('https://github.com/mrfeod/cysigns/')">Code⚙️</a> <a
href="#donate" onClick="window.open('https://buy.stripe.com/8wMaIJaN68zif5K3cc')">«Thank you»💸</a>
</div>
</div>
<script src="src/signs.js"></script>
<script src="src/script.js"></script>
</body>
</html>