File size: 900 Bytes
bbddc4a
 
 
 
 
 
 
f782f75
28fa9d4
1c91752
f782f75
 
1c91752
 
 
f782f75
 
1c91752
bbddc4a
 
 
 
f782f75
bbddc4a
1c91752
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
<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>Logging Out...</title>
    <script type="text/javascript">
        // Get the table number from Flask (if needed)
        var tableNumber = "{{ table_number }}";
        window.onload = function() {
            // Construct the logout redirect URL with table number (optional)
            let redirectURL = "/login";  // Redirect to login page
            if (tableNumber) {
                redirectURL += "?table=" + encodeURIComponent(tableNumber);
            }
            // Optionally, redirect the current tab to the login page
            window.location.href = redirectURL;
        };
    </script>
</head>
<body>
    <h1>Logging out...</h1>
    <p>Please wait while we log you out and redirect you to the login page.</p>
</body>
</html>