forked from brownbaglunch/BrownBagLunch
-
Notifications
You must be signed in to change notification settings - Fork 0
/
baggers.html
275 lines (228 loc) · 11.8 KB
/
baggers.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
<!DOCTYPE html>
<!--[if lt IE 7]> <html class="no-js lt-ie9 lt-ie8 lt-ie7"> <![endif]-->
<!--[if IE 7]> <html class="no-js lt-ie9 lt-ie8"> <![endif]-->
<!--[if IE 8]> <html class="no-js lt-ie9"> <![endif]-->
<!--[if gt IE 8]><!--> <html class="no-js"> <!--<![endif]-->
<head>
<meta charset="UTF-8"/>
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>Brown Bag Lunch France - Baggers</title>
<meta name="description" content="Vous souhaitez amener de la discussion dans votre entreprise, découvrir de nouveaux sujets? Faites venir les meilleurs experts de votre ville dans vos locaux le temps d'un repas." />
<link rel="stylesheet" href="http://cdnjs.cloudflare.com/ajax/libs/foundation/4.3.2/css/foundation.min.css" media="screen">
<link rel="stylesheet" href="http://cdnjs.cloudflare.com/ajax/libs/foundation/4.3.2/css/normalize.min.css" media="screen">
<link href="css/font-awesome.min.css" rel="stylesheet" type="text/css"/>
<!--[if IE 8]>
<link rel="stylesheet" href="css/foundation-IE8Support.css" media="screen">
<![endif]-->
<style type="text/css">
/* Seems a bug in foundation 4 : */
.panel.callout a{
color:#fff;
}
</style>
<script type="text/javascript" src="http://cdnjs.cloudflare.com/ajax/libs/jquery/1.10.2/jquery.min.js"></script>
<script type="text/javascript" src="http://cdnjs.cloudflare.com/ajax/libs/mustache.js/0.7.0/mustache.min.js"></script>
<script type="text/javascript">
var _gaq = _gaq || [];
_gaq.push(['_setAccount', 'UA-38399904-1']);
_gaq.push(['_trackPageview']);
(function() {
var ga = document.createElement('script'); ga.type = 'text/javascript'; ga.async = true;
ga.src = ('https:' == document.location.protocol ? 'https://ssl' : 'http://www') + '.google-analytics.com/ga.js';
var s = document.getElementsByTagName('script')[0]; s.parentNode.insertBefore(ga, s);
})();
</script>
</head>
<body>
<div class="sticky">
<nav class="top-bar" data-topbar>
<ul class="title-area">
<li class="name">
<h1><a href="index.html">Brown Bag Lunch France</a></h1>
</li>
</ul>
<section class="top-bar-section">
<!-- Right Nav Section -->
<ul class="right">
<li><a href="locations.html"><i class="icon-globe"></i> Où proposer un BBL ?</a></li>
<li class="divider"></li>
<li class="has-dropdown">
<a href="#">Baggers</a>
<ul class="dropdown" id="bagger-menuitem"></ul>
</li>
</ul>
<!-- Left Nav Section -->
<ul class="left">
<li class="divider"></li>
<li><a href="index.html"><i class="icon-lightbulb"></i> Comment ça fonctionne?</a></li>
</ul>
</section>
</nav>
</div>
<!-- CARTE GOOGLE MAP -->
<div class="row">
<h1>Liste des villes et des baggers</h1>
<div class="small-2 large-2 columns"></div>
<div class="small-12 large-12 columns">
<div class="panel radius">
<div id="map" style="height: 400px"></div>
</div>
</div>
<div class="small-2 large-2 columns"></div>
</div>
<hr>
<!-- BAGGERS! -->
<div id="bagger-details" style="margin-top: 25px;"></div>
<footer style="width:100%;background:#3f3f3f; color:white; padding: 15px 0">
<div class="row">
<strong>
Vous voulez proposer vous aussi des sujets ? Rejoignez la communauté des baggers :
<a style="color: yellow;" href="https://github.com/nrichand/BrownBagLunch/"><i class="icon-github-alt"></i> page github</a>
| <a style="color: yellow;" href="https://twitter.com/bbl_fr"><i class="icon-twitter"></i> @bbl_fr</a>
</strong>
</div>
</footer>
<!-- Included JS Files -->
<script src="http://cdnjs.cloudflare.com/ajax/libs/foundation/4.3.2/js/foundation.min.js"></script>
<script src="http://cdnjs.cloudflare.com/ajax/libs/lodash.js/1.3.1/lodash.compat.min.js"></script>
<script src="http://cdnjs.cloudflare.com/ajax/libs/foundation/4.3.2/js/foundation/foundation.reveal.min.js"></script>
<script>
$(document).foundation();
</script>
<script type="text/javascript" src="http://maps.google.com/maps/api/js?sensor=true"></script>
<script type="text/javascript" src="https://rawgithub.com/HPNeo/gmaps/master/gmaps.js"></script>
<script type="text/javascript" src="js/baggers.js"></script>
<script type="text/javascript" src="js/baggersUtils.js"></script>
<script type="text/javascript">
$(function() {
$(window).on('load', fixDropdown);
$(window).on('resize', fixDropdown);
var villesAndBaggers = getVillesAndBaggers(data);
createMapWithVilles(villesAndBaggers);
// decorate data to alternate images
shuffleAndAlternateBaggers(villesAndBaggers);
//put the render result on the screen
$('#bagger-menuitem').html(Mustache.to_html($('#template-bagger-menuitem').html(), villesAndBaggers));
$('#bagger-details').html(Mustache.to_html($('#template-bagger-details').html(), villesAndBaggers));
displayContactModalWindowMail();
hideOrDisplayBaggers();
});
</script>
<script id="template-bagger-menuitem" type="text/template">
{{#villes}}
<li class="has-dropdown">
<a href="#">{{name}}</a>
<ul class="dropdown">
{{#baggers}}
<li><a href="#{{baggerId}}">{{name}}</a></li>
{{/baggers}}
</ul>
</li>
{{/villes}}
</script>
<script id="template-bagger-details" type="text/template">
{{#villes}}
<div class="ville">
<div class="row" id="{{name}}">
<div class="small-12 large-12 columns">
<a href="#" class="ville-img"><img width="700" height="280" src="{{ville_img}}"></a>
<a href="#map"><i class="icon-globe"></i> Revenir à la carte</a>
<hr>
{{message}}
</div>
</div>
<div class="baggers">
{{#baggers}}
<div id="{{baggerId}}" class="row">
{{^paire}}
<div class="small-2 large-4 columns">
<img src="{{picture}}">
</div>
{{/paire}}
<div class="small-10 large-8 columns">
<div class="panel {{#paire}}callout{{/paire}} radius">
<h4>{{name}}</h4>
<div class="row">
<div id="bagger-detail" class="small-6 large-6 columns">
<p>{{{bio}}}</p>
{{#websites}}
<p><i class="icon-book"></i> <a href="{{href}}">{{title}}</a></p>
{{/websites}}
{{#twitter}}
<p><i class="icon-twitter"></i> <a href="https://twitter.com/{{twitter}}">@{{twitter}}</a></p>
{{/twitter}}
<p class="contact-me" style="display: none">{{name}}</p>
<p class="invite-me"><a href="#" class="button success round"><i class="icon-food"></i> Invitez moi chez vous!</a></p>
</div>
<div class="small-6 large-6 columns">
<span class="{{#paire}}secondary{{/paire}} round label">Propose</span>
<ul class="icons">
{{#sessions}}
<li>
<p><i class="icon-caret-right"></i> <strong>{{title}}</strong><br/>
{{{summary}}}</p>
</li>
{{/sessions}}
</ul>
<span class="{{#paire}}secondary{{/paire}} round label">Lieux</span>
<p><i class="icon-globe"></i> {{location}}</p>
</div>
</div>
</div>
</div>
{{#paire}}
<div class="small-2 large-4 columns">
<img src="{{picture}}">
</div>
{{/paire}}
</div>
{{/baggers}}
<hr>
</div>
</div>
{{/villes}}
</script>
<div id="contactModal" class="reveal-modal">
<h2>Contactez moi :</h2>
<p class="lead">Vous voulez plus d'information sur une session ou vous voulez que l'on définisse une date?</p>
<div class="row" id="mail-result" style="display: none">
<div data-alert class="alert-box" id="mail-status">
</div>
</div>
<form>
<div class="row">
<div class="large-8 columns">
<label>Adresse de notre bagger :</label>
<input id="contact-to" type="text" >
</div>
</div>
<div class="row">
<div class="large-8 columns">
<label>Votre adresse email</label>
<input type="text" id="contact-from" placeholder="une copie du mail vous sera envoyé">
</div>
</div>
<div class="row">
<div class="large-12 columns">
<label>Titre du mail</label>
<input type="text" id="contact-subject" value="Contact pour un BBL">
</div>
</div>
<div class="row">
<div class="large-12 columns">
<p>
<label>Message</label>
<textarea id="contact-message"></textarea>
</p>
</div>
</div>
<div class="row">
<div class="large-12 large-offset-10 columns">
<p><a href="#" id="contact-send" class="button success round"><i class="icon-envelope-alt"></i> Envoyer</a></p>
</div>
</div>
</form>
<a class="close-reveal-modal">×</a>
</div>
</body>
</html>