-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathrm.html
150 lines (144 loc) · 6.21 KB
/
rm.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
145
146
147
148
149
150
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>Document</title>
<link rel="stylesheet" href="rm.css">
<link href="https://fonts.googleapis.com/css2?family=Alexandria&family=Kanit:wght@300&family=Oswald&family=Poppins:wght@300&display=swap" rel="stylesheet">
</head>
<body>
<div id="top">
<a href="homeScreen.html"><img src="imgs/cb.png" id="logo"></a>
<h1 id="title">Reservation Management</h1>
</div>
<div id="controls">
<button id="ar" onclick=showPop() >Add Reservation</button>
<input id="si" type="number">
<button id="search" onclick=searchD()>search</button>
</div>
<div id="tab">
<div id="tabd">
<h1 id="nd">no data</h1>
<table id="tabm">
<tr id="sh1">
<th>ReservatioID</th>
<th>CarName</th>
<th>CarID</th>
<th>FirstName</th>
<th>LastName</th>
<th>From(Date)</th>
<th>To(Date)</th>
<th>DepartureLocation</th>
<th>ChildPassenger</th>
<th>IsReturn</th>
<th>ReturnLocation</th>
<th>ReturnDate</th>
</tr>
</table>
<table id="tabs">
<tr id="sh">
<th class="sm">ReservationID</th>
<th class="sm">CarName</th>
<th class="sm">CarID</th>
<th class="sm">FirstName</th>
<th class="sm">LastName</th>
<th class="sm">From(Date)</th>
<th class="sm">To(Date)</th>
<th class="sm">DepartureLocation</th>
<th class="sm">ChildPassenger</th>
<th class="sm">IsReturn</th>
<th class="sm">ReturnLocation</th>
<th class="sm">ReturnDate</th>
</tr>
</table>
<p id="ndf"><span id="ndf1">No Data Found</span></p>
</div>
<div id="pop">
<table id="popt">
<a href="rm.html"><button class="btn1" id="btn11" onclick=cancelPop() >x</button></a>
<tr>
<td><label>Reservation ID<span class="star">*</span></label></td>
<td class="ti" ><input id="ri" required type="number"></td>
</tr>
<tr>
<td><label>Car Name<span class="star">*</span></label></td>
<td class="ti" ><input id="cn" type="text"></td>
</tr>
<tr>
<td><label>Car ID<span class="star">*</span></label></td>
<td class="ti" ><input id="ci" type="number"></td>
</tr>
<tr>
<td><label>First Name<span class="star">*</span></label></td>
<td class="ti" ><input id="fn" type="text"></td>
</tr>
<tr>
<td><label>Last Name<span class="star">*</span></label></td>
<td class="ti" ><input id="ln" type="text"></td>
</tr>
<tr>
<td><label>From(date)<span class="star">*</span></label></td>
<td class="ti" ><input id="fd" type="date"></td>
</tr>
<tr>
<td><label>To(date)<span class="star">*</span></label></td>
<td class="ti" ><input id="td" type="date"></td>
</tr>
<tr>
<td><label>Departure location</label></td>
<td class="ti" >
<select id="dl" name="dlocs">
<option></option>
<option>Mumbai</option>
<option>Chennai</option>
<option>Hyderabad</option>
</select>
</td>
</tr>
<tr>
<td><label>Child Passenger</label></td>
<td class="ti" ><input id="cp" type="checkbox"> </td>
</tr>
<tr>
<td><label>IsReturn</label></td>
<td class="ti" ><label>yes</label><input id="ir1" onclick=ret() value="y" name="r" type="radio"><label>no</label><input id="ir2" value="n" onclick=retd() name="r" type="radio"></td>
</tr>
<tr class="of">
<td><label>Return location</label></td>
<td class="ti">
<select id="rl" name="locs">
<option></option>
<option>TX</option>
<option>LA</option>
<option>Bangaluru</option>
<option>Mysuru</option>
<option>Berlin</option>
<option id="us" >United States</option>
</select>
</td>
</tr>
<tr class="of">
<td><label>Return date</label></td>
<td class="ti" ><input id="rd" type="date"></td>
</tr>
</table>
<div id="sc">
<button class="b" id="sub1" type="submit" ><a href="rm.html">Save</a></button>
<button class="b" onclick=cancelPop()><a href="rm.html">Cancel</a></button>
</div>
</div>
<div id="deletPop">
<button id="delcancel"><a href="rm.html" id="cx">x</a></button>
<h3 id="delcon">confirm delete ?</h3>
<button id="delok"><a href="rm.html" id="dok">OK</a></button>
</div>
<div id="errPop">
<h3 id="erm">err msg</h3>
<button id="okb" onclick="closeErpop()">ok</button>
</div>
</div>
<script src="rm.js"></script>
</body>
</html>