-
Notifications
You must be signed in to change notification settings - Fork 2
Expand file tree
/
Copy pathdanke.html
More file actions
44 lines (36 loc) · 892 Bytes
/
danke.html
File metadata and controls
44 lines (36 loc) · 892 Bytes
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
<!DOCTYPE html>
<html lang="de">
<head>
<meta charset="UTF-8">
<title>Danke für Ihre Bestellung</title>
<meta name="viewport" content="width=device-width,initial-scale=1.0">
<link rel="icon" href="img/pizza.png">
<link rel="stylesheet" href="css/bootstrap.min.css" crossorigin="anonymous">
<script src="js/handlebars.min-v4.7.8.js"></script>
<script src="js/vanilla.js"></script>
<script>
function init() {
const pizzen = localStorage.getItem(PIZZA_KEY)
if (pizzen) {
const pizzenData = {pizzen: JSON.parse(pizzen)}
render(pizzenData)
} else {
}
}
</script>
</head>
<body onload="init()">
<h1>
Danke für Ihre Bestellung
</h1>
Sie haben folgende Pizzen bestellt:
<script type="text/x-handlebars-template">
<ol>
{{#pizzen}}
<li>{{this}}</li>
{{/pizzen}}
</ol>
</script>
<div></div>
</body>
</html>