-
Notifications
You must be signed in to change notification settings - Fork 1
/
index.html
136 lines (132 loc) · 6.77 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
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
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8" />
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<title>Trip Planner</title>
<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/semantic-ui/2.4.1/semantic.min.css" />
<link rel="stylesheet" href="./css/style.css" />
<!-- fonts -->
<link href="https://fonts.googleapis.com/css2?family=Piedra&display=swap" rel="stylesheet" />
<link href="https://fonts.googleapis.com/css2?family=Berkshire+Swash&display=swap" rel="stylesheet" />
<link href="https://fonts.googleapis.com/css?family=Abril+Fatface|Kaushan+Script&display=swap" rel="stylesheet" />
<link href="https://fonts.googleapis.com/css2?family=Lobster+Two&family=Piedra&display=swap" rel="stylesheet" />
<link href="https://fonts.googleapis.com/css2?family=Arima+Madurai&display=swap" rel="stylesheet" />
<link href="https://fonts.googleapis.com/css2?family=Arima+Madurai:wght@300&family=Roboto&display=swap"
rel="stylesheet" />
</head>
<body>
<!-- the navigation bar -->
<div id="navbar" class="ui inverted raised segment">
<h1 style="margin-bottom: 15px" class="titleHeader">Trip Planner</h1>
<!-- <span><i class="fas fa-dragon" id="dragonIcon"></i></span> -->
</div>
<!-- a sedment that holds the form -->
<div id="planBody" class="ui container">
<div id="main-section" class="ui centered raised segment modal" style="margin-top: 30px">
<h2 class="mainSectionHeader">My Itinerary</h2>
<form class="ui equal width form">
<h3 class="questionFont">Where are you going?</h3>
<div id="cityPick" class="ui fluid selection dropdown">
<input type="hidden" name="user">
<i class="dropdown icon"></i>
<div class="default text">Select Destination</div>
<div class="menu">
<div class="item" data-value="Bangkok">
<img class="ui mini avatar image" src="./images/flags/thailand-flag-waving-icon-32.png">
Bangkok, Thailand
</div>
<div class="item" data-value="Barcelona">
<img class="ui mini avatar image" src="./images/flags/spain-flag-waving-icon-32.png">
Barcelona, Spain
</div>
<div class="item" data-value="Cairo">
<img class="ui mini avatar image" src="./images/flags/egypt-flag-waving-icon-32.png">
Cairo, Egypt
</div>
<div class="item" data-value="CancC3BAn">
<img class="ui mini avatar image" src="./images/flags/mexico-flag-waving-icon-32.png">
Cancún, Mexico
</div>
<div class="item" data-value="Dubai">
<img class="ui mini avatar image" src="./images/flags/united-arab-emirates-flag-waving-icon-32.png">
Dubai, UAE
</div>
<div class="item" data-value="Johannesburg">
<img class="ui mini avatar image" src="./images/flags/south-africa-flag-waving-icon-32.png">
Johannesburg, S Africa
</div>
<div class="item" data-value="London">
<img class="ui mini avatar image" src="./images/flags/united-kingdom-flag-waving-icon-32.png">
London, England
</div>
<div class="item" data-value="Los_Angeles">
<img class="ui mini avatar image" src="./images/flags/united-states-of-america-flag-waving-icon-32.png">
Los Angeles, USA
</div>
<div class="item" data-value="Nairobi">
<img class="ui mini avatar image" src="./images/flags/kenya-flag-waving-icon-32.png">
Nairobi, Kenya
</div>
<div class="item" data-value="Paris">
<img class="ui mini avatar image" src="./images/flags/france-flag-waving-icon-32.png">
Paris, France
</div>
<div class="item" data-value="Prague">
<img class="ui mini avatar image" src="./images/flags/czech-republic-flag-waving-icon-32.png">
Prague, Czech Republic
</div>
<div class="item" data-value="Rio_de_Janeiro">
<img class="ui mini avatar image" src="./images/flags/brazil-flag-waving-icon-32.png">
Rio de Janeiro, Brazil
</div>
<div class="item" data-value="Sydney">
<img class="ui mini avatar image" src="./images/flags/australia-flag-waving-icon-32.png">
Sydney, Australia
</div>
<div class="item" data-value="Tokyo">
<img class="ui mini avatar image" src="./images/flags/japan-flag-waving-icon-32.png">
Tokyo, Japan
</div>
<div class="item" data-value="Toronto">
<img class="ui mini avatar image" src="./images/flags/canada-flag-waving-icon-32.png">
Toronto, Canada
</div>
</div>
</div>
<h3 class="questionFont">When is your trip?</h3>
<div class="field">
<label>
<h4 class="arrivalAndDeparture">Arrival Date</h4>
</label>
<input id="arrival-date" type="date" name="trip" placeholder="Arrival Date" />
</div>
<div class="field">
<label>
<h4 class="arrivalAndDeparture">Departure Date</h4>
</label>
<input id="departure-date" type="date" name="trip" placeholder="Departure Date" />
</div>
<button id="submit-button" class="large ui button" style="padding: 11px">
Submit
</button>
</form>
</div>
</div>
<div class="ui container" style="margin: 30px 0px;">
<footer class="ui center aligned centered raised segment" style="background-color: #fcf2cf">A collaboration between
<a href="https://github.com/girmaD">Girma Ebssa</a>, <a href="https://github.com/ziieng">Zii Engelhardt</a>,
<a href="https://github.com/Kristine-1977">Kristine Horton</a>, and
<a href="https://github.com/aprilyanggarwood">April Yang</a> in October 2020. <br>Icons
sourced from <a href="https://icons8.com/icon/111415/question-mark">icons8.com</a>, <a
href="http://www.countryflags.com/en/">countryflags.com</a>, and <a
href="https://openweathermap.org/">openweathermap.com</a>.</footer>
</div>
<script src="https://code.jquery.com/jquery-3.5.1.min.js"></script>
<script src="https://unpkg.com/[email protected]/dayjs.min.js"></script>
<script src="https://cdnjs.cloudflare.com/ajax/libs/semantic-ui/2.4.1/semantic.min.js"></script>
<script src="./js/index.js"></script>
<script src="./js/tourCall.js"></script>
<script src="./js/restCall.js"></script>
</body>
</html>