-
Notifications
You must be signed in to change notification settings - Fork 2
/
index.html
341 lines (299 loc) · 8.21 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
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
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
<!DOCTYPE html>
<html>
<head>
<title>NUMA - Inauguration</title>
<meta name="viewport" content="width=device-width,initial-scale=1"></meta>
<meta charset="utf-8"></meta>
<!-- External CSS styles -->
<link rel="stylesheet" href="./libs/leaflet/leaflet.css" />
<!--[if lte IE 8]><link rel="stylesheet" href="./libs/leaflet/leaflet.ie.css" /><![endif]-->
<link rel="stylesheet" href="./libs/leaflet.rrose/leaflet.rrose.css" />
<!--[if lte IE 8]><link rel="stylesheet" href="./libs/leaflet.rrose/leaflet.rrose.ie.css" /><![endif]-->
<link href="./libs/leaflet.loading/src/Control.Loading.css"
rel="stylesheet"></link>
<link href="./libs/bootstrap/css/bootstrap.min.css" rel="stylesheet"></link>
<link href="./libs/bootstrap/css/bootstrap-responsive.min.css"
rel="stylesheet"></link>
<link href="./libs/font-awesome-4.0.1/css/font-awesome.min.css"
rel="stylesheet"></link>
<!-- JavaScript libraries -->
<script type="text/javascript" src="./libs/jquery/jquery.min.js"></script>
<script type="text/javascript"
src="./libs/bootstrap/js/bootstrap.min.js"></script>
<script type="text/javascript" src="./libs/leaflet/leaflet.js"></script>
<script type="text/javascript" src="./libs/leaflet.rrose/rrose-src.js"></script>
<script type="text/javascript"
src="./libs/leaflet.loading/src/Control.Loading.js"></script>
<script type="text/javascript" src="./libs/q/q.js"></script>
<script type="text/javascript" src="./libs/underscore/underscore-min.js"></script>
<link href="http://clients.pauletienney.net/numa/css/custom-fonts.css"
rel="stylesheet" />
<link
href="http://clients.pauletienney.net/numa/css/MyFontsWebfontsKit.css"
rel="stylesheet" />
<!-- Specific CSS styles -->
<style type="text/css">
html,body {
height: 100%;
width: 100%;
margin: 0;
padding: 0;
}
.photoviewer {
top: 1%;
left: 1%;
right: 1%;
bottom: 1%;
margin: 0;
width: auto;
}
.photoviewer .modal-body {
position: absolute;
top: 50px;
bottom: 10px;
left: 10px;
right: 10px;
max-height: none;
}
#map-container {
overflow: hidden;
}
#map-container .navbar {
margin: 0;
margin-top: 1em;
}
#map-container .navbar .navbar-inner {
background: none;
border: none;
}
#map-container .navbar .navbar-inner ul.nav li {
text-transform: uppercase;
margin-right: 0.5em;
}
#map-container .navbar .navbar-inner ul.nav li a {
border: none;
border-top: 2px solid white;
box-shadow: none;
-webkit-box-shadow: none;
background: none;
box-shadow: none;
}
#map-container .navbar .navbar-inner ul.nav li.active a {
border-color: black;
}
#map-container .map-block {
height: 500px;
overflow: hidden;
}
#map-container .info {
overflow-y: auto;
padding-right: 1em;
}
#map-container .loading {
margin-top: 15%;
margin-left: 35%;
}
#map-container .info .feature {
margin: 0.5em 0;
padding: 0.5em;
border-bottom: 1px solid #eee;
}
#map-container .info .feature.numa {
border-bottom: none;
}
#map-container .info .feature h2 {
color: #080808;
margin: 0;
margin-top: 1em;
font-family: UniversLTPro-Condensed;
font-style: normal;
letter-spacing: 1px;
text-transform: uppercase;
font-weight: normal;
font-size: 1.7em;
}
#map-container .info .feature h3,#map-container .info .feature h3>a {
color: #00AEEF;
margin: 0;
font-family: UniversLTPro-Condensed;
font-style: normal;
letter-spacing: 1px;
text-transform: uppercase;
font-weight: normal;
/* color: #080808; */
font-size: 1.1em;
line-height: 1.2em;
}
#map-container .info .feature.feature-active h3,#map-container .info .feature.feature-active h3>a
{
color: black;
}
#map-container .info .feature.feature-active {
padding-bottom: 1.5em;
}
#map-container .info .feature .visible-when-active {
display: none;
}
#map-container .info .feature.feature-active .visible-when-active {
display: block;
}
#map-container .leaflet-marker-icon .fa {
text-align: center;
background-color: #00aeef;
border: 1px solid white;
width: 1.23em;
height: 1.23em;
ligne-height: 1.23em;
padding: 3px;
padding-top: 4px;
-webkit-border-radius: 1.23em;
-moz-border-radius: 1.23em;
border-radius: 1.23em;
}
#map-container .leaflet-marker-icon .svg-icon {
width: 10px;
height: 10px;
-webkit-border-radius: 10px;
-moz-border-radius: 10px;
border-radius: 10px;
background-color: black;
color: white;
border: 1px solid gray;
}
#map-container .zoom-17 .leaflet-marker-icon .svg-icon {
width: 16px;
height: 16px;
-webkit-border-radius: 16px;
-moz-border-radius: 16px;
border-radius: 16px;
}
#map-container .zoom-18 .leaflet-marker-icon .svg-icon {
width: 24px;
height: 24px;
-webkit-border-radius: 24px;
-moz-border-radius: 24px;
border-radius: 24px;
}
#map-container .zoom-19 .leaflet-marker-icon .svg-icon {
width: 36px;
height: 36px;
-webkit-border-radius: 36px;
-moz-border-radius: 36px;
border-radius: 36px;
}
#map-container .zoom-19 .leaflet-marker-icon .svg-icon {
width: 48px;
height: 48px;
-webkit-border-radius: 48px;
-moz-border-radius: 48px;
border-radius: 48px;
}
/* Bootstrap styles re-definition */
.modal-backdrop {
opacity: 0.3;
}
/* Content styles */
.references, .references p {
font-size: smaller;
text-align: right;
color: gray;
}
.hours {
color: gray;
}
/* Leaflet-specific styles */
.leaflet-rrose-content {
margin: 8px 15px;
}
.leaflet-rrose-content-wrapper {
-moz-border-radius: 3px;
-webkit-border-radius: 3px;
border-radius: 3px;
}
.leaflet-rrose-content-wrapper-sse,.leaflet-rrose-content-wrapper-ese {
-webkit-border-top-left-radius: 0;
-moz-border-radius-topleft: 0;
border-top-left-radius: 0;
}
.leaflet-rrose-content-wrapper-ssw,.leaflet-rrose-content-wrapper-wsw {
-webkit-border-top-right-radius: 0;
-moz-border-radius-topright: 0;
border-top-right-radius: 0;
}
.leaflet-rrose-content-wrapper-nnw,.leaflet-rrose-content-wrapper-wnw,.leaflet-rrose-content-wrapper-w
{
-webkit-border-bottom-right-radius: 0;
-moz-border-radius-bottomright: 0;
border-bottom-right-radius: 0;
}
.leaflet-rrose-content-wrapper-nne,.leaflet-rrose-content-wrapper-ene,.leaflet-rrose-content-wrapper-e
{
-webkit-border-bottom-left-radius: 0;
-moz-border-radius-bottomleft: 0;
border-bottom-left-radius: 0;
}
</style>
<!-- The main code of the application -->
<script type="text/javascript" src="./index.lib.js"></script>
<script type="text/javascript" src="./index.js"></script>
</head>
<body>
<div class="container-fluid" id="map-container">
<div class="navbar">
<div class="navbar-inner">
<!-- <a class="brand" href="#">Numa</a> -->
<ul class="nav"></ul>
</div>
</div>
<div class="row-fluid">
<div class="span9 map-block map">
<img class="loading" src="./libs/leaflet.loading/images/loading.gif" />
</div>
<div class="span3 map-block info"></div>
</div>
<div class="modal hide fade numa-attribution" tabindex="-1"
role="dialog" aria-labelledby="attribution-title" aria-hidden="true">
<div class="modal-header">
<button type="button" class="close" data-dismiss="modal"
aria-hidden="true">×</button>
<h3 id="attribution-title">Crédits</h3>
</div>
<div class="modal-body">
<ul>
<li>Design : <a href="http://www.frthr.com/" target="_blank">Guilhem
Moreau</a>
<li>Scénarisation : <a href="http://www.maisoncarrousel.com/"
target="_blank">Pierre-Jean Gubert</a>
</li>
<li>Développement : <a href="http://ubimix.com"
target="_blank">Ubimix</a>
<li>Intégration HTML : <a href="http://pauletienney.com/"
target="_blank">Paul Etienney</a>
<li>Coordination :
<ul>
<li>Tiffany Paret (SiliconSentier) – communication</li>
<li>Valérie Gérard (SiliconSentier) – coordination
générale</li>
<li>Edward Mayor – coordination générale</li>
</ul>
</li>
<li>Photos et contenu historique :
<ul>
<li><a href="http://parimagine.fr" target="_blank">La
Photothèque des Jeunes Parisiens </a></li>
<li><a href="http://www.parisrevolutionnaire.com/"
target="_blank">Paris Révolutionnaire </a></li>
<li><a href="http://fr.wikipedia.org/" target="_blank">Wikipedia</a></li>
</ul>
</li>
<li>Fond de carte : <a href="http://www.openstreetmap.org">OpenStreetMap</a>
</li>
</ul>
</div>
<div class="modal-footer">
<button class="btn" data-dismiss="modal" aria-hidden="true">OK</button>
</div>
</div>
</div>
</body>
</html>