Compare commits
15 Commits
| Author | SHA1 | Date | |
|---|---|---|---|
| 3f5313dd00 | |||
| f909d0453b | |||
| d5f4f2b8a5 | |||
| 87a8e9b7d2 | |||
| 729b0f08a1 | |||
| 2907bcdd67 | |||
| 65935c644b | |||
| 8645900035 | |||
| 49a8d49296 | |||
| bc1051e4a2 | |||
| d8f8fbbdd4 | |||
| baf3f88e1e | |||
| 480b6cd4ae | |||
| 29b588babb | |||
| a29e48efad |
@@ -19,13 +19,12 @@
|
||||
|
||||
|
||||
<body>
|
||||
|
||||
<main>
|
||||
|
||||
<?php
|
||||
include_once 'includes/navbar.php';
|
||||
?>
|
||||
|
||||
<main>
|
||||
|
||||
<h1>404 - Seite nicht vorhanden</h1>
|
||||
<p>
|
||||
Später im Projekt sollen über index.php?pfad= ... der Inhalt der index.php dynamisch gesetzt werden.
|
||||
|
||||
+6
-6
@@ -17,23 +17,23 @@
|
||||
<!-- Flexbox -->
|
||||
<div class="flexbox">
|
||||
<div class="container">
|
||||
<a href="content/informatik.php" class="category-link">Informatik</a>
|
||||
<a href="informatik.php" class="category-link">Informatik</a>
|
||||
<div class="article-link">
|
||||
<a href="articles/datenschutz.php">Datenschutz vs. Datensicherheit</a>
|
||||
<a href="datenschutzVSdatensicherheit.php">Datenschutz vs. Datensicherheit</a>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div class="container">
|
||||
<a href="content/mathe.php" class="category-link">Mathe</a>
|
||||
<a href="mathe.php" class="category-link">Mathe</a>
|
||||
<div class="article-link">
|
||||
<a href="articles/pythagoras.php">Satz des Pythagoras</a>
|
||||
<a href="pythagoras.php">Satz des Pythagoras</a>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div class="container">
|
||||
<a href="content/physik.php" class="category-link">Physik</a>
|
||||
<a href="physik.php" class="category-link">Physik</a>
|
||||
<div class="article-link">
|
||||
<a href="articles/tunneleffekt.php">Der Tunneleffekt</a>
|
||||
<a href="tunneleffekt.php">Der Tunneleffekt</a>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
+24
-3
@@ -3,7 +3,6 @@ main {
|
||||
max-width:1200px;
|
||||
margin: 0 auto;
|
||||
padding: 20px;
|
||||
font-family: Arial, sans-serif;
|
||||
}
|
||||
|
||||
body {
|
||||
@@ -12,6 +11,10 @@ body {
|
||||
margin: 0;
|
||||
}
|
||||
|
||||
a, button, input, select, textarea, label, main{
|
||||
font-family: Arial, Helvetica, sans-serif;
|
||||
}
|
||||
|
||||
.flexbox {
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
@@ -125,15 +128,17 @@ body {
|
||||
width: 100%;
|
||||
padding: 12px;
|
||||
margin-bottom: 20px;
|
||||
border: 1px solid white;
|
||||
border-radius: 4px;
|
||||
border: 1px solid #d1d5db;
|
||||
border-radius: 6px;
|
||||
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 {
|
||||
@@ -182,3 +187,19 @@ body {
|
||||
.screenreader-only {
|
||||
display: none;
|
||||
}
|
||||
/* Allgemeine Formularseiten */
|
||||
.form-page {
|
||||
display: flex;
|
||||
justify-content: center;
|
||||
padding: 40px 20px;
|
||||
}
|
||||
|
||||
.form-container {
|
||||
width: 90%;
|
||||
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);
|
||||
}
|
||||
|
||||
@@ -23,26 +23,35 @@
|
||||
include_once 'includes/navbar.php';
|
||||
?>
|
||||
|
||||
<main>
|
||||
<div style="width: 50%">
|
||||
<h1 style="width: 60%; text-align: center">Bitte anmelden</h1><br>
|
||||
<main class="login-page">
|
||||
<div class="login-container">
|
||||
|
||||
<label id="inputEmail" >E-Mail-Adresse / </label>
|
||||
<p style="width: 80%;">Benutzername/E-Mail-Adresse:</p>
|
||||
<input type="email" name="email" style="width: 80%;" placeholder="E-Mail-Adresse" required autofocus>
|
||||
<p style="width: 80%;">Passwort:</p>
|
||||
<input type="password" name="password" style="width: 80%;" placeholder="Passwort" required>
|
||||
<div style="width: 80%;">
|
||||
<h1>Bitte anmelden</h1>
|
||||
|
||||
<form>
|
||||
<label id ="inputEmail" class="screenreader-only">E-Mail Adresse / </label>
|
||||
|
||||
<p class="input-label">Benutzername/E-Mail-Adresse:</p>
|
||||
<input type="email" name="email" class="login-input" placeholder="E-Mail-Adresse" required autofocus>
|
||||
|
||||
<p class="input-label">Passwort:</p>
|
||||
<input type="password" name="password" class="login-input" placeholder="Passwort" required>
|
||||
|
||||
<div class="checkbox-wrapper">
|
||||
<label>
|
||||
<input type="checkbox" name="remember-me" value="1"> angemeldet bleiben
|
||||
</label>
|
||||
</div>
|
||||
<button type="submit" value="anmelden" name="loginSubmit" style="width: 80%;">anmelden</button><br>
|
||||
<div style="width: 70%; text-align: center">
|
||||
<a href="register.php" style="text-align: center;"> Noch keinen Account? Jetzt hier registrieren! </a>
|
||||
|
||||
<button type="submit" value="anmelden" name="loginSubmit" class="login-button">anmelden</button>
|
||||
|
||||
<div class="register-link">
|
||||
<a href="register.php">Noch keinen Account? Jetzt hier registrieren!</a>
|
||||
</div>
|
||||
</form>
|
||||
</div>
|
||||
</main>
|
||||
|
||||
<?php
|
||||
include_once 'includes/footer.php';
|
||||
?>
|
||||
|
||||
+37
-27
@@ -23,35 +23,45 @@
|
||||
include_once 'includes/navbar.php';
|
||||
?>
|
||||
|
||||
<main>
|
||||
<main class="form-page">
|
||||
|
||||
<div class="form-container">
|
||||
<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">
|
||||
|
||||
<hr>
|
||||
<div>
|
||||
<div>
|
||||
<h1>Benutzerdaten ändern</h1>
|
||||
</div>
|
||||
<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>
|
||||
|
||||
<button type="submit" class="login-button">
|
||||
Speichern
|
||||
</button>
|
||||
|
||||
<br><br>
|
||||
|
||||
<button type="button" class="login-button">
|
||||
Account löschen
|
||||
</button>
|
||||
|
||||
</form>
|
||||
|
||||
</div>
|
||||
</main>
|
||||
|
||||
|
||||
+20
-13
@@ -23,25 +23,32 @@
|
||||
include_once 'includes/navbar.php';
|
||||
?>
|
||||
|
||||
<main>
|
||||
<div style="width: 50%">
|
||||
<h1 style="width: 50%; text-align: center">Jetzt Registrieren!</h1><br>
|
||||
<main class="login-page">
|
||||
<div class="login-container">
|
||||
|
||||
<p style="width: 80%;"> Email:</p>
|
||||
<input type="email" name="email" style="width: 80%;" placeholder="mustermann@web.de" required>
|
||||
<p style="width: 80%;"> Vorname:</p>
|
||||
<input type="text" name="vorname" style="width: 80%;" placeholder="Max" required>
|
||||
<p style="width: 80%;"> Nachname:</p>
|
||||
<input type="text" name="nachname" style="width: 80%;" placeholder="Mustermann" required>
|
||||
<h1>Jetzt Registrieren!</h1>
|
||||
|
||||
<p style="width: 80%;"> Passwort:</p>
|
||||
<input type="password" name="password" style="width: 80%;" placeholder="Passwort" required>
|
||||
<div style="width: 80%;">
|
||||
<form>
|
||||
<p class="input-label">Email:</p>
|
||||
<input type="email" name="email" class="login-input" placeholder="mustermann@web.de" required>
|
||||
|
||||
<p class="input-label">Vorname:</p>
|
||||
<input type="text" name="vorname" class="login-input" placeholder="Max" required>
|
||||
|
||||
<p class="input-label">Nachname:</p>
|
||||
<input type="text" name="nachname" class="login-input" placeholder="Mustermann" required>
|
||||
|
||||
<p class="input-label">Passwort:</p>
|
||||
<input type="password" name="password" class="login-input" placeholder="Passwort" required>
|
||||
|
||||
<div class="checkbox-wrapper">
|
||||
<label>
|
||||
<input type="checkbox" value="remember-me"> angemeldet bleiben
|
||||
</label>
|
||||
</div>
|
||||
<button type="submit" value="anmelden" name="loginSubmit" style="width: 80%;">kostenlos registrieren</button>
|
||||
|
||||
<button type="submit" value="anmelden" name="loginSubmit" class="login-button">kostenlos registrieren</button>
|
||||
</form>
|
||||
</div>
|
||||
</main>
|
||||
<?php
|
||||
|
||||
Reference in New Issue
Block a user