forked from YangVictor05/1800_202330_BBY31
-
Notifications
You must be signed in to change notification settings - Fork 0
/
searchResults.html
109 lines (80 loc) · 2.76 KB
/
searchResults.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 lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>Search Result Page</title>
<!-- Google icon link & style -->
<link rel="stylesheet"
href="https://fonts.googleapis.com/css2?family=Material+Symbols+Outlined:opsz,wght,FILL,[email protected],100..700,0..1,-50..200" />
<style>
.material-symbols-outlined {
font-variation-settings:
'FILL' 0,
'wght' 400,
'GRAD' 0,
'opsz' 24
}
</style>
<!-- font -->
<style>
@import url('https://fonts.googleapis.com/css2?family=Quicksand&display=swap');
</style>
<!-- link to css -->
<link rel="stylesheet" href="./styles/searchResults.css">
<!-- FIREBASE 8 CDNs -->
<!-- Firestore for database -->
<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>
</head>
<header id="navbarPlaceholder"></header>
<body>
<div class="container">
<div class="top">
<div class="text">Search results</div>
<div class="sort">
<span class="material-symbols-outlined">
sort
</span>
</div>
</div>
<div class="allresults" id="allresults">
</div>
</div>
<!-- template for dynamic cards -->
<template id="searchresulttemplate">
<div class="result">
<img src="..." alt="..." id="productimage">
<div class="info">
<div class="store">
<img src="..." alt="..." id="storelogo">
</div>
<div class="item">itemname</div>
<div class="detail">detail</div>
<div class="price">price</div>
</div>
<div class="counter">
<button type="button" class="addbutton" id="plusbtncontainer">
<span class="material-symbols-outlined" class="plus" id="plusbtn">
add_circle
</span>
</button>
<button type="button" class="minusbutton" id="minusbtncontainer">
<span class="material-symbols-outlined minus" class="minus" id="minusbtn">
do_not_disturb_on
</span>
</button>
</div>
</div>
</template>
<footer id="footerPlaceholder"></footer>
<script src="./scripts/firebaseAPI_BBY31.js"></script>
<script src="./scripts/skeleton.js"></script>
<script src="./scripts/market.js"></script>
<script src="./scripts/searchresults.js"></script>
<script src="./scripts/shoppinglist.js"></script>
</body>
</html>