-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathindex.html
606 lines (561 loc) · 31.1 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
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
558
559
560
561
562
563
564
565
566
567
568
569
570
571
572
573
574
575
576
577
578
579
580
581
582
583
584
585
586
587
588
589
590
591
592
593
594
595
596
597
598
599
600
601
602
603
604
605
606
<!DOCTYPE html>
<html lang="en">
<head>
<!-- The 3 meta tags below *must* come first in the <head> any other head content must come *after* these tags -->
<meta charset="utf-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<!-- needed to be able to use 'media queries': -->
<meta name="viewport" content="width=device-width, initial-scale=1">
<title>Ristorante Con Fusion</title>
<!-- bootstrap from bower package manager -->
<link href="bower_components/bootstrap/dist/css/bootstrap.min.css" rel="stylesheet">
<link href="bower_components/bootstrap/dist/css/bootstrap-theme.min.css" rel="stylesheet">
<link href="bower_components/font-awesome/css/font-awesome.min.css" rel="stylesheet">
<!-- custom styles -->
<link href="css/mystyles.css" rel="stylesheet">
<!-- file manually added in bootstrap folder (cf exercise3 instructions) -->
<link href="css/bootstrap-social.css" rel="stylesheet">
</head>
<body>
<!--
- use of html standard <nav> element
this <nav> element is styled by:
class="navbar" that declares it as a navigation bar,
class="navbar-inverse" class to specify that the page should use the dark navigation bar.
- the inner <ul> is used to specify the items to be put in the navigation bar.
this <ul> is styled with class="nav" and class="navbar-nav" to specify that the items should be displayed inline inside the navigation bar
- We also use the class="container" inside the navigation bar
- navbar-fixed-top
to keep the navigation bar always visible at the top of the page when the page is scrolled
the navbar will cover the top 50 pixels
so we will add a CSS rule in mystyle.css to take that into account (cf body { ... })
-->
<nav class="navbar navbar-inverse navbar-fixed-top" role="navigation">
<div class="container">
<!--
create a 'responsive' navbar:
the navigation bar elements:
will collapse at first load of the webpage for shorter screens,
will be replaced by a toggle button so that the items can be toggled on or off when required on smaller screens.
-->
<div class="navbar-header">
<!--
- creation of a button with three horizontal lines
for larger screens, this button is hidden
for smaller screens, this button becomes visible
this button will act as the toggle for the navbar items on small screens
- to specify that the menu items are collapsed on smaller screens when the toggle button is visible.
and that they can be displayed or hidden by clicking the toggle button
we use the attributes:
data-toggle="collapse"
data-target="#navbar"
aria-expanded="false"
aria-controls="navbar"
-->
<button type="button" class="navbar-toggle collapsed"
data-toggle="collapse" data-target="#navbar" aria-expanded="false" aria-controls="navbar">
<span class="sr-only">Toggle navigation</span>
<span class="icon-bar"></span>
<span class="icon-bar"></span>
<span class="icon-bar"></span>
</button>
<!--
brand name for the website
it adds a link to the left of the Home link with the name of the restaurant
-->
<a class="navbar-brand" href="#"><img src="img/logo.png" height=30 width=41></a>
</div>
<!--
to hide the items from the navigation bar for smaller screens, we need to enclose the ul within another navigation bar as follows
the attribute id="navbar" is used above by the toggle button in data-target="#navbar"
-->
<div id="navbar" class="navbar-collapse collapse">
<ul class="nav navbar-nav">
<!--
- use class="active" to give the focus to this list item when the page is first loaded
- use the glyphicons that is part of Bootstrap to add a home icon to the Home link on the navigation bar
on voit qu'on utilise un <span> comme on l'a vu dans le paragraphe 'Using Glyphicons'
-->
<li class="active"><a href="#"><span class="glyphicon glyphicon-home" aria-hidden="true"></span> Home</a></li>
<!-- standard list item inside a navbar -->
<li><a href="aboutus.html"><span class="glyphicon glyphicon-info-sign" aria-hidden="true"></span> About</a></li>
<!--
the 'Menu' list item is a dropdown-toggle
when pressed it will show the selection menu below the navigation bar
-->
<li class="dropdown">
<a href="#" class="dropdown-toggle" data-toggle="dropdown" role="button" aria-haspopup="true" aria-expanded="false">
<span class="glyphicon glyphicon-list-alt" aria-hidden="true"></span> Menu
<span class="caret"></span></a>
<ul class="dropdown-menu">
<li><a href="#">Appetizers</a></li>
<li><a href="#">Main Courses</a></li>
<li><a href="#">Desserts</a></li>
<li><a href="#">Drinks</a></li>
<li role="separator" class="divider"></li>
<li class="dropdown-header">Specials</li>
<li><a href="#">Lunch Buffet</a></li>
<li><a href="#">Weekend Brunch</a></li>
</ul>
</li>
<li><a href="contactus.html"><i class="fa fa-phone"></i> Contact</a></li>
</ul>
<!-- right part of the navbar -->
<ul class="nav navbar-nav navbar-right">
<li>
<a id="loginLink"><span class="glyphicon glyphicon-log-in"></span> Login</a>
</li>
</ul>
</div>
</div>
</nav>
<!-- modal screen -->
<div id="loginModal" class="modal fade" role="dialog">
<!-- the size of the modal screen is specified to large thanks to modal-lg -->
<div class="modal-dialog modal-lg">
<!-- Modal content-->
<div class="modal-content">
<div class="modal-header">
<button type="button" class="close" data-dismiss="modal">×</button>
<h4 class="modal-title">Login</h4>
</div>
<div class="modal-body">
<form class="form-inline">
<div class="form-group">
<label class="sr-only" for="email">Email address</label>
<input type="email" class="form-control input-sm" id="email" placeholder="Email">
</div>
<div class="form-group">
<label class="sr-only" for="password">Password</label>
<input type="password" class="form-control input-sm" id="password" placeholder="Password">
</div>
<div class="checkbox">
<label> <input type="checkbox"> Remember me</label>
</div>
<button type="submit" class="btn btn-info btn-sm">Sign in</button>
<button type="button" class="btn btn-default btn-sm" data-dismiss="modal">Cancel</button>
</form>
</div>
</div>
</div>
</div>
<!--
- modal screen for reservation
- method to not inherit the CSS properties of the parent element in a modal screen:
the div for this modal has not been put nex to the 'reserve table' button in the jumbotron
otherwise it would have inherited the color properties of the jumbotron
-->
<div id="reserveModal" class="modal fade" role="dialog">
<div class="modal-dialog">
<!-- Modal content-->
<div class="modal-content">
<div class="modal-header">
<button type="button" class="close" data-dismiss="modal">×</button>
<h4 class="modal-title">Reserve Table </h4>
</div>
<div class="modal-body">
<!-- content of the modal screen -->
<div class="row">
<div class="col-xs-12">
<!-- form vertical by default (no need for attribute class="form-vertical") -->
<form role="form">
<!--
- radio buttons
reference: http://www.w3schools.com/bootstrap/bootstrap_forms_inputs.asp
- form-group est automatiquement considere comme une row, donc on peut utilise col-*-* dedans
-->
<div class="form-group">
<div class="col-xs-12">
<label class="col-xs-12 col-sm-2 control-label">Number of Guests</label>
<div class="col-xs-12 col-sm-10">
<div class="radio-inline">
<label><input type="radio" name="optradio" checked>1</label>
</div>
<div class="radio-inline">
<label><input type="radio" name="optradio">2</label>
</div>
<div class="radio-inline">
<label><input type="radio" name="optradio">3</label>
</div>
<div class="radio-inline">
<label><input type="radio" name="optradio">4</label>
</div>
<div class="radio-inline">
<label><input type="radio" name="optradio">5</label>
</div>
<div class="radio-inline">
<label><input type="radio" name="optradio">6</label>
</div>
</div>
<p style="padding:20px;"></p>
</div>
</div>
<!--
radio button group
http://getbootstrap.com/javascript/#buttons-checkbox-radio
-->
<div class="form-group">
<div class="col-xs-12">
<label class="col-xs-12 col-sm-2 control-label">Section</label>
<div class="btn-group" data-toggle="buttons">
<label class="btn btn-success active">
<input type="radio" name="options" id="option1" autocomplete="off" checked> Non-Smoking
</label>
<label class="btn btn-danger">
<input type="radio" name="options" id="option2" autocomplete="off"> Smoking
</label>
<p style="padding:20px;"></p>
</div>
</div>
</div>
<!--
row with multiple <input> in a vertical <form>
http://stackoverflow.com/questions/18429121/inline-form-nested-within-horizontal-form-in-bootstrap-3
-->
<div class="form-group">
<label for="date_time" class="col-xs-12 col-sm-2 control-label">Date and Time</label>
<div class="col-xs-12 col-sm-10">
<div class="form-inline" id="date_time">
<!-- glyphicon inside <input> field -->
<div class="form-group has-feedback">
<input type="date" class="form-control" id="res_date" name="res_date" placeholder="date">
<i class="glyphicon glyphicon-calendar form-control-feedback"></i>
</div>
<div class="form-group has-feedback">
<input type="time" class="form-control" id="res_time" name="res_time" placeholder="time">
<i class="glyphicon glyphicon-time form-control-feedback"></i>
</div>
</div>
</div>
</div>
<div class="form-group">
<div class="col-xs-10 col-xs-offset-2">
<button type="submit" class="btn btn-primary">Reserve</button>
<button type="button" class="btn btn-default" data-dismiss="modal">Cancel</button>
<p style="padding:20px;"></p>
</div>
</div>
</form>
<div class="col-xs-12">
<div class="alert alert-warning alert-dismissible" role="alert">
<!-- button (croix) to close the alert -->
<button type="button" class="close" data-dismiss="alert" aria-label="Close">
<span aria-hidden="true">×</span>
</button>
<!-- the text of the alert contains a hyperlink activated when the 'call' word is clicked -->
<strong>Warning:</strong>: Please
<a href="tel:+85212345678" class="alert-link">call</a> us to reserve for more than six guests.
</div>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
<header class="jumbotron">
<!-- Main component for a primary marketing message or call to action -->
<div class="container">
<!--
use 3 style classes:
- one bootstrap native one (class="row")
- and one custom ones (defined in css/mystyles.css):
class="row-header"
-->
<div class="row row-header">
<!-- use 12 columns (the full row) for extra small sizes, use 8 columns for bigger sizes -->
<div class="col-xs-12 col-sm-8">
<h1>Ristorante con Fusion</h1>
<p style="padding:40px;"></p>
<p>We take inspiration from the World's best cuisines, and create a unique fusion experience. Our lipsmacking creations will tickle your culinary senses!</p>
</div>
<div class="col-xs-12 col-sm-2">
<!-- important: utiliser du padding pour faire monter/descendre verticalement des elements -->
<p style="padding:20px;"></p>
<img src="img/logo.png" class="img-responsive">
</div>
<!--
- use the full row pour extra small sizes, use 8 columns pour bigger sizes
so the three <div> make a full row (12 = 8 + 2 + 2) for bigger sizes
- block-sized button (it will span over all the available space in the parent element)
-->
<div class="col-xs-12 col-sm-2">
<!-- important: utiliser du padding pour faire monter/descendre verticalement des elements -->
<p style="padding:30px;"></p>
<a id="reserveTableBtn" type="button" class="btn btn-warning btn-block">Reserve Table</a>
</div>
</div>
</div>
</header>
<!-- start of the content (it start at the first <div> after </heade> -->
<div class="container">
<!-- carousel (style rules are defined in css/mystyles.css) -->
<div class="row row-content">
<div class="col-xs-12">
<div id="mycarousel" class="carousel slide" data-ride="carousel">
<!-- Indicators (dots, petits cercles en dessous d'un slide du carousel)-->
<ol class="carousel-indicators">
<li data-target="#mycarousel" data-slide-to="0" class="active"></li>
<li data-target="#mycarousel" data-slide-to="1"></li>
<li data-target="#mycarousel" data-slide-to="2"></li>
</ol>
<!-- Wrapper for slides -->
<div class="carousel-inner" role="listbox">
<div class="item active">
<img class="img-responsive" src="img/uthappizza.png" alt="Uthappizza">
<div class="carousel-caption">
<h2>Uthappizza <span class="label label-danger">Hot</span> <span class="badge">$4.99</span></h2>
<p>A unique combination of Indian Uthappam (pancake) and Italian pizza, topped with Cerignola olives, ripe vine cherry tomatoes, Vidalia onion, Guntur chillies and Buffalo Paneer.</p>
<p><a class="btn btn-primary btn-xs" href="#">More »</a></p>
</div>
</div>
<div class="item">
<img class="img-responsive" src="img/buffet.png" alt="Alberto Somayya">
<div class="carousel-caption">
<h2>Weekend Grand Buffet <span class="label label-danger label-xs">New</span></h2>
<p>Featuring mouthwatering combinations with a choice of five different salads, six enticing appetizers, six main entrees and five choicest desserts. Free flowing bubbly and soft drinks. All for just $19.99 per person</p>
<p><a class="btn btn-primary btn-xs" href="#">More »</a></p>
</div>
</div>
<div class="item">
<img class="img-responsive" src="img/alberto.png" alt="Alberto Somayya">
<div class="carousel-caption">
<h2>Alberto Somayya</h2>
<h4>Executive Chef</h4>
<p>Award winning three-star Michelin chef with wide International experience having worked closely with whos-who in the culinary world, he specializes in creating mouthwatering Indo-Italian fusion experiences.</p>
<p><a class="btn btn-primary btn-xs" href="#">More »</a></p>
</div>
</div>
</div>
<!-- Controls -->
<a class="left carousel-control" href="#mycarousel" role="button" data-slide="prev">
<span class="glyphicon glyphicon-chevron-left" aria-hidden="true"></span>
<span class="sr-only">Previous</span>
</a>
<a class="right carousel-control" href="#mycarousel" role="button" data-slide="next">
<span class="glyphicon glyphicon-chevron-right" aria-hidden="true"></span>
<span class="sr-only">Next</span>
</a>
<!--
to add play/pause buttons to the bottom/right of the carousel
it works by calling javascript code at the end of this webpage
the JS code is associated to the id attribute of the 2 buttons below
-->
<div class="btn-group" id="carouselButtons">
<button class="btn btn-danger btn-xs" id="carousel-pause">
<span class="glyphicon glyphicon-pause" aria-hidden="true"></span>
</button>
<button class="btn btn-danger btn-xs" id="carousel-play">
<span class="glyphicon glyphicon-play" aria-hidden="true"></span>
</button>
</div>
</div>
</div>
</div>
<!-- use 2 style classes one bootstrap native one (class="row") and one custom one (class="row-content" defined in css/mystyles.css) -->
<div class="row row-content">
<!--
- for extra small sizes
use 12 columns (the full row)
- for bigger size
use 3 columns for bigger sizes
push the content 9 columns to the right for bigger sizes (content will end at the end of the row)
-->
<div class="col-xs-12 col-sm-3 col-sm-push-9">
<p style="padding:20px;"></p>
<h3 align=center>Our Lipsmacking Culinary Creations</h3>
</div>
<!--
- for extra small sizes
use 12 columns (the full row)
- for bigger sizes
use 9 columns
pull the content 3 columns to the left (content will start at the start of the row)
-->
<div class="col-xs-12 col-sm-9 col-sm-pull-3">
<div class="media">
<div class="media-left media-middle">
<a href="#">
<img class="media-object img-thumbnail"
src="img/uthappizza.png" alt="Uthappizza">
</a>
</div>
<div class="media-body">
<h2 class="media-heading">
Uthappizza
<span class="label label-danger">Hot</span>
<span class="badge">$4.99</span>
</h2>
<p>A unique combination of Indian Uthappam (pancake) and
Italian pizza, topped with Cerignola olives, ripe vine
cherry tomatoes, Vidalia onion, Guntur chillies and
Buffalo Paneer.</p>
<p><a class="btn btn-primary btn-xs" href="#">More »</a></p>
</div>
</div>
</div>
</div>
<div class="row row-content">
<div class="col-xs-12 col-sm-3">
<p style="padding:20px;"></p>
<h3 align=center>This Month's Promotions</h3>
</div>
<div class="col-xs-12 col-sm-9">
<div class="media">
<div class="media-body">
<h2 class="media-heading">
Weekend Grand Buffet
<span class="label label-danger">New</span>
</h2>
<p>Featuring mouthwatering combinations with a choice of five different salads, six enticing appetizers, six main entrees and five choicest desserts. Free flowing bubbly and soft drinks. All for just $19.99 per person </p>
<p><a class="btn btn-primary btn-xs" href="#">More »</a></p>
</div>
<div class="media-right media-middle">
<a href="#">
<img class="media-object img-thumbnail" src="img/buffet.png" alt="Alberto Somayya">
</a>
</div>
</div>
</div>
</div>
<div class="row row-content">
<div class="col-xs-12 col-sm-3 col-sm-push-9">
<p style="padding:20px;"></p>
<h3 align=center>Meet our Culinary Specialists</h3>
</div>
<div class="col-xs-12 col-sm-9 col-sm-pull-3">
<div class="media">
<div class="media-left media-middle">
<a href="#">
<img class="media-object img-thumbnail"
src="img/alberto.png" alt="Alberto Somayya">
</a>
</div>
<div class="media-body">
<h2 class="media-heading">Alberto Somayya</h2>
<h4>Executive Chef</h4>
<p>Award winning three-star Michelin chef with wide
International experience having worked closely with
whos-who in the culinary world, he specializes in
creating mouthwatering Indo-Italian fusion experiences.
</p>
<p><a class="btn btn-primary btn-xs" href="#">More »</a></p>
</div>
</div>
</div>
</div>
</div>
<footer>
<div class="container">
<!-- use 2 style classes one bootstrap native one (class="row") and one custom one (class="row-footer" defined in css/mystyles.css) -->
<div class="row row-footer">
<!--
use 6 columns (5 + 1 offset)) for extra small sizes, use 3 columns (2 + 1 offset) for bigger sizes
start from 2nd column (1 offset) for all sizes
-->
<div class="col-xs-5 col-xs-offset-1 col-sm-2 col-sm-offset-1">
<h5>Links</h5>
<!-- use list-unstyled to not have bullet points in front of each item of the list -->
<ul class="list-unstyled">
<li><a href="#">Home</a></li>
<li><a href="aboutus.html">About</a></li>
<li><a href="#">Menu</a></li>
<li><a href="#">Contact</a></li>
</ul>
</div>
<!-- use 6 columns (half a row) for extra small sizes, use 5 columns for bigger sizes
so the 2 first <div> make a 12 columns full row for extra small sizes
-->
<div class="col-xs-6 col-sm-5">
<h5>Our Address</h5>
<address>
121, Clear Water Bay Road<br>
Clear Water Bay, Kowloon<br>
HONG KONG<br>
<!--
use font awesome based icons (fa-xxx) as follows
on voit qu'on utilise <i> comme on l'a vu dans le paragraphe 'Using Font Awesome'
-->
<i class="fa fa-phone"></i>: +852 1234 5678<br>
<i class="fa fa-fax"></i>: +852 8765 4321<br>
<i class="fa fa-envelope"></i>:
<a href="mailto:[email protected]">[email protected]</a>
</address>
</div>
<!--
use 12 columns (a full row) for extra small sizes, use 8 columns for bigger sizes
so the 3 first <div> make a 12 columns full row for bigger sizes
and it is a full row (12 columns) for extra small sizes
-->
<div class="col-xs-12 col-sm-4">
<!--
use the bootstrap-social CSS classes to create the social buttons in the footer by replacing the social sites links
on utilise le navbar style pour ces buttons meme si ca n'est pas notre navbar principale
-->
<div class="nav navbar-nav" style="padding: 40px 10px;">
<a class="btn btn-social-icon btn-google-plus" href="http://google.com/+"><i class="fa fa-google-plus"></i></a>
<a class="btn btn-social-icon btn-facebook" href="http://www.facebook.com/profile.php?id="><i class="fa fa-facebook"></i></a>
<a class="btn btn-social-icon btn-linkedin" href="http://www.linkedin.com/in/"><i class="fa fa-linkedin"></i></a>
<a class="btn btn-social-icon btn-twitter" href="http://twitter.com/"><i class="fa fa-twitter"></i></a>
<a class="btn btn-social-icon btn-youtube" href="http://youtube.com/"><i class="fa fa-youtube"></i></a>
<a class="btn btn-social-icon" href="mailto:"><i class="fa fa-envelope-o"></i></a>
</div>
</div>
<!-- use 12 columns (a full row) for all sizes -->
<div class="col-xs-12">
<p style="padding:10px;"></p>
<p align=center>© Copyright 2015 Ristorante Con Fusion</p>
</div>
</div>
</div>
</footer>
<!-- jQuery (necessary for Bootstrap's JavaScript plugins) installed from bower package manager -->
<script src="bower_components/jquery/dist/jquery.min.js"></script>
<!-- Include all compiled plugins (below), or include individual files as needed -->
<!-- bootstrap from bower package manager -->
<script src="bower_components/bootstrap/dist/js/bootstrap.min.js"></script>
<script>
$(document).ready(function(){
$('[data-toggle="tooltip"]').tooltip();
});
</script>
<script>
$(document).ready(function() {
$("#mycarousel").carousel({ interval: 2000 });
$("#carousel-pause").click(function() {
$("#mycarousel").carousel('pause');
});
$("#carousel-play").click(function() {
$("#mycarousel").carousel('cycle');
});
});
</script>
<script>
/*
we wait for the DOM document to be ready to manipulate the webpage
because a page can't be manipulated safely until the document is "ready.
https://learn.jquery.com/using-jquery-core/document-ready/
*/
$(document).ready(function() {
/*
from http://getbootstrap.com/javascript/#modals-methods
on utilise JQuery avec:
pour selector $("#reserveTableBtn") pour selectionner le button 'Reserve Table' du jumbotron
et pour action clic() donc qd ce button est clicked on va appeler la callback passee en argument
*/
$("#reserveTableBtn").click(function() {
/*
le code ci-dessous est equivalent a l'utilisation des data-* attributes: data-toggle="modal" data-target="#loginModal"
on utilise JQuery avec:
pour selector $('#reserveModal') pour selectionner le modal screen qui a pour id="reserveModal"
et pour action modal('toggle') ce qui va afficher le modal screen (on toggle de hidden a displayed)
*/
$('#reserveModal').modal('toggle');
});
$("#loginLink").click(function() {
$('#loginModal').modal('toggle');
});
});
</script>
</body>
</html>