-
Notifications
You must be signed in to change notification settings - Fork 0
/
index.html
102 lines (101 loc) · 3.4 KB
/
index.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
<!DOCTYPE html>
<html>
<head>
<title>jQuery Datepicker</title>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<script src="https://code.jquery.com/jquery-2.2.4.min.js"></script>
<script src="https://code.jquery.com/ui/1.12.1/jquery-ui.min.js"></script>
<link rel="stylesheet" href="https://code.jquery.com/ui/1.12.1/themes/base/jquery-ui.min.css">
<script>
$(document).ready(function(){
var minDate = new Date();
// Getter
$('#depart').datepicker({
changeMonth: true,
changeYear: true,
minDate: minDate,
firstDay:1,
dateFormat: 'DD, dd/mm/yy',
showAnim:'slideDown',
onClose: function(selectedDate){
jQuery('#return').datepicker("option", "minDate", selectedDate);
}
});
$('#return').datepicker({
changeMonth: true,
changeYear: true,
minDate: minDate,
firstDay:1,
dateFormat: 'DD, dd/mm/yy',
onClose:function(selectedDate){
jQuery('#depart').datepicker("option","maxDate",selectedDate);
}
});
});
</script>
<link rel="stylesheet" href="https://use.fontawesome.com/releases/v5.0.10/css/all.css" integrity="sha384-+d0P83n9kaQMCwj8F4RJB66tzIwOKmrdb46+porD/OvrJ+37WqIM7UoBtwHO6Nlg" crossorigin="anonymous">
<style>
main {
width: 70%;margin: 100px auto;
padding: 1px 50px 50px;background-color:#AAA;
}
h1{
color:#FFF;
text-align:center;
}
input{
margin: 0 15px 0 0;
}
#footer {
background-color: #808080;
width: 100%;
}
.footer-social {
text-align: center;
}
a {
text-decoration: none;
}
.footer-social a:link .footer-icon,
.footer-social a:visited .footer-icon {
color: #FFF;
font-size: 2em;
padding: 10px;
}
.footer-social a:hover .footer-icon {
color: #808080;
background-color: #FFF;
}
</style>
</head>
<body>
<main>
<h1>Make your reservation in the time!</h1>
<input type="text" placeholder="Origin" id="origin" >
<input type="text" placeholder="Destination" id="destination" >
<input type="text" placeholder="Depart Date" id="depart" >
<input type="text" placeholder="Return Date" id="return">
<select id="seat">
<option value="1">1 Seat</option>
<option value="2">2 Seat</option>
</select>
<input type="submit" value="Search">
</main><!-- end main -->
<div id="footer">
<section class="footer-social">
<a href="https://www.facebook.com/mirnes.glamocic.5/" target="_blank">
<i class="footer-icon fab fa-facebook"></i>
</a>
<a href="https://www.linkedin.com/in/mirnesglamocic/" target="_blank">
<i class="footer-icon fab fa-linkedin"></i>
</a>
<a href="https://github.com/Full-Stack-Web-Developer-and-Designer/" target="_blank"><i class="footer-icon fab fa-github"></i>
</a>
<a href="https://mirnesglamocic.com/" target="_blank">
<i class="footer-icon fab fa-dribbble"></i>
</a>
</section>
</div><!-- end #footer -->
</body>
</html>