-
Notifications
You must be signed in to change notification settings - Fork 0
/
index.html
109 lines (101 loc) · 4.87 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
<!DOCTYPE html>
<html>
<head>
<link type="text/css" rel="stylesheet" href="css/materialize.min.css" media="screen,projection"/>
<link type="text/css" rel="stylesheet" href="css/custom.css" media="screen,projection"/>
<link href="https://fonts.googleapis.com/icon?family=Material+Icons" rel="stylesheet">
<meta name="viewport" content="width=device-width, initial-scale=1.0"/>
</head>
<body>
<div class="container">
<h1 class="center-align">Open Wine Database</h1>
<div class="row">
<div class="col s12 m6 l3">
<h2 class="center-align">Regions</h2>
<div class="collection">
<a href="#!" class="collection-item">Alsace</a>
<a href="#!" class="collection-item active">Bordeaux</a>
<a href="#!" class="collection-item">Bourgogne</a>
<a href="#!" class="collection-item">Loire Valley</a>
<a href="#!" class="collection-item">Rhône</a>
</div>
</div>
<div class="col s12 m6 l3">
<h2 class="center-align">Wines</h2>
<div class="collection">
<a href="#!" class="collection-item">Ausone</a>
<a href="#!" class="collection-item">Brane Cantenac</a>
<a href="#!" class="collection-item">Château Margaux</a>
<a href="#!" class="collection-item">Cheval Blanc</a>
<a href="#!" class="collection-item active">Haut Brion</a>
<a href="#!" class="collection-item">Lafite Rothschild</a>
<a href="#!" class="collection-item">Lagrange</a>
<a href="#!" class="collection-item">Mouton Rothschild</a>
<a href="#!" class="collection-item">Petrus</a>
<a href="#!" class="collection-item">Yquem</a>
</div>
</div>
<div class="col s12 m12 l6">
<h2 class="center-align">Wine details</h2>
<div class="card horizontal">
<div class="card-image">
<img class="responsive-img wine-detail-image" src="https://www.haut-brion.com/mobile/img/chem/Chateau-Haut-Brion_b5-simple.png">
</div>
<div class="card-stacked">
<div class="card-content">
<h3>Haut Brion</h3>
<p>Château Haut-Brion is a French wine, rated a Premier Cru Classé (First Growth), produced in Pessac just outside the city of Bordeaux.</p>
<br/>
<p><b>Appellation:</b> Pessac-Léognan</p>
<p><b>Color:</b> red</p>
<p><b>Grapes:</b> Merlot, Cabernet-Sauvignon</p>
<h5>Comments</h5>
<p>This wine is awesome!</p>
<p>This is too expensive :-(</p>
</div>
<div class="card-action">
<a class="waves-effect waves-teal btn-flat">Like <i class="material-icons left">thumb_up</i></a>
<a class="modal-trigger waves-effect waves-teal btn-flat" href="#modalComments">Comment <i class="material-icons left">comment</i></a>
</div>
</div>
</div>
</div>
</div>
<!-- Comments -->
<div id="modalComments" class="modal">
<div class="modal-content">
<h4>Tell us something about this wine</h4>
<form class="col s12">
<div class="row">
<div class="input-field col s12">
<input id="inputComment" type="text" class="validate">
<label for="inputComment">Your comment</label>
</div>
</div>
</form>
</div>
<div class="modal-footer">
<a href="#!" class="modal-action modal-close waves-effect waves-green btn-flat ">Submit</a>
<a href="#!" class="modal-action modal-close waves-effect waves-green btn-flat ">Cancel</a>
</div>
</div>
</div>
<!--Import jQuery before materialize.js-->
<script type="text/javascript" src="js/jquery-2.1.1.min.js"></script>
<script type="text/javascript" src="js/materialize.min.js"></script>
<script type="text/javascript">
$(document).ready(function(){
// the "href" attribute of .modal-trigger must specify the modal ID that wants to be triggered
$('.modal-trigger').leanModal();
});
</script>
<script>
(function(i,s,o,g,r,a,m){i['GoogleAnalyticsObject']=r;i[r]=i[r]||function(){
(i[r].q=i[r].q||[]).push(arguments)},i[r].l=1*new Date();a=s.createElement(o),
m=s.getElementsByTagName(o)[0];a.async=1;a.src=g;m.parentNode.insertBefore(a,m)
})(window,document,'script','https://www.google-analytics.com/analytics.js','ga');
ga('create', 'UA-86642230-1', 'auto');
ga('send', 'pageview');
</script>
</body>
</html>