-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathsettings.html
More file actions
85 lines (78 loc) · 2.97 KB
/
Copy pathsettings.html
File metadata and controls
85 lines (78 loc) · 2.97 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
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>EthnoLearn - Settings</title>
<link rel="stylesheet" href="styles.css">
</head>
<body>
<header>
<nav>
<div class="logo">EthnoLearn</div>
<ul class="nav-links">
<li><a href="index.html">Home</a></li>
<li><a href="languages.html">Languages</a></li>
<li><a href="forum.html">Forum</a></li>
<li><a href="progress.html">Progress</a></li>
<li><a href="settings.html" class="active">Settings</a></li>
</ul>
<div class="user-menu" id="userMenu">
<!-- User menu will be populated by JavaScript -->
</div>
</nav>
</header>
<main class="container">
<h1>User Settings</h1>
<div class="settings-section">
<h2>Interface Language</h2>
<div class="setting-item">
<label for="interfaceLanguage">Select Interface Language:</label>
<select id="interfaceLanguage">
<option value="English">English</option>
<!-- Other interface languages will be populated dynamically -->
</select>
</div>
</div>
<div class="settings-section">
<h2>Account Settings</h2>
<div class="setting-item">
<label for="username">Username:</label>
<input type="text" id="username" disabled>
<button id="changeUsernameBtn">Change</button>
</div>
<div class="setting-item">
<label for="email">Email:</label>
<input type="email" id="email" disabled>
<button id="changeEmailBtn">Change</button>
</div>
<div class="setting-item">
<button id="changePasswordBtn" class="btn">Change Password</button>
</div>
</div>
<div class="settings-section">
<h2>Notification Settings</h2>
<div class="setting-item">
<label>
<input type="checkbox" id="emailNotifications">
Receive email notifications
</label>
</div>
<div class="setting-item">
<label>
<input type="checkbox" id="forumNotifications">
Receive forum notifications
</label>
</div>
</div>
<button id="saveSettingsBtn" class="btn primary-btn">Save Settings</button>
</main>
<footer>
<p>© 2023 EthnoLearn - Preserving Indigenous Languages</p>
</footer>
<script src="https://code.jquery.com/jquery-3.6.0.min.js"></script>
<script src="language_utils.js"></script>
<script src="lang.js"></script>
<script src="settings.js"></script>
</body>
</html>