-
Notifications
You must be signed in to change notification settings - Fork 2
/
Copy pathsuccess.html
66 lines (62 loc) · 1.85 KB
/
success.html
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
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>Rail Booking Confirmation</title>
<style>
body {
margin: 0;
padding: 0;
overflow: hidden;
font-family: Arial, sans-serif;
background-image: url("images/success.gif");
background-repeat: no-repeat;
background-position: center;
background-attachment: fixed;
background-size: cover;
}
.loader-container {
position: fixed;
top: 0;
left: 0;
width: 100%;
height: 100%;
background: #3199da;
display: flex;
justify-content: center;
align-items: center;
}
.message {
display: none;
text-align: center;
padding: 20px;
background-color: #fff;
border-radius: 5px;
box-shadow: 0px 0px 10px rgba(0, 0, 0, 0.2);
position: absolute;
top: 50%;
left: 50%;
transform: translate(-50%, -50%);
}
</style>
</head>
<body>
<div class="loader-container">
<div class="loader">
<img src="images/loader.gif" alt="Loader" height="1000%">
</div>
</div>
<div class="message" id="message">
<h3>Congratulations! Your Train booking is successful 🎉🚂. </h3>
<h2>Safe travels! 🌍😊</h2>
<a href="view_ticket.html"><button>View your ticket</button></a>
</div>
<script>
setTimeout(function() {
document.querySelector('.loader-container').style.display = 'none';
document.querySelector('#message').style.display = 'block';
}, 5000);
</script>
</body>
</html>