-
Notifications
You must be signed in to change notification settings - Fork 1
/
trainseatavailability.html
144 lines (130 loc) · 4.1 KB
/
trainseatavailability.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
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
<!DOCTYPE html>
<html>
<head>
<style type="text/css">
.card {
background-color: orange;
height: 30px;
width: 20%;
margin-right: 750px;
padding-top: 3px;
/* Add shadows to create the "card" effect */
box-shadow: 0 4px 8px 0 rgba(0, 0, 0, 0.5);
transition: 0.3s;
}
/* On mouse-over, add a deeper shadow */
.card:hover {
box-shadow: 0 8px 16px 0 rgba(0, 0, 0, 0.5);
}
.cardone {
background-color: orange;
height: 30px;
width: 20%;
margin-left: -8px;
padding-top: 3px;
margin-top: -33px;
/* Add shadows to create the "card" effect */
box-shadow: 0 4px 8px 0 rgba(0, 0, 0, 0.5);
transition: 0.3s;
}
/* On mouse-over, add a deeper shadow */
.cardone:hover {
box-shadow: 0 8px 16px 0 rgba(0, 0, 0, 0.5);
}
.cardtwo {
background-color: orange;
height: 30px;
width: 20%;
margin-left: 700px;
padding-top: 3px;
margin-top: -33px;
/* Add shadows to create the "card" effect */
box-shadow: 0 4px 8px 0 rgba(0, 0, 0, 0.5);
transition: 0.3s;
}
/* On mouse-over, add a deeper shadow */
.cardtwo:hover {
box-shadow: 0 8px 16px 0 rgba(0, 0, 0, 0.5);
}
table,
tr,
th,
td {
border: 1px solid black;
}
</style>
<title></title>
</head>
<body style="background-image:url(trainavail.jpg);background-size: cover;">
<center>
<div
style="height: 600px;border-radius: 5px;width: 80%;opacity: 0.8;background-color: white;margin-top: 60px;align-self: center;padding-top: 20px;">
<p style="font-size: 50px;text-align: center;margin-top: 30px;color: black;">Train Name</p>
<div class="card">
<p style="font-size: 20px;color: black;margin-right: 60px;margin-top: 2px;">Train Number:</p>
<p style="font-size: 20px;color: black;margin-top: -41px;margin-left: 105px;">18024</p>
</div>
<div class="cardone">
<p style="font-size: 20px;color: black;margin-right: 65px;margin-top: 2px;">Source:</p>
<p style="font-size: 20px;color: black;margin-top: -41px;margin-left: 52px;">Dewas</p>
</div>
<div class="cardtwo">
<p style="font-size: 20px;color: black;margin-right: 60px;margin-top: 2px;">Destination:</p>
<p style="font-size: 20px;color: black;margin-top: -41px;margin-left: 85px;">Delhi</p>
</div>
<center>
<p style="font-size: 30px;color: #1261A0;">Availability Chart</p>
</center>
<table style="height: 40px;width: 90%;margin-top: 30px;">
<tr style="font-size: 22px;">
<th style="width: 20px;">Sr No.</th>
<th>Coach</th>
<th>Available</th>
<th>Waiting</th>
<th>RAC</th>
</tr>
<tr style="height: 15px;font-size: 18px;text-align: center;">
<td>1.</td>
<td>General</td>
<td>23</td>
<td>45</td>
<td>40</td>
</tr>
<tr style="height: 15px;font-size: 18px;text-align: center;">
<td>2.</td>
<td>Sleeper</td>
<td>23</td>
<td>45</td>
<td>40</td>
</tr>
<tr style="height: 15px;font-size: 18px;text-align: center;">
<td>3.</td>
<td>AC 3 TIER</td>
<td>23</td>
<td>45</td>
<td>40</td>
</tr>
<tr style="height: 15px;font-size: 18px;text-align: center;">
<td>4.</td>
<td>AC 2 TIER</td>
<td>23</td>
<td>45</td>
<td>40</td>
</tr>
</table>
<select
style="border-radius: 5px;width: 20%;height: 40px;background-color: #1261A0;opacity: 0.8;color: black;font-size: 20px; margin-right: 165px;margin-left: 200px;margin-top: 60px;color: black;"
id="myList" required>
<option style="color: black;font-size: 15px;" value="From" disabled selected>Coach</option>
<option style="color: black;font-size: 15px;" value="1">General</option>
<option style="color: black;font-size: 15px;" value="2">Sleeper</option>
<option style="color: black;font-size: 15px;" value="3">AC 3 TIER</option>
<option style="color: black;font-size: 15px;" value="4">AC 2 TIER</option>
</select>
<input type="button" name="book tickets" value="Book Tickets"
style="border-radius: 5px;width: 20%;height: 40px;background-color: #1261A0;opacity: 0.8;font-size: 20px; margin-top: -40px;margin-right: 200px;color: black;"
onclick="">
</div>
</center>
</body>
</html>