-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathsettings.html
More file actions
60 lines (60 loc) · 2.71 KB
/
settings.html
File metadata and controls
60 lines (60 loc) · 2.71 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
<!DOCTYPE html>
<html lang="de">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>Profileinstellungen</title>
<link rel="stylesheet" href="resources/settings.css">
<link rel="icon" href="resources/assets/favicon.ico" type="image/x-icon">
<link rel="icon" type="image/png" sizes="64x64" href="resources/assets/favicon.png">
</head>
<body>
<header>
<h1>Welcome $User to Settings</h1>
<nav>
<ul>
<li><a href="index.html">Home</a></li>
<li class="avatar">
<img src="resources/assets/avatar.png" alt="Avatar" style="width:40px;">
<div class="dropdown-content">
<a href="settings.html">Settings</a>
<a href="profile.html">Profile</a>
<a href="login.html">Logout</a>
</div>
</li>
</ul>
</nav>
</header>
<main>
<div class="settings-container">
<section class="profile-picture-section">
<h2>Profilbild ändern</h2>
<form id="profilePictureForm" enctype="multipart/form-data">
<input type="file" id="profilePictureInput" accept="image/*" onchange="previewProfilePicture(event)">
<label for="profilePictureInput">Profilbild auswählen</label>
<div class="profile-picture-preview">
<img id="profilePicturePreview" src="resources/assets/avatar.png" alt="Profilbild Vorschau">
</div>
<button type="submit">Profilbild hochladen</button>
</form>
</section>
<section class="password-section">
<h2>Passwort ändern</h2>
<form id="passwordForm">
<label for="currentPassword">Aktuelles Passwort</label>
<input type="password" id="currentPassword" name="currentPassword" required>
<label for="newPassword">Neues Passwort</label>
<input type="password" id="newPassword" name="newPassword" required>
<label for="confirmPassword">Passwort bestätigen</label>
<input type="password" id="confirmPassword" name="confirmPassword" required>
<button type="submit">Passwort ändern</button>
</form>
</section>
</div>
</main>
<footer>
<p><a href="impressum.html">Impressum</a> | <a href="datenschutz.html">Datenschutz</a> | <a href="kontakt.html">Kontakt</a></p>
</footer>
<script src="resources/script.js"></script>
</body>
</html>