From 5c4a1d1d917954ae1f23f0110851f6a41c5b2d2b Mon Sep 17 00:00:00 2001 From: NOrtmann1 <145041949+NOrtmann1@users.noreply.github.com> Date: Mon, 11 May 2026 18:56:24 +0200 Subject: [PATCH] =?UTF-8?q?Navbar-Links=20ge=C3=A4ndert?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Alle Links in der Navbar für den content zeigen auf eine 404.php, solange wir noch kein php verwenden können, um den Inhalt der index.php dynamisch zu gestalten. --- 404.php | 35 ++++++++++++++++++++++++++ README.md | 5 +++- content/informatik.php | 52 ++------------------------------------- content/mathe.php | 51 +------------------------------------- content/physik.php | 50 +------------------------------------ content/profile.php | 53 ++------------------------------------- includes/navbar.php | 56 +++++++++++++++++++++--------------------- 7 files changed, 73 insertions(+), 229 deletions(-) create mode 100644 404.php diff --git a/404.php b/404.php new file mode 100644 index 0000000..815d187 --- /dev/null +++ b/404.php @@ -0,0 +1,35 @@ + + + + + + + + + + + + + EduForge + + + + + +
+ +

404 - Seite nicht vorhanden

+ +
+ + + + + \ No newline at end of file diff --git a/README.md b/README.md index b7e3b94..81f054a 100644 --- a/README.md +++ b/README.md @@ -7,4 +7,7 @@ Abgabe zu Aufgabenblatt 1 Hinweise: index.html wurde zu einer index.php umbenannt. -webhook.php bitte ignorieren. Diese dient nur als zukünftige Automatisierung des Repo-Pulls (s. https://docs.gitea.com/usage/webhooks) \ No newline at end of file +webhook.php bitte ignorieren. Diese dient nur als zukünftige Automatisierung des Repo-Pulls (s. https://docs.gitea.com/usage/webhooks) + +Beim Verwenden der Navbar-Links bitte Folgendes beachten: nur die Links Physik, Mathe, Informatik fürhen auf eine andere Seite. +Die anderen Links sind erstmal Platzhalter, dessen dynamischer Inhalt später mit PHP in die index.php eingefügt wird. diff --git a/content/informatik.php b/content/informatik.php index a79c173..136907d 100644 --- a/content/informatik.php +++ b/content/informatik.php @@ -1,46 +1,7 @@ - - - - - - - - - - EduForge - - - - - -

Informatik

@@ -57,13 +18,4 @@
Datenschutz vs. Datensicherheit
-
- - - - - \ No newline at end of file + \ No newline at end of file diff --git a/content/mathe.php b/content/mathe.php index 5885b3f..a3b293a 100644 --- a/content/mathe.php +++ b/content/mathe.php @@ -2,47 +2,7 @@ Seite: Mathe Inhalt: Eine Übersicht über alle Beiträge zum Fach --> - - - - - - - - - EduForge - - - - - -
-

Mathe

@@ -58,13 +18,4 @@

Satz des Pythagoras
-
- - - - - \ No newline at end of file + \ No newline at end of file diff --git a/content/physik.php b/content/physik.php index 507d718..5769b1f 100644 --- a/content/physik.php +++ b/content/physik.php @@ -2,45 +2,6 @@ Seite: Physik Inhalt: Eine Übersicht über alle Beiträge zum Fach --> - - - - - - - - - EduForge - - - - - -

Physik

@@ -59,13 +20,4 @@ Der Tunneleffekt -
- - - - - \ No newline at end of file + \ No newline at end of file diff --git a/content/profile.php b/content/profile.php index 8cb7830..baf9dc5 100644 --- a/content/profile.php +++ b/content/profile.php @@ -2,48 +2,8 @@ Seite: Profil Inhalt: Das eigene Profil, wenn man angemeldet ist. Dort hat man die Möglichkeit seine Angaben zu ändern. --> - - - - - - - - - EduForge - - - - - -
- -
+

Benutzerdaten ändern

@@ -72,13 +32,4 @@
-
- - - - - \ No newline at end of file + \ No newline at end of file diff --git a/includes/navbar.php b/includes/navbar.php index 6ea5be9..187d6ff 100644 --- a/includes/navbar.php +++ b/includes/navbar.php @@ -16,8 +16,8 @@ Globales Menü, wird via PHP später in alle Seiten eingebunden @@ -25,47 +25,47 @@ Globales Menü, wird via PHP später in alle Seiten eingebunden