forked from YangVictor05/1800_202330_BBY31
-
Notifications
You must be signed in to change notification settings - Fork 0
/
main.html
100 lines (80 loc) · 3.87 KB
/
main.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
<!DOCTYPE HTML>
<html lang="en">
<head>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<link rel="stylesheet"
href="https://fonts.googleapis.com/css2?family=Material+Symbols+Outlined:opsz,wght,FILL,[email protected],100..700,0..1,-50..200" />
<link rel="stylesheet" href="../styles/main.css">
<link rel="stylesheet" href="https://fonts.googleapis.com/css?family=Staatliches">
<link rel="stylesheet" href="https://fonts.googleapis.com/css?family=Quicksand">
<script src="https://ajax.googleapis.com/ajax/libs/jquery/3.5.1/jquery.min.js"></script>
<script src="https://www.gstatic.com/firebasejs/8.10.0/firebase-app.js"></script>
<script src="https://www.gstatic.com/firebasejs/8.10.0/firebase-firestore.js"></script>
<script src="https://www.gstatic.com/firebasejs/8.10.0/firebase-storage.js"></script>
<script src="https://www.gstatic.com/firebasejs/8.10.0/firebase-auth.js"></script>
<style>
header {
font-family: Staatliches;
}
body {
font-family: Quicksand;
}
a {
text-decoration: none
}
</style>
</head>
<body>
<div id="container">
<header id="header">
PricePalate
<button onclick="logout()" id="logoutbtn"><span class="material-symbols-outlined">logout</span></button>
</header>
<div class="textprompt">
<div class="greetings">Hello, <span id="name-goes-here"></span> !</div>
Please choose your supermarkets
</div>
<div id="options">
<input type="checkbox" id="walmartcb" onclick="print1()"/>
<label for="myCheckbox1"><img src="./images/StoreLogoFull/Walmart.png" id="store1"/></label>
<input type="checkbox" id="costcocb" onclick="print2()"/>
<label for="myCheckbox1"><img src="./images/StoreLogoFull/Costco.png" id="store2"/></label>
<input type="checkbox" id="saveonfoodscb" onclick="print3()"/>
<label for="myCheckbox1"><img src="./images/StoreLogoFull/Saveonfoods.jpg" /></label>
<input type="checkbox" id="tntcb" onclick="print4()"/>
<label for="myCheckbox1"><img src="./images/StoreLogoFull/T&T.png" /></label>
<!-- <button class="storesbtn" id="walmartbtn" onclick="print1()">
<img src="../images/StoreLogoFull/Walmart.png" alt="Walmart logo" id="store1">
</button>
<button class="storesbtn" id="costcobtn" onclick="print2()">
<img src="../images/StoreLogoFull/Costco.png" alt="Costco logo" id="store2">
</button>
<button class="storesbtn" id="saveonfoodsbtn" onclick="print3()">
<img src="../images/StoreLogoFull/Saveonfoods.jpg" alt="Save on Foods logo" id="store3">
</button>
<button class="storesbtn" id="tntbtn" onclick="print4()">
<img src="../images/StoreLogoFull/T&T.png" alt="T&T logo" id="store4">
</button> -->
</div>
<div class="textprompt">
Please enter an item
</div>
<div id="searchbar">
<form>
<input type="text" id="search" placeholder="Search.." onkeydown="enterSearch(event)">
</form>
<button type="button" id="searchbtn" onclick="dosearch()"><span
class="material-symbols-outlined">search</span></button>
</div>
<footer id="footerPlaceholder"></footer>
</div>
<script src="./scripts/firebaseAPI_BBY31.js"></script>
<script src="./scripts/skeleton.js"></script>
<script src="./scripts/market.js"></script>
<script src="./scripts/main.js"></script>
<script src="./scripts/searchresults.js"></script>
<script src="./scripts/dosearch.js"></script>
<script src="./scripts/logout.js"></script>
</body>
</html>