This repository has been archived by the owner on Mar 29, 2024. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 0
/
setup.html
51 lines (47 loc) · 2.32 KB
/
setup.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
<!DOCTYPE html>
<html lang="fr">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<title>Flace | Setup</title>
<link rel="stylesheet" href="style.css">
<link rel="stylesheet" id="themestyle" href="themes/auto.css">
<link rel="manifest" href="manifest.json">
<link rel="icon" type="image/x-icon" href="./img/faviconcolor-fixed.png">
<link href='https://unpkg.com/[email protected]/css/boxicons.min.css' rel='stylesheet'>
<link href="https://unpkg.com/[email protected]/dist/aos.css" rel="stylesheet">
<script src="https://unpkg.com/[email protected]/dist/aos.js"></script>
<meta name="msapplication-TileColor" content="#FFFFFF">
<meta name="description" content="Flace est un site d’apprentissage fondé sur l’utilisation de flashcards.">
</head>
<body>
<div class="matiere"><i onclick="history.back()" class="bx bx-left-arrow-alt"></i>
<p>Setup</p>
<i onclick="location.reload()" class="bx bx-redo"></i></div>
<!-- taches d'encre stylé -->
<div class="shapes">
<div class="shape color1"></div>
<div class="shape color2"></div>
<div class="shape color3"></div>
</div>
<div class="diapo" id="diapo1">
<div class="innerdiapo">
<h1 data-aos="fade-right">Bienvenue sur Flace</h1>
<h5 data-aos="fade-left">Veuillez entrer votre nom d'utilisateur</h5>
<input data-aos="zoom-in" type="text" id="username" placeholder="Nom d'utilisateur">
<script>
function initinput(){
let userinput = document.getElementById('username')
userinput.addEventListener("input", () => {
localStorage.setItem("username", userinput.value)
})
}
initinput()
</script>
<button id="reussi" onclick="localStorage.setItem('matierepref', 0);localStorage.setItem('first', '1');location.href = './'">Terminer <i class='bx bx-right-arrow-alt'></i></button>
</div>
</div>
<script>AOS.init();document.getElementById("themestyle").setAttribute("href", `themes/${localStorage.getItem("theme")}.css`);</script>
</body>
</html>