From cc4bc791c99b3204676b9e6155507266072dc12b Mon Sep 17 00:00:00 2001 From: pbbfa23cse Date: Mon, 7 Jul 2025 09:08:39 +0200 Subject: [PATCH] added showTickets.phtml and added the TicketsController. --- CSS/style.css | 27 +++++++++++++++++++++++++ Controller/LoginController.php | 6 ++++-- Controller/ProfileController.php | 10 +++++++++ Controller/TicketsController.php | 2 +- Views/Login/showLoginPage.phtml | 4 ++-- Views/Login/showPasswortVergessen.phtml | 0 Views/Register/showRegisterPage.phtml | 2 +- Views/Tickets/showTickets.phtml | 8 ++++++++ Views/header.phtml | 4 ++-- 9 files changed, 55 insertions(+), 8 deletions(-) create mode 100644 Controller/ProfileController.php create mode 100644 Views/Login/showPasswortVergessen.phtml diff --git a/CSS/style.css b/CSS/style.css index b62761d..c3efcb2 100644 --- a/CSS/style.css +++ b/CSS/style.css @@ -164,6 +164,20 @@ a { box-sizing: border-box; } +.tickets-container { + position: absolute; + top: 200px; + background-color: #BAC8D4; + width: 900px; + height: 450px; + border-radius: 10px; + display: flex; + flex-direction: column; + align-items: center; + justify-content: center; + box-sizing: border-box; +} + @media (max-width: 600px) { body { font-size: 14px; @@ -283,10 +297,23 @@ a { padding: 16px 8px; box-sizing: border-box; } + .tickets-container { + position: static; + width: 95vw; + max-width: 400px; + height: auto; + margin: 24px auto; + padding: 16px 8px; + box-sizing: border-box; + } .login-container h1 { font-size: 1.5em; text-align: center; } + .tickets-container h1 { + font-size: 1.5em; + text-align: center; + } .login-container form, .login-container label, .login-container input { diff --git a/Controller/LoginController.php b/Controller/LoginController.php index 7cd4e0a..6540e35 100644 --- a/Controller/LoginController.php +++ b/Controller/LoginController.php @@ -2,8 +2,10 @@ namespace Blog\Controller; class LoginController { - function showLoginPage() - { + function showLoginPage(){ + + } + function showPasswortVergessen(){ } } diff --git a/Controller/ProfileController.php b/Controller/ProfileController.php new file mode 100644 index 0000000..24d8a34 --- /dev/null +++ b/Controller/ProfileController.php @@ -0,0 +1,10 @@ + - Passwort vergessen? - Konto erstellen + Passwort vergessen? + Konto erstellen diff --git a/Views/Login/showPasswortVergessen.phtml b/Views/Login/showPasswortVergessen.phtml new file mode 100644 index 0000000..e69de29 diff --git a/Views/Register/showRegisterPage.phtml b/Views/Register/showRegisterPage.phtml index d95133d..f48f4fc 100644 --- a/Views/Register/showRegisterPage.phtml +++ b/Views/Register/showRegisterPage.phtml @@ -57,7 +57,7 @@ - Login + Login diff --git a/Views/Tickets/showTickets.phtml b/Views/Tickets/showTickets.phtml index e69de29..0fd6a6e 100644 --- a/Views/Tickets/showTickets.phtml +++ b/Views/Tickets/showTickets.phtml @@ -0,0 +1,8 @@ +
+
+

Tickets

+
+ +
+
+
\ No newline at end of file diff --git a/Views/header.phtml b/Views/header.phtml index 39136cd..7c63c0d 100644 --- a/Views/header.phtml +++ b/Views/header.phtml @@ -12,9 +12,9 @@