-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathlevel.html
181 lines (150 loc) · 6.63 KB
/
level.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
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
<!DOCTYPE html>
<html lang="fr">
<head>
<meta charset="utf-8">
<title>Metropolitain</title>
<link href="styles/style.css" rel="stylesheet">
<link href="styles/metrodna.css" rel="stylesheet">
<link href='http://fonts.googleapis.com/css?family=Roboto:500,300,400' rel='stylesheet' type='text/css'>
<link rel="import" href="https://www.polymer-project.org/0.5/components/paper-ripple/paper-ripple.html">
<meta name="viewport" content="width=device-width, initial-scale=1.0, maximum-scale=1.0, minimum-scale=1.0, user-scalable=no, minimal-ui">
</head>
<body>
<!--Loader -->
<div class="load"></div>
<i class="loader"></i>
<!-- Container -->
<div id="container">
<a href="./"><img id="back" src="imgs/home.png">
</a>
<p id="sel_l">SELECTIONNEZ VOTRE LIGNE</p>
<p id="count-l">1/14</p>
<!--Pop-up de dévérouillage de lignes -->
<div id="popup2">
<img class="echap" onclick="hidePopup('popup2');" src="imgs/Cross.png" />
<p>Vous devez disposer de 30 <img class="ticket" src="imgs/ticket1.png" /> pour pouvoir débloquer une autre ligne.</p>
<div class="button raised green transition" style="margin-top:10px;" id="unlock">
<h1>DÉVÉROUILLER</h1>
<paper-ripple fit></paper-ripple>
</div>
</div>
<!-- Sélection des lignes -->
<div class="button raised" id="ligne1" onclick="verifLevel(1)">
<span class="metro ligne1">Ligne 1</span>
<p id="terminus">Château de Vincennes
<br> La Défense</p>
<div id="progress"></div>
<div id="progress2"></div>
<paper-ripple fit></paper-ripple>
</div>
<div class="button raised grey" id="ligne2" onclick="verifLevel(2)" ;>
<span class="metro ligne2">Ligne 2</span>
<p id="terminus">Porte Dauphine
<br> Nation
</p>
<img class="lock" src="imgs/lock.png">
<paper-ripple fit></paper-ripple>
</div>
<div class="button raised grey" id="ligne3" onclick="verifLevel(3)" ;>
<span class="metro ligne3">Ligne 3</span>
<p id="terminus">Pont de Levallois - Bécon
<br> Gallieni
</p>
<img class="lock" src="imgs/lock.png">
<paper-ripple fit></paper-ripple>
</div>
<div class="button raised grey" id="ligne4" onclick="verifLevel(4)" ;>
<span class="metro ligne4">Ligne 4</span>
<p id="terminus">Porte de Clignancourt
<br> Maire de Montrouge</p>
<img class="lock" src="imgs/lock.png">
<paper-ripple fit></paper-ripple>
</div>
<div class="button raised grey" id="ligne5" onclick="verifLevel(5)" ;>
<span class="metro ligne5">Ligne 5</span>
<p id="terminus">Bobigny Pablo Picasso
<br> Place d’Italie</p>
<img class="lock" src="imgs/lock.png">
<paper-ripple fit></paper-ripple>
</div>
<div class="button raised grey" id="ligne6" onclick="verifLevel(6)" ;>
<span class="metro ligne6">Ligne 6</span>
<p id="terminus">Charles de Gaulle - Étoile
<br> Nation
</p>
<img class="lock" src="imgs/lock.png">
<paper-ripple fit></paper-ripple>
</div>
<div class="button raised grey" id="ligne7" onclick="verifLevel(7)" ;>
<span class="metro ligne7">Ligne 7</span>
<p id="terminus">La Courneuve 8 Mai 1945
<br> Mairie d’Ivry et Villejuif</p>
<img class="lock" src="imgs/lock.png">
<paper-ripple fit></paper-ripple>
</div>
<div class="button raised grey" id="ligne8" onclick="verifLevel(8)" ;>
<span class="metro ligne8">Ligne 8</span>
<p id="terminus">Balard
<br> Créteuil-Préfecture
</p>
<img class="lock" src="imgs/lock.png">
<paper-ripple fit></paper-ripple>
</div>
<div class="button raised grey" id="ligne9" onclick="verifLevel(9)" ;>
<span class="metro ligne9">Ligne 9</span>
<p id="terminus">Pont de Sèvres
<br> Mairie de Montreuil</p>
<img class="lock" src="imgs/lock.png">
<paper-ripple fit></paper-ripple>
</div>
<div class="button raised grey" id="ligne10" onclick="verifLevel(10)" ;>
<span class="metro ligne10">Ligne 10</span>
<p id="terminus">Boulogne Pont de St Cloud
<br> Gare d’Austerlitz</p>
<img class="lock" src="imgs/lock.png">
<paper-ripple fit></paper-ripple>
</div>
<div class="button raised grey" id="ligne11" onclick="verifLevel(11)" ;>
<span class="metro ligne11">Ligne 11</span>
<p id="terminus">Châtelet
<br> Mairie des Lilas</p>
<img class="lock" src="imgs/lock.png">
<paper-ripple fit></paper-ripple>
</div>
<div class="button raised grey" id="ligne12" onclick="verifLevel(12)" ;>
<span class="metro ligne12">Ligne 12</span>
<p id="terminus">Aubervilliers
<br> Mairie d’Issy</p>
<img class="lock" src="imgs/lock.png">
<paper-ripple fit></paper-ripple>
</div>
<div class="button raised grey" id="ligne13" onclick="verifLevel(13)" ;>
<span class="metro ligne13">Ligne 13</span>
<p id="terminus">Saint-Denis et Gabriel Péri
<br> Châtillon-Montrouge
</p>
<img class="lock" src="imgs/lock.png">
<paper-ripple fit></paper-ripple>
</div>
<div class="button raised grey" id="ligne14" onclick="verifLevel(14)" ;>
<span class="metro ligne14">Ligne 14</span>
<p id="terminus">Saint-Lazare
<br> Olympiades
</p>
<img class="lock" src="imgs/lock.png">
<paper-ripple fit></paper-ripple>
</div>
</div>
</body>
<script src="https://ajax.googleapis.com/ajax/libs/jquery/2.1.3/jquery.min.js"></script>
<script type="text/javascript" src="js/js.cookie.js"></script>
<script type="text/javascript" src="js/main.js"></script>
<script type="application/javascript">
$(window).load(function () {
$('#progress').css('width', user_data["actual_progression"] + "%");
if (user_data["score"] < 30) {
$('#unlock').css('opacity', '0.3');
}
});
</script>
</html>