-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathindex.php
67 lines (51 loc) · 1.41 KB
/
index.php
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
<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>eCompteur</title>
<link href="style.css" rel="stylesheet" type="text/css" />
</head>
<body>
<div class="main">
<h1>e-Compteur</h1>
<p id="descriptif">
Comptage à distance du nombre de randonneurs.
</p>
<div class=container>
<div class="info">
<div class="datetime" id="date">date</div>
<div id="text"></div>
<div class="datetime" id="time">time</div>
</div>
<section>
<div>
<p id="res-day">00</p>
</div>
<div>
<p id="res-yest">00</p>
</div>
<div>
<p id="res-dates">00</p>
</div>
</section>
<section>
<div>
<button id="btn-day" onclick="calcToday()">Aujourd'hui <img src="61444.png"></button>
</div>
<div>
<button id="btn-yest" onclick="calcYesterday()">Hier <img src="61444.png"></button>
</div>
<div>
<div class="input-dates">
<button id="btn-dates" onclick="calcRange(document.getElementById('since').value, document.getElementById('before').value)">Autres <img src="61444.png"></button>
<input id="since" type="date" name="since">
<input id="before" type="date" name="before">
</div>
</div>
</section>
</div>
</div>
<script src="script.js"></script>
</body>
</html>