From f03c4d7814d61ee89567f3d69161b07b5c6bcf33 Mon Sep 17 00:00:00 2001 From: sraffauf Date: Wed, 21 Jan 2026 17:00:44 +0100 Subject: [PATCH] Added new index.html Moved index to ticket_submit and created index for password prompt --- .gitignore | 1 + backend/save_ticket.php | 4 ++-- index.html | 46 ----------------------------------------- ticket_submit.html | 46 +++++++++++++++++++++++++++++++++++++++++ 4 files changed, 49 insertions(+), 48 deletions(-) create mode 100644 .gitignore create mode 100644 ticket_submit.html diff --git a/.gitignore b/.gitignore new file mode 100644 index 0000000..8b13789 --- /dev/null +++ b/.gitignore @@ -0,0 +1 @@ + diff --git a/backend/save_ticket.php b/backend/save_ticket.php index 9bf8b1a..69c1023 100644 --- a/backend/save_ticket.php +++ b/backend/save_ticket.php @@ -36,5 +36,5 @@ $tickets[] = $newTicket; file_put_contents($ticketsPath, json_encode($tickets, JSON_PRETTY_PRINT | JSON_UNESCAPED_UNICODE), LOCK_EX); // Redirect zurück ins Dashboard oder zur Hauptseite -header('Location: ../index.html?success=1'); -exit; \ No newline at end of file +header('Location: ../ticket_submit.html?success=1'); +exit; diff --git a/index.html b/index.html index 47dedfe..e69de29 100644 --- a/index.html +++ b/index.html @@ -1,46 +0,0 @@ - - - - - - Schul-IT Ticketsystem - - - -
-
-

CSG IT Ticket System

- -
- -
- - - - - - - - - - - - - - - - - - -
-
- - \ No newline at end of file diff --git a/ticket_submit.html b/ticket_submit.html new file mode 100644 index 0000000..47dedfe --- /dev/null +++ b/ticket_submit.html @@ -0,0 +1,46 @@ + + + + + + Schul-IT Ticketsystem + + + +
+
+

CSG IT Ticket System

+ +
+ +
+ + + + + + + + + + + + + + + + + + +
+
+ + \ No newline at end of file