-
Notifications
You must be signed in to change notification settings - Fork 0
/
index.html
84 lines (76 loc) · 3.13 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
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<link rel="stylesheet" href="style.css">
<link rel="preconnect" href="https://fonts.gstatic.com">
<link href="https://fonts.googleapis.com/css2?family=Roboto+Mono:wght@300;400;700&display=swap" rel="stylesheet">
<title>Nonnatus Coffee</title>
</head>
<body>
<header> <h1>Nonnatus Coffee</h1> </header>
<main>
<div class="machine">
<span class="machine_title">Energy Maker 3000</span>
<div id="order_panel" class="panel--order">
<button id="orderBtn" type="button" class="btn order_btn" onclick="startOrder()">Order your coffee</button>
<div id="currentOrder" class="order hidden">
<div class="order_text">
<p><b><u>Current Order</u></b></p>
<p id="orderSize">Size: </p>
<p id="orderSugar">Sugar: </p>
</div>
<div class="order_btns">
<button id="cancelBtn" type="button" class="btn cancel_btn" onclick="cancelOrder()">Cancel</button>
<button id="newOrderBtn" type="button" class="btn continue_btn hidden" onclick="cancelOrder()">New Order</button>
</div>
</div>
</div>
<div id="main_panel" class="panel">
<p class="panel_text">Welcome to Nonnatus Coffee</p>
</div>
<div id="size_panel" class="panel hidden">
<p class="panel_text">Choose a size: </p>
<div class="size">
<button type="button" class="btn size_btn" value="Small">Small</button>
<button type="button" class="btn size_btn" value="Large">Large</button>
</div>
</div>
<div id="sugar_panel" class="panel hidden">
<p class="panel_text">Select sugar level: </p><br/>
<div class="levels">
<button type="button" class="btn sugar_btn" value="decrease">-</button>
<div class="levels">
<div id="lvl-1" class="sugar_pt sugar_pt--off"></div>
<div id="lvl-2" class="sugar_pt sugar_pt--off"></div>
<div id="lvl-3" class="sugar_pt sugar_pt--off"></div>
<div id="lvl-4" class="sugar_pt sugar_pt--off"></div>
<div id="lvl-5" class="sugar_pt sugar_pt--off"></div>
</div>
<button type="button" class="btn sugar_btn" value="increase">+</button>
</div>
<div id="sugar">
<button id="continueBtn" type="button" class="btn continue_btn" onclick="startPrep()">Start Preparing >></button>
</div>
</div>
<div id="prep_panel" class="panel panel_msg hidden">
<p class="panel_text">Preparing</p>
<div class="levels">
<div id="prep-1" class="sugar_pt sugar_pt--off"></div>
<div id="prep-2" class="sugar_pt sugar_pt--off"></div>
<div id="prep-3" class="sugar_pt sugar_pt--off"></div>
</div>
</div>
<div class="magic_zone">
<div class="source"></div>
<div class="source_tip"></div>
<div id="coffee" class="coffee hidden"></div>
<div id="cup" class="cup hidden"></div>
</div>
</div>
</main>
<script src="index.js"></script>
</body>
</html>