Refactor HTML and CSS file structure: update stylesheet paths, add new scripts, and enhance login functionality

This commit is contained in:
vista-man
2025-04-10 17:00:57 +02:00
parent 7c2d11591f
commit 15ce96681f
15 changed files with 66 additions and 43 deletions

View File

@@ -31,4 +31,20 @@ function toggleVideo() {
} else {
video.pause();
}
}
}
document.getElementById('loginForm').addEventListener('submit', function (e) {
e.preventDefault();
const username = document.getElementById('username').value;
const password = document.getElementById('password').value;
if (username === 'admin' && password === 'password') {
alert('Succesvol ingelogd!');
window.location.href = '../qr/qr.html';
} else {
alert('Ongeldige inloggegevens.');
}
});