forked from DesignHipermedia/toolbox2017
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathficha13.html
246 lines (233 loc) · 9.9 KB
/
ficha13.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
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<meta http-equiv="X-UA-Compatible" content="ficha11.css">
<link rel="stylesheet" href="https://maxcdn.bootstrapcdn.com/bootstrap/4.0.0-beta.2/css/bootstrap.min.css" integrity="sha384-PsH8R72JQ3SOdhVi3uxftmaW6Vc51MKb0q5P2rRUpPvrszuE4W1povHYgTpBfshb" crossorigin="anonymous">
<link href="https://maxcdn.bootstrapcdn.com/font-awesome/4.7.0/css/fontawesome.min.css" rel="stylesheet" integrity="sha384-wvfXpqpZZVQGK6TAh5PVlGOfQNHSoD2xbE+QkPxCAFlNEevoEH3Sl0sibVcOQVnN" crossorigin="anonymous">
<link rel="stylesheet" href="fich11.css">
<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/4.7.0/css/font-awesome.min.css">
<title>Menu</title>
</head>
<body>
<header>
<div class="container">
<nav class="navbar navbar-expand-md navbar-light bg-light px-0">
<button class="navbar-toggler" type="button" data-toggle="collapse" data-target="#navbarNavAltMarkup" aria-controls="navbarNavAltMarkup" aria-expanded="false" aria-label="Toggle navigation">
<span class="navbar-toggler-icon"></span>
</button>
<a class="navbar-brand" href="#">
<h1>
Menu
</h1>
</a>
<div class="collapse navbar-collapse" id="navbarNavAltMarkup">
<ul class="navbar-nav ml-auto">
<li class="nav-item active">
<a href="ficha11.html" class="nav-link">Home</a>
</li>
<li class="divider py-2 d-none d-md-block cor-principal">/</li>
<li class="nav-item">
<a href="ficha141.html" class="nav-link">Menu</a>
</li>
<li class="divider py-2 d-none d-md-block cor-principal">/</li>
<li class="nav-item">
<a href="acerca.html" class="nav-link">Acerca</a>
</li>
<li class="divider py-2 d-none d-md-block cor-principal">/</li>
<li class="nav-item pr-3">
<a href="contact.html" class="nav-link">Contato</a>
</li>
<li class="nav-item">
<button type="button" class="btn btn-outline-danger" data-toggle="modal" data-target="#reservationmodal">
Reservas
</button>
</li>
</ul>
</div>
</nav>
<br>
<br>
<br>
<b>Appetizers</b>
<br>
<hr>
<div class="d-flex justify-content-between flex-wrap">
<div class="coluna w-25 p-3">
<a style="color: red;">
<b>Garlic Bread</b>
</a>
<br> Delicious pan fried bread with olive oil.
<br>
<a style="color: red;">
<b>$7</b>
</a>
</div>
<div class="coluna w-25 p-3 ">
<a style="color: red;">
<b>Chicken Wings</b>
</a>
<br> One dozen wings. come in hot or bbq flaviour.
<br>
<a style="color: red;">
<b>$12</b>
</a>
</div>
<div class="coluna w-25 p-3">
<a style="color: red;">
<b>Nachos</b>
</a>
<br> Great for sharing with friends. Tons of cheese and all the toppings.
<br>
<a style="color: red;">
<b>$14</b>
</a>
</div>
</div>
<br>
<div class="d-flex justify-content-between flex-wrap">
<div class="coluna w-25 p-3">
<a style="color: red;">
<b>Yam Fries</b>
</a>
<br> Servied with garlic mayo for dipping.
<br>
<a style="color: red;">
<b>$8</b>
</a>
</div>
<div class="coluna w-25 p-3">
<a style="color: red;">
<b>Green Salad</b>
</a>
<br> A great healthy start to your meal.
<a href="#" style="color: red;">View</a>
<br>
<a style="color: red;">
<b>$9</b>
</a>
</div>
<div class="coluna w-25 p-3">
<a style="color: red;">
<b>Chips & Salsa</b>
</a>
<br> Crisp tortilla chips and dip.
<br>
<a style="color: red;">
<b>$6</b>
</a>
</div>
</div>
<br>
<b>Sandwiches</b>. All sandwiches are served with yam fries or salad
<br>
<br>
<hr>
<div class="d-flex justify-content-between flex-wrap">
<div class="coluna w-25 p-3">
<a style="color: red;">
<b>Veggie</b>
</a>
<br> Tomatoes, cheese, salsa.
<a href="#" style="color: red;">View</a>
<br>
<a style="color: red;">
<b>$12</b>
</a>
</div>
<div class="coluna w-25 p-3 ">
<a style="color: red;">
<b>Chicken Wings</b>
</a>
<br> One dozen wings. come in hot or bbq flaviour.
<br>
<a style="color: red;">
<b>$14</b>
</a>
</div>
<div class="coluna w-25 p-3">
<a style="color: red;">
<b>Nachos</b>
</a>
<br> Great for sharing with friends. Tons of cheese and all the toppings.
<br>
<a style="color: red;">
<b>$14</b>
</a>
</div>
</div>
</div>
</header>
<footer class=" d-flex justify-content-between flex-wrap text-left col-lg-1200 h-500">
<div class="container">
<div class="col-lg-12 text-center">
<h3>UMa Cantina</h1>
<br>
<br>
<p>Rua de Santa Maria, nº 253 / Funchal / 291.123.123</p>
<p>Horário: De 2ª a 6ª e Sábado das 09:00 às 14:00</p>
<br>
<div class="social-media">
<a href="#">
<i class="fa fa-facebook"></i>
</a>
<a href="#">
<i class="fa fa-twitter"></i>
</a>
<a href="#">
<i class="fa fa-pinterest"></i>
</a>
<a href="#">
<i class="fa fa-instagram"></i>
</a>
</div>
<br>
<p>© 2017 Universidade da Madeira</p>
</div>
</div>
</footer>
<script src="https://code.jquery.com/jquery-3.2.1.min.js"></script>
<script src="https://cdnjs.cloudflare.com/ajax/libs/popper.js/1.12.3/umd/popper.min.js"></script>
<script src=" https://maxcdn.bootstrapcdn.com/bootstrap/4.0.0- beta.2/js/bootstrap.min.js "></script>
<script src="https://cdnjs.cloudflare.com/ajax/libs/vue/2.5.9/vue.js "></script>
<script src="https://cdnjs.cloudflare.com/ajax/libs/axios/0.17.1/axios.js "></script>
<script src="https://cdnjs.cloudflare.com/ajax/libs/vue/2.5.9/vue.js"></script>
<script src="https://cdnjs.cloudflare.com/ajax/libs/axios/0.17.1/axios.js"></script>
<script>
new Vue({
el: '#cardapio',
created() {
this.fetchData();
},
data: {
posts: []
},
methods: {
fetchData() {
axios.get('https://final-project-recording817f4.firebaseio.com/cardapio/.json').then(response => {
this.posts = response.data;
});
}
}
});
</script>
<script>
$(document).ready(function () {
$.getJSON('ficha13.json', function (data) {
var html = '';
$.each(data, function (entryIndex, entry) {
html += '<div class="entry p-4>';
html += '<h3 class="cor-principal">' + entry.prato + '<h3>';
html += '<p class="obs">' + entry.obs + '<p>';
html += '<p class="cor-principal preco">';
html += entry.total;
html += ' euros>/p>';
html += '</div>';
});
$('#cardapio').html(html);
});
});
</script>
</body>
</html>