From 90eaeca54d015a4744114655b72fb984e361e6a6 Mon Sep 17 00:00:00 2001 From: vista-man <524715@vistacollege.nl> Date: Thu, 3 Apr 2025 12:13:17 +0200 Subject: [PATCH] update QR scanner functionality and fix redirect in employee login --- employee-login.html | 2 +- index.html | 1 + qr-scanner.php | 51 +++++++++++++++++++++++++++++++++++++++++++-- 3 files changed, 51 insertions(+), 3 deletions(-) diff --git a/employee-login.html b/employee-login.html index f71df4d..1c8bf8f 100644 --- a/employee-login.html +++ b/employee-login.html @@ -35,7 +35,7 @@ if (username === 'admin' && password === 'password') { alert('Succesvol ingelogd!'); - window.location.href = 'qr-scanner.html'; + window.location.href = 'qr-scanner.php'; } else { alert('Ongeldige inloggegevens.'); } diff --git a/index.html b/index.html index 0476283..983932c 100644 --- a/index.html +++ b/index.html @@ -40,5 +40,6 @@ + \ No newline at end of file diff --git a/qr-scanner.php b/qr-scanner.php index 8cf8c2d..de6ecff 100644 --- a/qr-scanner.php +++ b/qr-scanner.php @@ -13,12 +13,59 @@ if (!isset($_SESSION['user_id'])) { QR Scanner +

QR Code Scanner

-

This page is under construction.

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