File size: 1,007 Bytes
9601181
 
 
 
 
44d0039
 
 
 
 
 
f63eacd
44d0039
 
 
 
 
 
 
 
 
9601181
 
44d0039
 
9601181
 
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>Welcome To Biryani Hub</title>
    <script type="text/javascript">
        // Get the table number from Flask
        var tableNumber = "{{ table_number }}";
        window.onload = function() {
            // Construct the logout redirect URL with table number
            let redirectURL = "https://orgfarm-1acf2d6988-dev-ed.develop.my.salesforce-sites.com/QRMenu";
            if (tableNumber) {
                redirectURL += "?table=" + encodeURIComponent(tableNumber);
            }
            // Open the new page with the table number
            window.open(redirectURL, "_blank");
            // Optionally, also redirect the current tab:
            // window.location.href = redirectURL;
        };
    </script>
</head>
<body>
    <h1>Welcome To Biryani Hub.</h1>
    <p>Please wait while we log in and redirect to you.</p>
</body>
</html>