-
Notifications
You must be signed in to change notification settings - Fork 5
/
chasse_para_play.html
143 lines (132 loc) · 6.42 KB
/
chasse_para_play.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
141
142
143
<!DOCTYPE html>
<html>
<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>Jouer à chasse aux parasites .:. EduPalu</title>
<link rel="icon" href="favicon.ico" type="image/x-icon"/>
<link rel="stylesheet" href="icon.css">
<link href="css/game_chasse_style.css" rel="stylesheet" />
<link rel="stylesheet" href="css/material.blue-light_blue.min.css" />
<link rel="stylesheet" href="css/custom.css" />
<link rel="stylesheet" href="css/adresses.css" />
<link rel="stylesheet" href="css/font-awesome.min.css">
<script defer src="https://code.getmdl.io/1.3.0/material.min.js"></script>
</head>
<body>
<!-- Always shows a header, even in smaller screens. -->
<div class="mdl-layout mdl-js-layout mdl-layout--fixed-header">
<header class="mdl-layout__header">
<div class="mdl-layout__header-row">
<!-- Title -->
<span class="mdl-logo"><a href="index.html"><img src="img/logo.png" alt=""></a></span>
<!-- Add spacer, to align navigation to the right -->
<div class="mdl-layout-spacer"></div>
<!-- Navigation. We hide it in small screens. -->
<div class="mdl-layout--small-screen-only">
<label class="mdl-button mdl-js-button mdl-button--icon" for="waterfall-exp">
<a href="adresse.html"><i class="material-icons">location_on</i></a>
</label>
<!-- Right aligned menu below button -->
<button id="demo-menu-lower-right"
class="mdl-button mdl-js-button mdl-button--icon">
<i class="material-icons">more_vert</i>
</button>
<ul class="mdl-menu mdl-menu--bottom-right mdl-js-menu mdl-js-ripple-effect"
for="demo-menu-lower-right">
<li class="mdl-menu__item"><a href="comment.html">Comment</a></li>
<li class="mdl-menu__item"><a href="qui.html">A propos</a></li>
</ul>
</div>
<!-- Navigation. We hide it in small screens. -->
<nav class="mdl-navigation mdl-layout--large-screen-only">
<a class="mdl-navigation__link" href="adresse.html">Rechercher une pharmacie/CSi</a>
<a class="mdl-navigation__link" href="adresse_near.html">La plus proche de moi</a>
<a class="mdl-navigation__link" href="ajout_pharma.html">Ajouter un centre de santé</a>
<a class="mdl-navigation__link" href="comment.html">Comment ?</a>
<a class="mdl-navigation__link" href="qui.html">A propos</a>
</nav>
</div>
</header>
<div class="mdl-layout__drawer">
<span class="mdl-layout-title"><img src="img/logo2.png" alt="EduPalu logo"></span>
<nav class="mdl-navigation">
<a class="mdl-navigation__link" href="comprendre.html"><i class="material-icons">description</i>Comprendre</a>
<a class="mdl-navigation__link" href="se_proteger.html"><i class="material-icons">warning</i>Se protéger</a>
<a class="mdl-navigation__link" href="diagnostiquer.html"><i class="material-icons">find_in_page</i>Diagnostiquer</a>
<a class="mdl-navigation__link" href=""><i class="material-icons">healing</i>Se soigner</a>
<a class="mdl-navigation__link" href="adresse.html"><i class="material-icons">search</i>Rechecher </a>
<a class="mdl-navigation__link" href="questions_reponses.html"><i class="material-icons">forum</i>Questions / Réponses</a>
<a class="mdl-navigation__link" href="quiz_play.html"><i class="material-icons">games</i>Le quiz</a>
<a class="mdl-navigation__link" href=""><i class="material-icons">extension</i>Chasse aux parasites</a>
<a class="mdl-navigation__link" href="comment.html"><i class="material-icons">copyright</i>Comment ?</a>
<a class="mdl-navigation__link" href="qui.html"><i class="material-icons">info</i> A propos</a>
</nav>
</div>
<div class="page-content">
<div class="mdl-grid bg_search">
<div class="mdl-cell mdl-cell--12-col mdl-cell--4-col-phone mdl-cell--8-col-tablet">
<div class="search">
<i class="material-icons blue_color">search</i>
<input type="text" placeholder="Rechercher une pharmacie, un CSI, un hôpital...">
</div>
</div>
</div>
</div>
<main class="mdl-layout__content">
<div class="page-content">
<div class="mdl-grid mdl-container">
<h4 class="container_title">Jouer à chasse aux parasites</h4>
<div class="text_container">
<div class="mdl-container_text">
<div id="my_canvas_container" >
<div id="extra_infos" >
Parasites trouvés : <span id="valPara">0</span>/<span id="val_total_para">0</span>
<span class="erreurs_space">Erreurs</span> : <span id="valErreur">0</span>
<!--<div id="extra_cursor_pos">
<span>X:</span> <span id="posX">0</span>px <span id="my_slash">-</span>
<span>Y:</span> <span id="posY">0</span>px
</div>-->
</div>
<div id="question_timer">
<span id="question_timer_value">0:00</span>
</div>
<br><br>
<div id="canvas_belt">
<canvas id="my_canvas"></canvas>
</div>
<br>
<div id="score_next">
<div id="score">
Score : <span id="score_value">0</span>
</div>
<button id="next" class="mdl-button mdl-js-button mdl-button--raised mdl-button--colored">Suivant</button>
</div>
<br>
<div>
<a href="index.html"><button id="quitter" class="mdl-button mdl-js-button mdl-button--raised mdl-button--colored">quitter</button></a>
</div>
</div>
</div>
</div>
</div>
</div>
<div class="page-content mdl-container">
<div class="mdl-grid container">
<footer class="mdl-mini-footer mdl-layout--large-screen-only">
<div class="mdl-mini-footer__left-section">
<ul class="mdl-mini-footer__link-list">
<li><a href="#">Fongwama - 2017</a></li>
</ul>
</div>
</footer>
</div>
</div>
</main>
</div>
<script type="text/javascript" src="js/jquery-1.11.3.min.js"></script>
<script type="text/javascript" src="data/parasites.json"></script>
<script type="text/javascript" src="js/game_chasse_engine.js"></script>
</body>
</html>