Compare commits
1 Commits
| Author | SHA1 | Date | |
|---|---|---|---|
| bf06df461d |
+34
-45
@@ -41,53 +41,42 @@
|
|||||||
</div>
|
</div>
|
||||||
</nav>
|
</nav>
|
||||||
|
|
||||||
<main class="form-page">
|
<main>
|
||||||
|
|
||||||
<div class="form-container">
|
|
||||||
|
|
||||||
<div class="logo-wrapper">
|
|
||||||
<h1>Benutzerdaten ändern</h1>
|
|
||||||
<img src="../images/logo.png" alt="Logo" class="login-logo">
|
|
||||||
</div>
|
|
||||||
|
|
||||||
<form>
|
|
||||||
|
|
||||||
<label class="input-label">Vorname</label>
|
|
||||||
|
|
||||||
<input type="text" name="Vorname" class="login-input" required
|
|
||||||
placeholder="Vorname"
|
|
||||||
value="<?php //DB-Daten ?>">
|
|
||||||
|
|
||||||
<label class="input-label">Nachname</label>
|
|
||||||
<input type="text" name="Nachname" class="login-input" required
|
|
||||||
placeholder="Nachname"
|
|
||||||
value="<?php //DB-Daten ?>">
|
|
||||||
|
|
||||||
<label class="input-label">Email-Adresse</label>
|
|
||||||
<input type="email" name="Email" class="login-input" required
|
|
||||||
placeholder="mustermann@web.de"
|
|
||||||
value="<?php //DB-Daten ?>">
|
|
||||||
|
|
||||||
<label class="input-label">Passwort</label>
|
|
||||||
<input type="password" name="Passwort" class="login-input"
|
|
||||||
required placeholder="Passwort">
|
|
||||||
|
|
||||||
<br>
|
|
||||||
|
|
||||||
<button type="submit" class="login-button">
|
|
||||||
Speichern
|
|
||||||
</button>
|
|
||||||
|
|
||||||
<br><br>
|
|
||||||
|
|
||||||
<button type="button" class="login-button">
|
|
||||||
Account löschen
|
|
||||||
</button>
|
|
||||||
|
|
||||||
</form>
|
|
||||||
|
|
||||||
|
<hr>
|
||||||
|
<div>
|
||||||
|
<div>
|
||||||
|
<h1>Benutzerdaten ändern</h1>
|
||||||
|
<a href="/users"><img src="../images/logo.png" alt="" width="120" height="72"></a>
|
||||||
</div>
|
</div>
|
||||||
</main>
|
<div>
|
||||||
|
<div>
|
||||||
|
<label id="Vorname">Vorname</label>
|
||||||
|
<input type="text" name="Vorname" required placeholder="Vorname" value="<?php //DB-Daten ?>">
|
||||||
|
</div>
|
||||||
|
<div>
|
||||||
|
<label id="Nachname">Nachname</label>
|
||||||
|
<input type="text" name="Nachname" required placeholder="Nachname" value="<?php //DB-Daten ?>">
|
||||||
|
</div>
|
||||||
|
<div>
|
||||||
|
<label id="Email">Email-Adresse</label>
|
||||||
|
<input type="email" name="Email" required placeholder="mustermann@web.de" value="<?php //DB-Daten ?>">
|
||||||
|
</div>
|
||||||
|
<div>
|
||||||
|
<label id="Passwort">Passwort</label>
|
||||||
|
<input type="password" name="Passwort" required placeholder="Passwort">
|
||||||
|
</div>
|
||||||
|
<div>
|
||||||
|
<br>
|
||||||
|
<button type="submit" name="submit"><i></i> Speichern</button>
|
||||||
|
</div>
|
||||||
|
<div>
|
||||||
|
<br>
|
||||||
|
<button type="button" name="NutzerLoeschen">Account löschen</button>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
</main>
|
||||||
|
|
||||||
<footer style="position:fixed;bottom:0;width:100%;background:#fff;text-align:center;">
|
<footer style="position:fixed;bottom:0;width:100%;background:#fff;text-align:center;">
|
||||||
<a href="../legal/impressum.php">Impressum</a>
|
<a href="../legal/impressum.php">Impressum</a>
|
||||||
|
|||||||
+20
-93
@@ -3,13 +3,7 @@ main {
|
|||||||
max-width:1200px;
|
max-width:1200px;
|
||||||
margin: 0 auto;
|
margin: 0 auto;
|
||||||
padding: 20px;
|
padding: 20px;
|
||||||
font-family: Arial, sans-serif;
|
font-family: Arial;
|
||||||
}
|
|
||||||
|
|
||||||
body {
|
|
||||||
background-color: #eef2f7;
|
|
||||||
color: #1f2937;
|
|
||||||
margin: 0;
|
|
||||||
}
|
}
|
||||||
|
|
||||||
.flexbox {
|
.flexbox {
|
||||||
@@ -20,17 +14,11 @@ body {
|
|||||||
}
|
}
|
||||||
|
|
||||||
.container {
|
.container {
|
||||||
background-color: white;
|
border: 1px solid white;
|
||||||
border-radius: 8px;
|
padding: 15px;
|
||||||
padding: 15px;
|
border-radius: 8px;
|
||||||
border: 1px solid #dbe3ec;
|
background-color: coral;
|
||||||
box-shadow: 0 4px 12px rgba(0,0,0,0.08);
|
transition: transform 0.2s;
|
||||||
transition: transform 0.2s, box-shadow 0.2s;
|
|
||||||
}
|
|
||||||
|
|
||||||
.container:hover {
|
|
||||||
transform: translateY(-3px);
|
|
||||||
box-shadow: 0 6px 18px rgba(0,0,0,0.12);
|
|
||||||
}
|
}
|
||||||
|
|
||||||
.category-link {
|
.category-link {
|
||||||
@@ -38,30 +26,16 @@ body {
|
|||||||
text-align: left;
|
text-align: left;
|
||||||
text-decoration: none;
|
text-decoration: none;
|
||||||
font-weight: bold;
|
font-weight: bold;
|
||||||
padding: 12px;
|
padding: 10px;
|
||||||
background-color: #2563eb;
|
background-color: blue;
|
||||||
color: white;
|
color: white;
|
||||||
border-radius: 8px;
|
border-radius: 4px;
|
||||||
margin-bottom: 10px;
|
margin-bottom: 10px;
|
||||||
transition: background-color 0.2s, transform 0.2s, box-shadow 0.2s;
|
|
||||||
}
|
|
||||||
|
|
||||||
.category-link:hover {
|
|
||||||
background-color: #1d4ed8;
|
|
||||||
transform: translateY(-2px);
|
|
||||||
box-shadow: 0 4px 10px rgba(0,0,0,0.15);
|
|
||||||
}
|
}
|
||||||
|
|
||||||
.article-link a {
|
.article-link a {
|
||||||
color: #1f2937;
|
color: blue;
|
||||||
text-decoration: none;
|
text-decoration: none;
|
||||||
font-weight: bold;
|
|
||||||
transition: color 0.2s;
|
|
||||||
}
|
|
||||||
|
|
||||||
.article-link a:hover {
|
|
||||||
color: #2563eb;
|
|
||||||
text-decoration: underline;
|
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
@@ -84,10 +58,9 @@ body {
|
|||||||
width: 90%;
|
width: 90%;
|
||||||
max-width: 450px;
|
max-width: 450px;
|
||||||
padding: 30px;
|
padding: 30px;
|
||||||
border: 1px solid #dbe3ec;
|
border: 1px solid white;
|
||||||
border-radius: 10px;
|
border-radius: 10px;
|
||||||
background-color: white;
|
background-color: white;
|
||||||
box-shadow: 0 6px 20px rgba(0,0,0,0.1);
|
|
||||||
}
|
}
|
||||||
|
|
||||||
.logo-wrapper {
|
.logo-wrapper {
|
||||||
@@ -103,100 +76,54 @@ body {
|
|||||||
.login-container h1 {
|
.login-container h1 {
|
||||||
text-align: center;
|
text-align: center;
|
||||||
margin-bottom: 25px;
|
margin-bottom: 25px;
|
||||||
font-size: 1.7rem;
|
font-size: 1.5rem;
|
||||||
color: #1e293b;
|
|
||||||
}
|
}
|
||||||
|
|
||||||
.input-label {
|
.input-label {
|
||||||
margin-bottom: 5px;
|
margin-bottom: 5px;
|
||||||
font-weight: bold;
|
font-weight: bold;
|
||||||
width: 100%;
|
width: 100%;
|
||||||
color: #1f2937;
|
|
||||||
}
|
|
||||||
|
|
||||||
.input-label {
|
|
||||||
margin-bottom: 5px;
|
|
||||||
font-weight: bold;
|
|
||||||
width: 100%;
|
|
||||||
color: #1f2937;
|
|
||||||
}
|
}
|
||||||
|
|
||||||
.login-input {
|
.login-input {
|
||||||
width: 100%;
|
width: 100%;
|
||||||
padding: 12px;
|
padding: 12px;
|
||||||
margin-bottom: 20px;
|
margin-bottom: 20px;
|
||||||
border: 1px solid #d1d5db;
|
border: 1px solid white;
|
||||||
border-radius: 6px;
|
border-radius: 4px;
|
||||||
box-sizing: border-box;
|
box-sizing: border-box;
|
||||||
font-size: 1rem;
|
|
||||||
background-color: white;
|
|
||||||
}
|
|
||||||
|
|
||||||
.login-input:focus {
|
|
||||||
outline: none;
|
|
||||||
border-color: #2563eb;
|
|
||||||
box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.15);
|
|
||||||
}
|
}
|
||||||
|
|
||||||
.checkbox-wrapper {
|
.checkbox-wrapper {
|
||||||
margin-bottom: 20px;
|
margin-bottom: 20px;
|
||||||
color: #1f2937;
|
|
||||||
}
|
}
|
||||||
|
|
||||||
.login-button {
|
.login-button {
|
||||||
width: 100%;
|
width: 100%;
|
||||||
padding: 12px;
|
padding: 12px;
|
||||||
background-color: #2563eb;
|
background-color: blue;
|
||||||
color: white;
|
color: white;
|
||||||
border: none;
|
border: none;
|
||||||
border-radius: 8px;
|
border-radius: 4px;
|
||||||
font-size: 1rem;
|
font-size: 1rem;
|
||||||
font-weight: bold;
|
|
||||||
cursor: pointer;
|
cursor: pointer;
|
||||||
transition: background-color 0.2s, transform 0.2s, box-shadow 0.2s;
|
|
||||||
}
|
}
|
||||||
|
|
||||||
.login-button:hover {
|
.login-button:hover {
|
||||||
background-color: #1d4ed8;
|
background-color: blue;
|
||||||
transform: translateY(-2px);
|
|
||||||
box-shadow: 0 4px 10px rgba(0,0,0,0.15);
|
|
||||||
}
|
}
|
||||||
|
|
||||||
.register-link {
|
.register-link {
|
||||||
margin-top: 20px;
|
margin-top: 20px;
|
||||||
text-align: center;
|
text-align: center;
|
||||||
font-size: 0.9rem;
|
font-size: 0.9rem;
|
||||||
color: #1f2937;
|
|
||||||
}
|
|
||||||
.register-link a {
|
|
||||||
color: #2563eb;
|
|
||||||
text-decoration: none;
|
|
||||||
font-weight: bold;
|
|
||||||
transition: color 0.2s;
|
|
||||||
}
|
|
||||||
|
|
||||||
.register-link a:hover {
|
|
||||||
color: #1d4ed8;
|
|
||||||
text-decoration: underline;
|
|
||||||
}
|
}
|
||||||
|
|
||||||
/* Versteckt das doppelte Label fuer Screenreader/Accessibility */
|
/* Versteckt das doppelte Label fuer Screenreader/Accessibility */
|
||||||
.screenreader-only {
|
.screenreader-only {
|
||||||
display: none;
|
display: none;
|
||||||
}
|
}
|
||||||
/* Allgemeine Formularseiten */
|
|
||||||
.form-page {
|
|
||||||
display: flex;
|
|
||||||
justify-content: center;
|
|
||||||
padding: 40px 20px;
|
|
||||||
}
|
|
||||||
|
|
||||||
.form-container {
|
body {
|
||||||
width: 90%;
|
background-color: coral;
|
||||||
max-width: 600px;
|
|
||||||
padding: 30px;
|
|
||||||
background-color: white;
|
|
||||||
border: 1px solid #dbe3ec;
|
|
||||||
border-radius: 10px;
|
|
||||||
box-shadow: 0 6px 20px rgba(0,0,0,0.1);
|
|
||||||
}
|
}
|
||||||
Reference in New Issue
Block a user