Compare commits
30 Commits
| Author | SHA1 | Date | |
|---|---|---|---|
| 3f5313dd00 | |||
| f909d0453b | |||
| d5f4f2b8a5 | |||
| 87a8e9b7d2 | |||
| 729b0f08a1 | |||
| 2907bcdd67 | |||
| 65935c644b | |||
| 8645900035 | |||
| 49a8d49296 | |||
| bc1051e4a2 | |||
| d8f8fbbdd4 | |||
| baf3f88e1e | |||
| 480b6cd4ae | |||
| 29b588babb | |||
| a29e48efad | |||
| 84a9f7063a | |||
| 58f7be9d52 | |||
| d497ea4fc3 | |||
| 80316e080a | |||
| bf06df461d | |||
| 503df76d6b | |||
| 829d532518 | |||
| 33b0283758 | |||
| 6abc244be7 | |||
| 012e3b8b9b | |||
| 9375ab90b0 | |||
| 6198d7b9ae | |||
| 52bede8277 | |||
| b81216cef1 | |||
| 43f0c78b3d |
@@ -19,13 +19,12 @@
|
|||||||
|
|
||||||
|
|
||||||
<body>
|
<body>
|
||||||
|
<?php
|
||||||
|
include_once 'includes/navbar.php';
|
||||||
|
?>
|
||||||
|
|
||||||
<main>
|
<main>
|
||||||
|
|
||||||
<?php
|
|
||||||
include_once 'includes/navbar.php';
|
|
||||||
?>
|
|
||||||
|
|
||||||
<h1>404 - Seite nicht vorhanden</h1>
|
<h1>404 - Seite nicht vorhanden</h1>
|
||||||
<p>
|
<p>
|
||||||
Später im Projekt sollen über index.php?pfad= ... der Inhalt der index.php dynamisch gesetzt werden.
|
Später im Projekt sollen über index.php?pfad= ... der Inhalt der index.php dynamisch gesetzt werden.
|
||||||
|
|||||||
+23
-17
@@ -13,22 +13,28 @@
|
|||||||
sed diam voluptua. At vero eos et accusam et justo duo dolores et ea rebum. Stet clita kasd gubergren, no
|
sed diam voluptua. At vero eos et accusam et justo duo dolores et ea rebum. Stet clita kasd gubergren, no
|
||||||
sea takimata sanctus est Lorem ipsum dolor sit amet.
|
sea takimata sanctus est Lorem ipsum dolor sit amet.
|
||||||
</p>
|
</p>
|
||||||
<div>
|
|
||||||
<a href = "informatik.php" style = "padding: 5px; text-align: center; text-decoration: none; display: inline-block;"><b>Informatik</b></a> <br>
|
<!-- Flexbox -->
|
||||||
<div>
|
<div class="flexbox">
|
||||||
<a href="datenschutzVSdatensicherheit.php">Datenschutz vs. Datensicherheit</a>
|
<div class="container">
|
||||||
</div>
|
<a href="informatik.php" class="category-link">Informatik</a>
|
||||||
</div>
|
<div class="article-link">
|
||||||
<div>
|
<a href="datenschutzVSdatensicherheit.php">Datenschutz vs. Datensicherheit</a>
|
||||||
<a href = "mathe.php" style = "padding: 5px; text-align: center; text-decoration: none; display: inline-block;"><b>Mathe</b></a> <br>
|
</div>
|
||||||
<div>
|
</div>
|
||||||
<a href="pythagoras.php">Satz des Pythagoras</a>
|
|
||||||
</div>
|
<div class="container">
|
||||||
</div>
|
<a href="mathe.php" class="category-link">Mathe</a>
|
||||||
<div>
|
<div class="article-link">
|
||||||
<a href = "physik.php" style = "padding: 5px; text-align: center; text-decoration: none; display: inline-block;"><b>Physik</b></a>
|
<a href="pythagoras.php">Satz des Pythagoras</a>
|
||||||
<div>
|
</div>
|
||||||
<a href="tunneleffekt.php">Der Tunneleffekt</a>
|
</div>
|
||||||
</div>
|
|
||||||
|
<div class="container">
|
||||||
|
<a href="physik.php" class="category-link">Physik</a>
|
||||||
|
<div class="article-link">
|
||||||
|
<a href="tunneleffekt.php">Der Tunneleffekt</a>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
</div>
|
</div>
|
||||||
</main>
|
</main>
|
||||||
+203
-5
@@ -1,7 +1,205 @@
|
|||||||
body {
|
|
||||||
background-color: coral;
|
main {
|
||||||
|
max-width:1200px;
|
||||||
|
margin: 0 auto;
|
||||||
|
padding: 20px;
|
||||||
}
|
}
|
||||||
|
|
||||||
a, button, input, select, textarea, label{
|
body {
|
||||||
font-family: Arial, Helvetica, sans-serif;
|
background-color: #eef2f7;
|
||||||
}
|
color: #1f2937;
|
||||||
|
margin: 0;
|
||||||
|
}
|
||||||
|
|
||||||
|
a, button, input, select, textarea, label, main{
|
||||||
|
font-family: Arial, Helvetica, sans-serif;
|
||||||
|
}
|
||||||
|
|
||||||
|
.flexbox {
|
||||||
|
display: flex;
|
||||||
|
flex-direction: column;
|
||||||
|
gap: 20px;
|
||||||
|
margin-top: 30px;
|
||||||
|
}
|
||||||
|
|
||||||
|
.container {
|
||||||
|
background-color: white;
|
||||||
|
border-radius: 8px;
|
||||||
|
padding: 15px;
|
||||||
|
border: 1px solid #dbe3ec;
|
||||||
|
box-shadow: 0 4px 12px rgba(0,0,0,0.08);
|
||||||
|
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 {
|
||||||
|
display: block;
|
||||||
|
text-align: left;
|
||||||
|
text-decoration: none;
|
||||||
|
font-weight: bold;
|
||||||
|
padding: 12px;
|
||||||
|
background-color: #2563eb;
|
||||||
|
color: white;
|
||||||
|
border-radius: 8px;
|
||||||
|
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 {
|
||||||
|
color: #1f2937;
|
||||||
|
text-decoration: none;
|
||||||
|
font-weight: bold;
|
||||||
|
transition: color 0.2s;
|
||||||
|
}
|
||||||
|
|
||||||
|
.article-link a:hover {
|
||||||
|
color: #2563eb;
|
||||||
|
text-decoration: underline;
|
||||||
|
}
|
||||||
|
|
||||||
|
|
||||||
|
@media (min-width: 1024px) {
|
||||||
|
.container {
|
||||||
|
padding: 25px;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
/* Seite wird horizontal und vertikal zentriert */
|
||||||
|
.login-page {
|
||||||
|
display: flex;
|
||||||
|
justify-content: center;
|
||||||
|
align-items: center;
|
||||||
|
min-height: 80vh;
|
||||||
|
}
|
||||||
|
|
||||||
|
|
||||||
|
.login-container {
|
||||||
|
width: 90%;
|
||||||
|
max-width: 450px;
|
||||||
|
padding: 30px;
|
||||||
|
border: 1px solid #dbe3ec;
|
||||||
|
border-radius: 10px;
|
||||||
|
background-color: white;
|
||||||
|
box-shadow: 0 6px 20px rgba(0,0,0,0.1);
|
||||||
|
}
|
||||||
|
|
||||||
|
.logo-wrapper {
|
||||||
|
text-align: center;
|
||||||
|
margin-bottom: 20px;
|
||||||
|
}
|
||||||
|
|
||||||
|
.login-logo {
|
||||||
|
width: 120px;
|
||||||
|
height: auto;
|
||||||
|
}
|
||||||
|
|
||||||
|
.login-container h1 {
|
||||||
|
text-align: center;
|
||||||
|
margin-bottom: 25px;
|
||||||
|
font-size: 1.7rem;
|
||||||
|
color: #1e293b;
|
||||||
|
}
|
||||||
|
|
||||||
|
.input-label {
|
||||||
|
margin-bottom: 5px;
|
||||||
|
font-weight: bold;
|
||||||
|
width: 100%;
|
||||||
|
color: #1f2937;
|
||||||
|
}
|
||||||
|
|
||||||
|
.input-label {
|
||||||
|
margin-bottom: 5px;
|
||||||
|
font-weight: bold;
|
||||||
|
width: 100%;
|
||||||
|
color: #1f2937;
|
||||||
|
}
|
||||||
|
|
||||||
|
.login-input {
|
||||||
|
width: 100%;
|
||||||
|
padding: 12px;
|
||||||
|
margin-bottom: 20px;
|
||||||
|
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 {
|
||||||
|
margin-bottom: 20px;
|
||||||
|
color: #1f2937;
|
||||||
|
}
|
||||||
|
|
||||||
|
.login-button {
|
||||||
|
width: 100%;
|
||||||
|
padding: 12px;
|
||||||
|
background-color: #2563eb;
|
||||||
|
color: white;
|
||||||
|
border: none;
|
||||||
|
border-radius: 8px;
|
||||||
|
font-size: 1rem;
|
||||||
|
font-weight: bold;
|
||||||
|
cursor: pointer;
|
||||||
|
transition: background-color 0.2s, transform 0.2s, box-shadow 0.2s;
|
||||||
|
}
|
||||||
|
|
||||||
|
.login-button:hover {
|
||||||
|
background-color: #1d4ed8;
|
||||||
|
transform: translateY(-2px);
|
||||||
|
box-shadow: 0 4px 10px rgba(0,0,0,0.15);
|
||||||
|
}
|
||||||
|
|
||||||
|
.register-link {
|
||||||
|
margin-top: 20px;
|
||||||
|
text-align: center;
|
||||||
|
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 */
|
||||||
|
.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';
|
include_once 'includes/navbar.php';
|
||||||
?>
|
?>
|
||||||
|
|
||||||
<main>
|
<main class="login-page">
|
||||||
<div style="width: 50%">
|
<div class="login-container">
|
||||||
<h1 style="width: 60%; text-align: center">Bitte anmelden</h1><br>
|
|
||||||
|
<h1>Bitte anmelden</h1>
|
||||||
|
|
||||||
<label id="inputEmail" >E-Mail-Adresse / </label>
|
<form>
|
||||||
<p style="width: 80%;">Benutzername/E-Mail-Adresse:</p>
|
<label id ="inputEmail" class="screenreader-only">E-Mail Adresse / </label>
|
||||||
<input type="email" name="email" style="width: 80%;" placeholder="E-Mail-Adresse" required autofocus>
|
|
||||||
<p style="width: 80%;">Passwort:</p>
|
<p class="input-label">Benutzername/E-Mail-Adresse:</p>
|
||||||
<input type="password" name="password" style="width: 80%;" placeholder="Passwort" required>
|
<input type="email" name="email" class="login-input" placeholder="E-Mail-Adresse" required autofocus>
|
||||||
<div style="width: 80%;">
|
|
||||||
<label>
|
<p class="input-label">Passwort:</p>
|
||||||
<input type="checkbox" name="remember-me" value="1"> angemeldet bleiben
|
<input type="password" name="password" class="login-input" placeholder="Passwort" required>
|
||||||
</label>
|
|
||||||
</div>
|
<div class="checkbox-wrapper">
|
||||||
<button type="submit" value="anmelden" name="loginSubmit" style="width: 80%;">anmelden</button><br>
|
<label>
|
||||||
<div style="width: 70%; text-align: center">
|
<input type="checkbox" name="remember-me" value="1"> angemeldet bleiben
|
||||||
<a href="register.php" style="text-align: center;"> Noch keinen Account? Jetzt hier registrieren! </a>
|
</label>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
|
<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>
|
</div>
|
||||||
</main>
|
</main>
|
||||||
|
|
||||||
<?php
|
<?php
|
||||||
include_once 'includes/footer.php';
|
include_once 'includes/footer.php';
|
||||||
?>
|
?>
|
||||||
|
|||||||
+38
-28
@@ -23,35 +23,45 @@
|
|||||||
include_once 'includes/navbar.php';
|
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">
|
||||||
|
|
||||||
|
<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>
|
|
||||||
</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>
|
|
||||||
</div>
|
</div>
|
||||||
</main>
|
</main>
|
||||||
|
|
||||||
|
|||||||
+25
-18
@@ -23,27 +23,34 @@
|
|||||||
include_once 'includes/navbar.php';
|
include_once 'includes/navbar.php';
|
||||||
?>
|
?>
|
||||||
|
|
||||||
<main>
|
<main class="login-page">
|
||||||
<div style="width: 50%">
|
<div class="login-container">
|
||||||
<h1 style="width: 50%; text-align: center">Jetzt Registrieren!</h1><br>
|
|
||||||
|
|
||||||
<p style="width: 80%;"> Email:</p>
|
<h1>Jetzt Registrieren!</h1>
|
||||||
<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>
|
|
||||||
|
|
||||||
<p style="width: 80%;"> Passwort:</p>
|
<form>
|
||||||
<input type="password" name="password" style="width: 80%;" placeholder="Passwort" required>
|
<p class="input-label">Email:</p>
|
||||||
<div style="width: 80%;">
|
<input type="email" name="email" class="login-input" placeholder="mustermann@web.de" required>
|
||||||
<label>
|
|
||||||
<input type="checkbox" value="remember-me"> angemeldet bleiben
|
<p class="input-label">Vorname:</p>
|
||||||
</label>
|
<input type="text" name="vorname" class="login-input" placeholder="Max" required>
|
||||||
</div>
|
|
||||||
<button type="submit" value="anmelden" name="loginSubmit" style="width: 80%;">kostenlos registrieren</button>
|
<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" class="login-button">kostenlos registrieren</button>
|
||||||
|
</form>
|
||||||
</div>
|
</div>
|
||||||
</main>
|
</main>
|
||||||
<?php
|
<?php
|
||||||
include_once 'includes/footer.php';
|
include_once 'includes/footer.php';
|
||||||
?>
|
?>
|
||||||
|
|||||||
Reference in New Issue
Block a user