mirror of
https://github.com/Alvin-Zilverstand/school.git
synced 2026-03-07 05:52:46 +01:00
:3
This commit is contained in:
31
projects/challenge 7/Schoolkantine/website/betalen.html
Normal file
31
projects/challenge 7/Schoolkantine/website/betalen.html
Normal file
@@ -0,0 +1,31 @@
|
||||
<!DOCTYPE html>
|
||||
<html lang="nl">
|
||||
|
||||
<head>
|
||||
<meta charset="UTF-8">
|
||||
<meta name="viewport" content="width=device-width, initial-scale=1.0">
|
||||
<title>Betaalpagina Mees</title>
|
||||
<link rel="icon" href="media/favicon.ico" type="image/x-icon">
|
||||
<link rel="stylesheet" href="betaal.css">
|
||||
</head>
|
||||
|
||||
<script>
|
||||
window.onload = function() {
|
||||
const urlParams = new URLSearchParams(window.location.search);
|
||||
const orderNumber = urlParams.get('order_number');
|
||||
if (orderNumber) {
|
||||
document.getElementById("order-number").innerText = `Uw Bestellings nummer = ${orderNumber}`;
|
||||
} else {
|
||||
document.getElementById("order-number").innerText = "Uw Bestellings nummer kon niet worden opgehaald.";
|
||||
}
|
||||
}
|
||||
</script>
|
||||
|
||||
<body>
|
||||
<h1>Bedankt voor uw bestelling!</h1>
|
||||
<p>Uw bestelling is succesvol geplaatst. U kunt dit tabblad nu sluiten.</p>
|
||||
<button onclick="window.close()">Sluit dit tabblad</button>
|
||||
<h1 id="order-number">Uw Bestellings nummer = </h1>
|
||||
</body>
|
||||
|
||||
</html>
|
||||
Reference in New Issue
Block a user