-
Notifications
You must be signed in to change notification settings - Fork 0
/
index.html
140 lines (130 loc) · 5.08 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
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8" />
<meta http-equiv="X-UA-Compatible" content="IE=edge" />
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<title>Flashcards App</title>
<meta
name="description"
content="App that helps to improve your vocabulary."
/>
<link rel="stylesheet" href="./styles.css" />
<!-- using Font Awesome -->
<script
src="https://kit.fontawesome.com/3766d2d2c4.js"
crossorigin="anonymous"
></script>
<script src="./sql-wasm.js"></script>
<link
href="https://fonts.googleapis.com/css?family=Quicksand:300,500"
rel="stylesheet"
/>
<link
rel="stylesheet"
href="https://fonts.googleapis.com/css?family=Signika"
/>
</head>
<body>
<main>
<nav>
<h1>👨🏻💻 flashcards.app</h1>
</nav>
<div class="content-container">
<!-- ******************** MAINPAGE ******************** -->
<section class="mainpage">
<form class="mainpage-form">
<div class="select1-container">
<label for="select-database">Select user:</label>
<select class="select-database">
<option value="arthur.sqlite">Arthur</option>
<option value="william.sqlite">William</option>
</select>
</div>
<div class="select2-container">
<label for="select-table">Select the table:</label>
<select class="select-table">
<!-- it loads by script.js. Example of option below: -->
<!-- <option value="table1">table1</option> -->
</select>
</div>
<div class="select3-container">
<label for="select-mode">Select mode:</label>
<select class="select-mode">
<option value="flashcards">Flashcards</option>
<option value="learnpage">Learn</option>
</select>
</div>
<input class="start-button" type="button" value="Start" />
</form>
</section>
<!-- ******************* END MAINPAGE ******************* -->
<!-- ******************** LEARN PAGE ******************** -->
<section class="learnpage">
<button class="return-button" type="button">
<i class="fa-solid fa-arrow-left-long"></i> back
</button>
<h1>Learning page</h1>
<div class="table-container">
<p>table '<span class="current-table-name">namehere</span>'</p>
<table>
<tr>
<th>ID</th>
<th>ENGLISH</th>
<th>POLISH</th>
</tr>
</table>
</div>
<button class="print-table-btn" type="button">
Print
<i class="fa-solid fa-print"></i>
</button>
<button class="scrollUpBtn" title="Go to the top"><i class="fa-solid fa-chevron-up"></i></button>
</section>
<!-- ******************* END LEARN PAGE ******************* -->
<!-- ******************** FLASHCARS PAGE ******************** -->
<section class="flashcards-page">
<button class="return-button" type="button">
<i class="fa-solid fa-arrow-left-long"></i> back
</button>
<div class="container-center">
<div class="card">
<div class="card-content">
<div class="check-card">
<p class="original-meaning"></p>
<input class="user-translation" type="text" autocorrect="off" autocapitalize="off"></input>
</div>
<div class="result-card">
<p class="result-original-meaning"></p>
<p class="result-user-translation"></p>
<p class="result-paragraph"></p>
</div>
</div>
</div>
<button class="btn-check" type="button">Check (Enter)</button>
</div>
</section>
<!-- ******************* END FLASHCARDS PAGE ******************* -->
<!-- ******************** LOADING SCREEN ******************** -->
<section class="loading-screen">
<div class="lds-ring"><div></div><div></div><div></div><div></div></div>
</section>
<!-- ******************** END LOADING SCREEN ******************** -->
</div> <!-- end .content-container-->
<!-- ******************** FLASHCARS STATISTICS PAGE ******************** -->
<section class="flashcards-statistics-page">
<h3>Current session statistics</h3>
<p>Correct answers: <span class="correct-answers">-</span></p>
<p>Elapsed time: <span class="elapsed-time">0 min 0 sec</span></p>
</section>
<!-- ******************** END FLASHCARS STATISTICS PAGE ******************** -->
<!-- author -->
<div class="author">
<a class="author" href="https://github.com/jbundziow/" target="_blank"
><i class="fa-brands fa-square-github"></i
></a>
</div>
</main>
<script src="script.js" type="module"></script>
</body>
</html>