-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathupdate_bus_schedule.php
More file actions
197 lines (184 loc) · 7.88 KB
/
Copy pathupdate_bus_schedule.php
File metadata and controls
197 lines (184 loc) · 7.88 KB
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
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
<!DOCTYPE html>
<head>
<title>Update Bus Schedule</title>
<link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/bootstrap@4.0.0/dist/css/bootstrap.min.css"
integrity="sha384-Gn5384xqQ1aoWXA+058RXPxPg6fy4IWvTNh0E263XmFcJlSAwiGgFAW/dAiS6JXm" crossorigin="anonymous">
</head>
<style>
.errorMsg{
color: rgb(223, 180, 180);
margin-bottom: 10px;
display:none;
}
</style>
<body class="p-3 mb-2 bg-dark text-white">
<h1 class="d-flex justify-content-center">University Bus Management System</h1>
<h2 class="d-flex justify-content-center pb-4 pt-2">Update Bus Schedule</h2>
<form>
<!-- ROW-1 Search by bus number -->
<div class="form-group row pt-4 mb-0 ">
<div class="col-lg-1 pt-0">
<!-- empty div to add space to left and right of col-2-->
</div>
<!-- setting mb-0 to remove space b/w rows to make admin session block-->
<div class="col-lg-2 ">
<h1>Admin</h1>
</div>
<div class="col-lg-1 pt-0">
<!-- empty div to add space b/w col-2 and col-4-->
</div>
<div class="col-lg-2 pl-4">
<!-- pd to separate col-2 from under row AND pl to push col-2 to right-->
<label for="d_time">Departure time</label>
</div>
<div class="col-lg-2 pl-0 ">
<input type="time" class="form-control" id="time" name="d_time" placeholder="Time" required>
</div>
<div class="col-lg-2 pt-0">
<!-- empty div ... Can be used to add ads-->
</div>
</div>
<!--ROW-2 Search by bus Timing -->
<div class="form-group row mb-0 ">
<!-- setting mb-0 to remove space b/w rows to make admin session block-->
<div class="col-lg-1 pt-0">
<!-- empty div to add space to left and right of col-2-->
</div>
<div class="col-lg-2 ">
<a href="./add_bus_s.html" class="link-warning">Add Bus Schedule</a>
</div>
<div class="col-lg-1 pt-0">
<!-- empty div to add space b/w col-2 and col-4-->
</div>
<div class="col-lg-2 pl-4">
<!-- pd to separate col-2 from under row AND pl to push col-2 to right-->
<label for="destination"> Final Destination</label>
</div>
<div class="col-lg-2 pl-0 pb-3 ">
<input type="text" class="form-control" id="destination" name="destination"
placeholder="Final Destination">
<span class="errorMsg" id="errordestination">Destination should be between 1-75 characters.</span>
</div>
<!-- <span class="errorMsg" id="errordestination">Can not be greater than 75 characters.</span> -->
<div class="col-lg-1 pt-0">
<!-- empty div ... Can be used to add ads-->
</div>
<div class="col-lg-2 pt-0">
<a href="./add_bus_s.html">Add Bus Schedule</a>
</div>
</div>
<!--ROW-3 Search by bus route -->
<div class="form-group row mb-0 ">
<div class="col-lg-1 pt-0">
<!-- empty div to add space to left and right of col-2-->
</div>
<div class="col-lg-2 ">
<a href="./add_bus_s.html">Add Bus Schedule</a>
</div>
<div class="col-lg-1 pt-0">
<!-- empty div to add space b/w col-2 and col-4-->
</div>
<div class="col-lg-2 pl-4">
<!-- pd to separate col-2 from under row AND pl to push col-2 to right-->
<label for="routes"> Routes </label>
</div>
<div class="col-lg-2 pl-0 pb-3 ">
<input type="text" class="form-control" id="routes" name="routes" placeholder="Faizabad,6th road...">
<span class="errorMsg" id="errorRoutes">Routes should be between 1-75 characters.</span>
</div>
<div class="col-lg-1 pt-0">
<!-- empty div ... Can be used to add ads-->
</div>
<div class="col-lg-2 pt-0">
<a href="./add_bus_s.html">Add Bus Schedule</a>
</div>
</div>
<!--ROW-4 Search by bus route -->
<div class="form-group row mb-0 ">
<div class="col-lg-1 pt-0">
<!-- empty div to add space to left of col-2-->
</div>
<div class="col-lg-2 pt-0">
<a href="./add_bus_s.html">Add Bus Schedule</a>
</div>
<div class="col-lg-1 pt-0">
<!-- empty div to add space b/w col-2 and col-4-->
</div>
<div class="col-lg-2 pl-4">
<!-- pd to separate col-2 from under row AND pl to push col-2 to right-->
<label for="vehicle">Vehicle Type</label>
</div>
<div class="col-lg-2 pl-0 pb-3 ">
<select class="form-control">
<option>Bus</option>
<option>Couch</option>
<option>Carry</option>
</select>
</div>
<div class="col-lg-1 pt-0">
<!-- empty div ... Can be used to add ads-->
</div>
<div class="col-lg-2 pt-0">
<a href="./add_bus_s.html">Add Bus Schedule</a>
</div>
</div>
<!--ROW-5 Search by bus route -->
<div class="form-group row mb-0 ">
<div class="col-lg-1 pt-0">
<!-- empty div to add space to left of col-2-->
</div>
<div class="col-lg-2 pt-0">
<a href="./add_bus_s.html">Add Bus Schedule</a>
</div>
<div class="col-lg-1 pt-0">
<!-- empty div to add space b/w col-2 and col-4-->
</div>
<div class="col-lg-2 pl-4">
<!-- pd to separate col-2 from under row AND pl to push col-2 to right-->
<label for="number">Vehicle number</label>
</div>
<div class="col-lg-2 pl-0 pb-3 ">
<input type="text" class="form-control" id="number" name="vehicle_no" placeholder="Vehicle Number">
</div>
<div class="col-lg-1 pt-0">
<!-- empty div ... Can be used to add ads-->
</div>
<div class="col-lg-2 pt-0">
<a href="./add_bus_s.html">Add Bus Schedule</a>
</div>
</div>
<!--ROW-6 Search by bus route -->
<div class="form-group row mb-0 ">
<div class="col-lg-1 pt-0">
<!-- empty div to add space to left of col-2-->
</div>
<div class="col-lg-2 pt-0">
<a href="./add_bus_s.html">Add Bus Schedule</a>
</div>
<div class="col-lg-3 pl-4">
<!-- pd to separate col-2 from under row AND pl to push col-2 to right-->
</div>
<div class="col-lg-2 pl-0 pb-3 ">
<div class="d-flex justify-content-center"><button type="submit" class="btn btn-secondary"id= "submit">Update Schedule</button></div>
</div>
<div class="col-lg-1 pt-0">
<!-- empty div ... Can be used to add ads-->
</div>
<div class="col-lg-3 pt-0">
<a href="./add_bus_s.html">Add Bus Schedule</a>
</div>
</div>
<!--ROW-8 Search by bus route -->
<div class="form-group row mb-0 ">
<div class="col-lg-1 pt-0">
<!-- empty div to add space to left of col-2-->
</div>
<div class="col-lg-2 pt-0">
<a href="./add_bus_s.html">Add Bus Schedule</a>
</div>
</div>
</form>
<script src="JQuery.js"></script>
<script src="update_bus_validation.js"></script>
</body>
</html>