-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathindex.html
48 lines (38 loc) · 1.39 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
<!DOCTYPE html>
<html lang="fr">
<head>
<meta charset="UTF-8">
<title>Les savoirs inutiles</title>
<link href="https://cdn.jsdelivr.net/npm/[email protected]/dist/css/bootstrap.min.css" rel="stylesheet" integrity="sha384-1BmE4kWBq78iYhFldvKuhfTAU6auU8tT94WrHftjDbrCEXSU1oBoqyl2QvZ6jIW3" crossorigin="anonymous">
<link rel="stylesheet" href="style.css" type="text/css"/>
</head>
<body>
<div id="divSaisie">
<div>
<label for="libelleSavoir">Savoir:</label>
<input type="text" id="libelleSavoir" class="form-control"/>
</div>
<div>
<label for="libelleAuteur">Auteur:</label>
<input type="text" id="libelleAuteur" class="form-control"/>
</div>
<div>
<label for="date">Date:</label>
<input type="date" id="date" class="form-control" required/>
</div>
<div>
<button class="btn btn-primary" onclick="ajouter()">Ajouter</button>
</div>
</div>
<br/>
<div id="divResultat">
<ol id="olListeSavoir" class="list-group">
</ol>
</div>
<div>
<button class="btn btn-primary" onclick="TriAlpha()">Trier par ordre alphabétique</button>
<button class="btn btn-primary" onclick="triDate()">Trier par date</button>
</div>
<script src="scriptobjet.js" type="application/javascript"></script>
</body>
</html>