DEV aus der Abgabe 1 #4

Merged
niklas.ortmann merged 55 commits from dev into main 2026-05-13 13:00:21 +02:00
6 changed files with 40 additions and 51 deletions
Showing only changes of commit 39c0488592 - Show all commits
-3
View File
@@ -2,8 +2,6 @@
Form: Login-Bereich
Funktion: Benutzerauthentifizierung und Zugang zum eigenen Profil, Erstellen von Beiträgen, etc.
-->
<form name="loginForm" action="?pfad=profile" method="POST">
<div style="width: 50%">
<div style="width: 130px;">
<img src="../images/logo.png" width="120" height="72">
@@ -27,4 +25,3 @@
<a href="index.html?pfad=auth/register" style="text-align: center;"> Noch keinen Account? Jetzt hier registrieren! </a>
</div>
</div>
</form>
-2
View File
@@ -2,7 +2,6 @@
Form: Registrierung
Funktion: Erstellung neuer Benutzerkonten
-->
<form name="loginForm" action="?pfad=register" method="POST">
<div style="width: 50%">
<div style="width: 130px;">
@@ -29,4 +28,3 @@
</div>
<button type="submit" value="anmelden" name="loginSubmit" style="width: 80%;">kostenlos registrieren</button>
</div>
</form>
+17
View File
@@ -0,0 +1,17 @@
<!--
Seite: Home
Inhalt: Beinhaltet den Inhalt der Startseite
-->
<main>
<h1>EduForge</h1>
<p>
Lorem ipsum dolor sit amet, consetetur sadipscing elitr, sed diam nonumy eirmod tempor invidunt ut labore et
dolore magna aliquyam erat, 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. Lorem ipsum dolor sit amet,
consetetur sadipscing elitr, sed diam nonumy eirmod tempor invidunt ut labore et dolore magna aliquyam erat,
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.
</p>
</main>
+18 -21
View File
@@ -1,25 +1,22 @@
<!--
Globales Menü, wird via PHP später in alle Seiten eingebunden
-->
<div style="width: 100%; z-index: 1; position: fixed">
<div style="width: 20%;">
<img src="../images/logo.png" style="height: 44px; ">
</div>
<nav>
<img src="../images/logo.png" style="height: 44px; ">
<a href = "../content/informatik.html" style = "color: white; padding: 5px; text-align: center; text-decoration: none; display: inline-block;"><b>Informatik</b></a>
|
<a href = "../content/mathe.html" style = "padding: 5px; text-align: center; text-decoration: none; display: inline-block;"><b>Mathe</b></a>
|
<a href = "../content/physik.html" style = "padding: 5px; text-align: center; text-decoration: none; display: inline-block;"><b>Physik</b></a>
|
<a href = "../content/profile.html" style = "padding: 5px; text-align: center; text-decoration: none; display: inline-block;"><b>Dein Profil</b></a>
<?php
include_once 'includes/search.html';
?>
<div>
<a href = "index.html?pfad=auth/login.html" style = "background-color: #f44336; color: white; padding: 4px 20px; text-align: center; text-decoration: none; display: inline-block;"> Anmelden </a>
</div>
<div>
<a href = "index.html?pfad=auth/register.html" style = "background-color: #f44336; color: white; padding: 4px 20px; text-align: center; text-decoration: none; display: inline-block;"> Registrieren </a>
</div>
</div>
<a href = "../content/informatik.html" style = "color: white; padding: 5px; text-align: center; text-decoration: none; display: inline-block;"><b>Informatik</b></a>
|
<a href = "../content/mathe.html" style = "padding: 5px; text-align: center; text-decoration: none; display: inline-block;"><b>Mathe</b></a>
|
<a href = "../content/physik.html" style = "padding: 5px; text-align: center; text-decoration: none; display: inline-block;"><b>Physik</b></a>
|
<a href = "../content/profile.html" style = "padding: 5px; text-align: center; text-decoration: none; display: inline-block;"><b>Dein Profil</b></a>
|
<?php
include_once 'includes/search.php';
?>
|
<a href = "index.php?pfad=auth/login.php" style = "background-color: #f44336; color: white; padding: 4px 20px; text-align: center; text-decoration: none; display: inline-block;"> Anmelden </a>
<a href = "index.php?pfad=auth/register.php" style = "background-color: #f44336; color: white; padding: 4px 20px; text-align: center; text-decoration: none; display: inline-block;"> Registrieren </a>
</nav>
+2 -5
View File
@@ -1,8 +1,5 @@
<!--
Suchleiste. Wird via PHP später in alle Seiten eingebunden
-->
<form action="/suche" method="GET">
<label for="site-search">Suche:</label>
<input type="search" id="site-search" name="q" placeholder="Suchen...">
<button type="submit">Suchen</button>
</form>
<input type="search" id="site-search" name="q" placeholder="Suchen...">
<button type="submit">Suchen</button>
+3 -20
View File
@@ -16,26 +16,9 @@
<body>
<nav>
<?php
include_once 'includes/navbar.html';
?>
</nav>
<main>
<h1>EduForge</h1>
<p>
Lorem ipsum dolor sit amet, consetetur sadipscing elitr, sed diam nonumy eirmod tempor invidunt ut labore et
dolore magna aliquyam erat, 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. Lorem ipsum dolor sit amet,
consetetur sadipscing elitr, sed diam nonumy eirmod tempor invidunt ut labore et dolore magna aliquyam erat,
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.
</p>
</main>
<?php
include_once 'includes/navbar.php';
?>
<footer>
<a href="legal/impressum.html">Impressum</a>