-
Notifications
You must be signed in to change notification settings - Fork 2
Expand file tree
/
Copy pathsettings.html
More file actions
267 lines (237 loc) · 5.33 KB
/
settings.html
File metadata and controls
267 lines (237 loc) · 5.33 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
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8" />
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<title>Settings</title>
<link rel="icon" type="image/png" href="AinternFavicon.png">
<style>
body {
margin: 0;
font-family: 'Segoe UI', sans-serif;
display: flex;
background: #f9f9f9;
}
header {
height: 60px;
width: 100%;
background: #f57c00;
color: white;
display: flex;
justify-content: space-between;
align-items: center;
padding: 0 20px;
position: fixed;
top: 0;
z-index: 100;
box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}
header h1 {
font-size: 20px;
margin: 0;
font-weight: 600;
}
.icons {
display: flex;
gap: 15px;
align-items: center;
}
.icons span {
cursor: pointer;
font-size: 18px;
}
.logout-btn {
padding: 8px 14px;
background: white;
color: #f57c00;
border: 2px solid #f57c00;
border-radius: 5px;
font-weight: 600;
cursor: pointer;
transition: 0.3s;
}
.logout-btn:hover {
background: #f57c00;
color: white;
}
.sidebar {
width: 220px;
background: #fff;
color: #333;
height: 100vh;
padding-top: 80px;
position: fixed;
border-right: 1px solid #ddd;
}
.sidebar h2 {
text-align: center;
margin-bottom: 30px;
color: #f57c00;
font-size: 22px;
}
.sidebar a {
display: block;
color: #333;
padding: 12px;
text-decoration: none;
margin: 5px 15px;
border-radius: 8px;
font-weight: 500;
transition: 0.2s;
}
.sidebar a:hover {
background: #ffe0b2;
color: #f57c00;
}
.main {
flex: 1;
margin-left: 220px;
padding: 100px 30px 30px 30px;
background: #f9f9f9;
min-height: 100vh;
}
.main h1 {
font-size: 24px;
margin-bottom: 20px;
color: #333;
}
.card {
background: white;
border-radius: 10px;
padding: 20px;
margin-bottom: 20px;
box-shadow: 0 2px 8px rgba(0,0,0,0.05);
transition: 0.3s;
}
.card:hover {
box-shadow: 0 4px 12px rgba(0,0,0,0.1);
}
.card h2 {
margin-top: 0;
font-size: 18px;
border-bottom: 1px solid #eee;
padding-bottom: 10px;
color: #f57c00;
}
.setting-row {
display: flex;
justify-content: space-between;
align-items: center;
margin: 15px 0;
}
.setting-row label {
font-size: 15px;
color: #555;
}
.toggle {
position: relative;
width: 50px;
height: 24px;
background: #ccc;
border-radius: 50px;
cursor: pointer;
transition: background 0.3s;
}
.toggle::before {
content: '';
position: absolute;
top: 2px;
left: 2px;
width: 20px;
height: 20px;
background: white;
border-radius: 50%;
transition: transform 0.3s;
}
.toggle.active {
background: #f57c00;
}
.toggle.active::before {
transform: translateX(26px);
}
.card button {
padding: 8px 14px;
background: #f57c00;
color: white;
border: none;
border-radius: 5px;
font-weight: 500;
cursor: pointer;
transition: 0.3s;
}
.card button:hover {
background: #e65100;
}
select {
padding: 8px;
font-size: 14px;
border-radius: 6px;
border: 1px solid #ccc;
margin-top: 10px;
}
</style>
</head>
<body>
<header>
<h1>AiNTERN – Internship Portal</h1>
<div class="icons">
<span>🔔</span>
<span>👤</span>
<button class="logout-btn" onclick="logout()">Logout</button>
</div>
</header>
<div class="sidebar">
<h2>AiNTERN</h2>
<a href="dashboard.html">🏠 Dashboard</a>
<a href="find.html">🔍 Find Internships</a>
<a href="applications.html">📂 My Applications</a>
<a href="skills.html">⭐ Skill Insights</a>
<a href="profile.html">👤 Profile</a>
<a href="settings.html">⚙️ Settings</a>
<a href="logout.html"><i class="fas fa-sign-out-alt"></i>⏻ Logout</a>
</div>
<div class="main">
<h1>Settings</h1>
<div class="card">
<h2>Account Settings</h2>
<div class="setting-row">
<label>Receive Notifications</label>
<div class="toggle" onclick="toggleSwitch(this)"></div>
</div>
<div class="setting-row">
<label>Enable Dark Mode</label>
<div class="toggle" onclick="toggleSwitch(this)"></div>
</div>
<div class="setting-row">
<label>Language</label>
<select>
<option>English</option>
<option>Hindi</option>
<option>Tamil</option>
</select>
</div>
<div class="setting-row">
<label>Timezone</label>
<select>
<option>Asia/Kolkata</option>
<option>UTC</option>
<option>Asia/Tokyo</option>
</select>
</div>
</div>
<div class="card">
<h2>Security</h2>
<p><b>Password:</b> ********</p>
<button onclick="alert('Redirecting to password update...')">Change Password</button>
</div>
</div>
<script>
function logout() {
window.location.href = "student-login.html";
}
function toggleSwitch(el) {
el.classList.toggle("active");
}
</script>
</body>
</html>