-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathsettings.html
More file actions
353 lines (328 loc) · 14.1 KB
/
settings.html
File metadata and controls
353 lines (328 loc) · 14.1 KB
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
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport"
content="width=device-width, user-scalable=no, initial-scale=1.0, maximum-scale=1.0, minimum-scale=1.0">
<meta http-equiv="X-UA-Compatible" content="ie=edge">
<title>Admin Dashboard | ProTrack</title>
<link rel="icon" type="image/x-icon" href="./contents/images/favicon.png" />
<link href="https://fonts.googleapis.com/icon?family=Material+Icons+Sharp" rel="stylesheet">
<link rel="stylesheet" type="text/css" href="contents/css/setting.css">
</head>
<body>
<div class="container">
<!-- Logo -->
<aside>
<div class="top">
<div class="logo">
<h2>Pro<span class="primary">Track</span></h2>
</div>
<div class="close" id="close-btn">
<span class="material-icons-sharp">close</span>
</div>
</div>
<div class="sidebar">
<a href="./dashboard.html">
<span class="material-icons-sharp">grid_view</span>
<h3>Dashboard</h3>
</a>
<!-- <a href="./activityTracking.html">
<span class="material-icons-sharp">calendar_today</span>
<h3>Activity Tracking</h3>
</a> -->
<a href="./goalSetting.html">
<span class="material-icons-sharp">flag</span>
<h3>Goal Setting</h3>
</a>
<a href="./analytics.html">
<span class="material-icons-sharp">insights</span>
<h3>Analytics</h3>
</a>
<a href="./todo.html">
<span class="material-icons-sharp">checklist</span>
<h3>Todo</h3>
</a>
<a href="./reports.html">
<span class="material-icons-sharp">bar_chart</span>
<h3>Reports</h3>
</a>
<a href="./settings.html" class="active">
<span class="material-icons-sharp">settings</span>
<h3>Settings</h3>
</a>
<a href="#" onclick="logout()">
<span class="material-icons-sharp">logout</span>
<h3>Logout</h3>
</a>
</div>
</aside>
<main class="setting">
<h2 style="font-weight: 800; font-size: 2.1rem; margin-bottom: 1rem; margin-top: 0; padding-top: 0;">Settings</h2>
<div class="proBanner">
<h2>Upgrade to Pro</h2>
<p>Unlock advanced features and boost your productivity!</p>
<button class="btn btn-upgrade">Learn More</button>
</div>
<div class="page-header">
<div class="page-title">
<h4>Profile Settings</h4>
</div>
</div>
<div class="card">
<div class="card-body">
<div class="row">
<div class="col-lg-6 col-sm-12">
<div class="form-group">
<label>Username</label>
<input type="text" placeholder="User123">
</div>
</div>
<div class="col-lg-6 col-sm-12">
<div class="form-group">
<label>First Name</label>
<input type="text" placeholder="User">
</div>
</div>
<div class="col-lg-6 col-sm-12">
<div class="form-group">
<label>Last Name</label>
<input type="text" placeholder="Singh">
</div>
</div>
<div class="col-lg-6 col-sm-12">
<div class="form-group">
<label>Email</label>
<input type="text" placeholder="user123@example.com">
</div>
</div>
<div class="col-lg-6 col-sm-12">
<div class="form-group">
<label>Phone</label>
<input type="text" placeholder="98756XXXXX" size="10">
</div>
</div>
<div class="col-12">
<a href="javascript:void(0);" class="btn btn-submit me-2">Save</a>
<a href="javascript:void(0);" class="btn btn-cancel">Cancel</a>
</div>
</div>
</div>
</div>
<!-- Improved Authentication Settings Section -->
<div class="page-header">
<div class="page-title">
<h4>Authentication Settings</h4>
<h6>Manage Your Account Security</h6>
</div>
</div>
<div class="card">
<div class="card-body">
<h5>Change Password</h5>
<div class="row">
<div class="col-lg-6 col-sm-12">
<div class="form-group">
<label>Current Password</label>
<input type="password" placeholder="Enter current password">
</div>
</div>
<div class="col-lg-6 col-sm-12">
<div class="form-group">
<label>New Password</label>
<input type="password" placeholder="Enter new password">
</div>
</div>
<div class="col-lg-6 col-sm-12">
<div class="form-group">
<label>Confirm New Password</label>
<input type="password" placeholder="Confirm new password">
</div>
</div>
<div class="col-12">
<a href="javascript:void(0);" class="btn btn-submit me-2">Change Password</a>
</div>
</div>
<hr>
<h5>Two-Factor Authentication</h5>
<div class="row">
<div class="col-12">
<p>Enhance your account security by enabling two-factor authentication.</p>
<a href="javascript:void(0);" class="btn btn-submit me-2">Enable 2FA</a>
</div>
</div>
<hr>
<h5>Login History</h5>
<div class="row">
<div class="col-12">
<p>Review your recent login activity.</p>
<a href="javascript:void(0);" class="btn btn-submit me-2">View Login History</a>
</div>
</div>
</div>
</div>
<!-- Improved Subscription Section -->
<div class="page-header">
<div class="page-title">
<h4>Pro Settings</h4>
<h6>Manage Your ProTrack Subscription</h6>
</div>
</div>
<div class="card">
<div class="card-body">
<div class="plan-comparison">
<div class="plan free-plan">
<h5>Current Plan: Free</h5>
<ul>
<li>Basic activity tracking</li>
<li>Limited goal setting</li>
<li>Basic analytics</li>
</ul>
</div>
<div class="plan pro-plan">
<h5>Pro Plan Features:</h5>
<ul>
<li>Advanced activity tracking</li>
<li>Unlimited goal setting</li>
<li>Comprehensive analytics and reports</li>
<li>Ad-free experience</li>
<li>Priority support</li>
</ul>
<a href="./billing-getaway.html"><button class="btn btn-subscribe">Subscribe Now</button></a>
</div>
</div>
</div>
</div>
<!-- Improved Privacy Section -->
<div class="page-header">
<div class="page-title">
<h4>Privacy Settings</h4>
<h6>Manage Your Data and Privacy Preferences</h6>
</div>
</div>
<div class="card">
<div class="card-body">
<h5>Data Collection and Usage</h5>
<div class="row">
<div class="col-12">
<div class="form-check">
<input class="form-check-input" type="checkbox" id="usageData">
<label class="form-check-label" for="usageData">
Allow ProTrack to collect usage data to improve services
</label>
</div>
<div class="form-check">
<input class="form-check-input" type="checkbox" id="personalization">
<label class="form-check-label" for="personalization">
Allow personalized recommendations based on my activity
</label>
</div>
</div>
</div>
<hr>
<h5>Privacy Policy</h5>
<div class="row">
<div class="col-12">
<p>Our privacy policy outlines how we collect, use, and protect your personal information.
</p>
<a href="privacy-policy.html" target="_blank" class="btn btn-submit me-2">View Privacy
Policy</a>
</div>
</div>
<hr>
</div>
</div>
<!-- Data Export Section -->
<div class="card">
<div class="card-header">
<h5>Data Export</h5>
<p class="text-muted">Download a copy of your personal data</p>
</div>
<div class="card-body">
<div class="export-info">
<p>Your export will include:</p>
<ul>
<li>• Profile information</li>
<li>• Account settings</li>
<li>• Activity history</li>
<li>• Saved preferences</li>
</ul>
</div>
<div class="export-actions">
<button class="btn btn-primary">
<i class="fas fa-download"></i>
Request Data Export
</button>
<p class="text-small mt-2">Processing may take up to 48 hours. You'll receive an email when your data is ready.</p>
</div>
</div>
</div>
<!-- Data Deletion Section -->
<div class="card mt-4">
<div class="card-header">
<h5>Data Deletion</h5>
<p class="text-muted">Permanently remove your account and data</p>
</div>
<div class="card-body">
<div class="deletion-warning">
<div class="alert alert-danger">
<i class="fas fa-exclamation-triangle"></i>
<strong>Warning:</strong> This action cannot be undone. All your data will be permanently deleted.
</div>
</div>
<div class="deletion-info">
<p>Before proceeding, please note:</p>
<ul>
<li>• All personal information will be erased</li>
<li>• Your account will be permanently deactivated</li>
<li>• You'll lose access to all services and features</li>
<li>• Active subscriptions will be cancelled</li>
</ul>
</div>
<div class="deletion-confirmation">
<div class="form-check mb-3">
<input type="checkbox" class="form-check-input" id="confirmDeletion">
<label class="form-check-label" for="confirmDeletion">
I understand that this action is permanent and cannot be reversed
</label>
</div>
<button class="btn btn-danger" disabled>
<i class="fas fa-trash-alt"></i>
Delete My Account
</button>
</div>
</div>
</div>
</main>
<div class="popup-container">
<div class="popup">
<button class="close-popup">×</button>
<h2>Upgrade to Pro</h2>
<div class="plan-comparison">
<div class="plan free-plan">
<h5>Free Plan</h5>
<ul>
<li>Basic activity tracking</li>
<li>Limited goal setting</li>
<li>Basic analytics</li>
</ul>
</div>
<div class="plan pro-plan">
<h5>Pro Plan</h5>
<ul>
<li>Advanced activity tracking</li>
<li>Unlimited goal setting</li>
<li>Comprehensive analytics and reports</li>
<li>Ad-free experience</li>
<li>Priority support</li>
</ul>
<a href="./billing-getaway.html"><button class="btn btn-subscribe">Subscribe Now</button></a>
</div>
</div>
</div>
</div>
</div>
<!-- Script -->
<script src="./contents/js/dashboard.js"></script>
<script src="./contents/js/settings.js"></script>
</body>
</html>