-
Notifications
You must be signed in to change notification settings - Fork 2
Expand file tree
/
Copy pathuploadforms.html
More file actions
168 lines (144 loc) · 4.2 KB
/
uploadforms.html
File metadata and controls
168 lines (144 loc) · 4.2 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
<!DOCTYPE html>
<!-- saved from url=(0049)file:///C:/xampp/htdocs/myphpfile/RoutFinder.html -->
<html><head><meta http-equiv="Content-Type" content="text/html; charset=windows-1252">
<title>Upload</title>
<style type="text/css">
h1{
font-size: 30 px ;
text-align: center;
}
p{
font-size: 10 px;
text-align: center;
}
input[type=Submit]{
width: 100%;
padding: 12px 20px;
margin: 8px 0;
display: inline-block;
border: 1px solid #ccc;
border-radius: 4px;
box-sizing: border-box;
margin-top: 50px
}
.footer{
margin-top: 500px;
}
.header{
margin-top: 0px;
padding: 20 px 20 px ;
font-family: "Trebuchet MS", Helvetica, sans-serif;
}
.form{
width: 50%;
height:70%;
background: #000000;
padding: 30px;
opacity: 0.8;
display: flex;
position: fixed;
top: 50%;
left: 50%;
transform: translate(-50%, -50%);
box-shadow: 5px 5px 2.5px #000000 ;
z-index: -1;
}
input[type=text], select {
width: 100%;
padding: 12px 20px;
margin: 8px 0;
display: inline-block;
border: 1px solid #ccc;
border-radius: 4px;
box-sizing: border-box;
}
input[type=number] {
width: 100%;
padding: 12px 20px;
margin: 8px 0;
display: inline-block;
border: 1px solid #ccc;
border-radius: 4px;
box-sizing: border-box;
}
label{
margin-top: 10px;
margin-bottom: 10px;
color: #ffffff;
font-family: "Trebuchet MS", Helvetica, sans-serif;
}
body{
background: linear-gradient( rgba(0, 0, 5, 0.5), rgba(0, 0, 0, 0.5) ), url(airplane-1024x640.jpg) no-repeat center center fixed;
-webkit-background-size: cover;
-moz-background-size: cover;
-o-background-size: cover;
background-size: cover;
z-index: -1;
}
#background{
background: url(airplane-1024x640.jpg) no-repeat center center fixed;
-webkit-filter: blur(10px);
filter: blur(10px);
-webkit-background-size: cover;
-moz-background-size: cover;
-o-background-size: cover;
background-size: cover;
z-index: -1;
}
b{
color: #ffffff;
}
input[type=radio] {
cursor: pointer;
width: 20px;
height: 20px;
-webkit-border-radius: 50px;
-moz-border-radius: 50px;
border-radius: 50px;
}
</style></head>
<body>
<header>
<div class="header">
<h1><i>Upload Data</i></h1>
</div>
</header>
<div class="form">
<form action="http://127.0.0.1/Route-Finder/upload.php" method="get">
<label for="s"><b>Source</b></label>
<input type="text" id="s" name="source" list="station">
<label for="d"><b>Destination</b></label>
<input type="text" id="d" name="destination" list="station">
<label for="d"><b>Travel Time (in hour)</b></label>
<input type="number" id="d" name="time" >
<label for="t"><b>Type </b></label><br><br>
<input type="radio" id="t" name="way" value="train" checked><b>Train</b> <input type="radio" id="t" name="way" value="air"><b>Aeroplane</b><br><br>
<label for="d"><b>Name</b></label>
<input type="text" id="n" name="name">
<input type="Submit" name="Submit" value="Submit">
<datalist id="station">
<option value="Allahabad"></option>
<option value="Delhi"></option>
<option value="Varansi"></option>
<option value="Lucknow"></option>
<option value="Patna"></option>
<option value="Mumbai"></option>
<option value="Agra"></option>
<option value="Pune"></option>
<option value="Guwahati"></option>
<option value="Dehradun"></option>
<option value="New York"></option>
<option value="Kanpur"></option>
<option value="Jaipur"></option>
<option value="Kota"></option>
<option value="Bangalore"></option>
<option value="Chandigarh"></option>
<option value="Guwahati"></option>
<option value="Bhopal"></option>
<option value="London"></option>
<option value="Kolkata"></option>
</datalist>
</form></div>
<footer>
</footer>
</body></html>