-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathsetting.html
161 lines (143 loc) · 5.75 KB
/
setting.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
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8" />
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<title>EatMOJI | Settings Page</title>
<!-- jquery -->
<script src="https://ajax.googleapis.com/ajax/libs/jquery/3.7.1/jquery.min.js"></script>
<!-- bootstrap -->
<link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/[email protected]/dist/css/bootstrap.min.css"
integrity="sha384-QWTKZyjpPEjISv5WaRU9OFeRpok6YctnYmDr5pNlyT2bRjXh0JMhjY6hW+ALEwIH" crossorigin="anonymous" />
<link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/bootstrap-icons/font/bootstrap-icons.css" />
<!-- firebase -->
<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-auth.js"></script>
<script src="https://www.gstatic.com/firebasejs/ui/4.8.1/firebase-ui-auth.js"></script>
<link type="text/css" rel="stylesheet" href="https://www.gstatic.com/firebasejs/ui/4.8.1/firebase-ui-auth.css" />
<script src="https://www.gstatic.com/firebasejs/8.10.0/firebase-storage.js"></script>
<link rel="stylesheet" href="styles/style.css" />
<style>
/* Ensure the body spans the entire viewport */
body {
min-height: 100vh;
display: flex;
flex-direction: column;
}
main {
flex: 1;
position: relative;
width: 100%;
}
/* Maintain consistent sizing for account cards */
.account-card {
height: 100%;
padding: 20px;
background-color: #ffcfb3;
border-radius: 10px;
box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
display: flex;
align-items: center;
}
.account-card h6 {
font-weight: 600;
}
/* Icon Styling */
.account-card .icon img {
width: 50px;
height: 50px;
}
/* Link Styling */
.account-section .a {
text-decoration: none;
color: black;
}
/* Adjust container styling */
.account-section {
padding-top: 20px;
}
footer {
position: relative;
bottom: 0;
width: 100%;
padding: 10px;
text-align: center;
}
</style>
<script src="https://cdn.jsdelivr.net/npm/[email protected]/dist/js/bootstrap.bundle.min.js"
integrity="sha384-YvpcrYf0tY3lHB60NNkmXc5s9fDVZLESaAA55NDzOxhy9GkcIdslK1eN7N6jIeHz"
crossorigin="anonymous"></script>
</head>
<body>
<header id="main-header" class="px-5">
<nav></nav>
</header>
<main id="container" class="mb-10">
<div class="container account-section">
<div class="account-header">Account Setting</div>
<div class="d-flex gap-4">
<div class="account-email">
<a class="btn btn-primary" href="../main.html">Go to Main page</a>
</div>
<div class="account-email">
<a class="btn btn-primary" href="../index.html">Logout</a>
</div>
</div>
<!-- Grid layout for account settings cards -->
<div class="row g-3 mt-3">
<div class="col-md-6">
<a class="a" href="../notification.html">
<div class="account-card d-flex align-items-center">
<div class="icon p-2">
<img src="/res/notification.svg" alt="Icon" class="img-fluid" />
</div>
<div>
<h6>Notifications</h6>
<p class="mb-0 text-muted">
Choose notification preferences
</p>
</div>
</div>
</a>
</div>
<div class="col-md-6">
<a class="a" href="../preferences.html">
<div class="account-card d-flex align-items-center">
<div class="icon p-2">
<img src="/res/sliders.svg" alt="Icon" class="img-fluid" />
</div>
<div>
<h6>Preferences</h6>
<p class="mb-0 text-muted">
Choose cuisine, allergy, budget, and
distance
</p>
</div>
</div>
</a>
</div>
<div class="col-md-6">
<a class="a" href="friends.html">
<div class="account-card d-flex align-items-center">
<div class="icon p-2">
<img src="/res/people.svg" alt="Icon" class="img-fluid" />
</div>
<div>
<h6>Friends</h6>
<p class="mb-0 text-muted">
Add and integrate groups
</p>
</div>
</div>
</a>
</div>
</div>
</div>
</main>
<footer class="fixed-bottom">
</footer>
<script src="scripts/firebaseAPI_DTC08.js"></script>
<script src="scripts/loadSkeleton.js"></script>
</body>
</html>