/
weather.html
158 lines (130 loc) · 6.06 KB
/
weather.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
151
152
153
154
155
156
157
158
<!doctype html>
<html lang="en">
<head>
<meta charset="utf-8" />
<link rel="icon" type="image/png" href="assets/img/favicon.png">
<meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1" />
<title>trek</title>
<meta content='width=device-width, initial-scale=1.0, maximum-scale=1.0, user-scalable=0' name='viewport' />
<meta name="viewport" content="width=device-width" />
<!-- Bootstrap core CSS -->
<link href="assets/css/bootstrap.min.css" rel="stylesheet" />
<!-- Light Bootstrap Table core CSS -->
<link href="assets/css/light-bootstrap-dashboard.css" rel="stylesheet"/>
<!-- Fonts and icons -->
<link href="http://maxcdn.bootstrapcdn.com/font-awesome/4.2.0/css/font-awesome.min.css" rel="stylesheet">
<link href='http://fonts.googleapis.com/css?family=Roboto:400,700,300' rel='stylesheet' type='text/css'>
<link href="assets/css/pe-icon-7-stroke.css" rel="stylesheet" />
<!-- Linking Butn Library * Fulfill Library Requirement -->
<link href="assets/css/butns.min.css" rel="stylesheet">
</head>
<body>
<div class="wrapper">
<div class="sidebar" data-color="blue">
<div class="sidebar-wrapper">
<div class="logo">
<a href="index.html" style="text-align:center; color:navy;">
<h3>trek</h3>
</a>
</div>
<ul class="nav">
<!--<li class="active">
<a href="index.html">
<i class="pe-7s-map-marker"></i>
<p>Dashboard</p>
</a>
</li>-->
<li class="button transition fill-dark-blue">
<a href="explore.html">
<i class="pe-7s-helm"></i>
<p>Explore</p>
</a>
</li>
<li class="button transition fill-dark-blue">
<a href="weather.html">
<i class="pe-7s-sun"></i>
<p>Weather</p>
</a>
</li>
<li class="button transition fill-dark-blue">
<a href="trending.html">
<i class="pe-7s-photo"></i>
<p>Trending</p>
</a>
</li>
</ul>
</div>
</div>
<div class="main-panel">
<nav class="navbar navbar-default navbar-fixed">
<div class="container-fluid">
<div class="navbar-header">
<button type="button" class="navbar-toggle" data-toggle="collapse" data-target="#navigation-example-2">
<span class="sr-only"></span>
<span class="icon-bar"></span>
<span class="icon-bar"></span>
<span class="icon-bar"></span>
</button>
<a class="navbar-brand" href="index.html">Weather</a>
</div>
<div class="collapse navbar-collapse">
<ul class="nav navbar-nav navbar-left">
<li class="button transition fill-dark-blue">
<a href="index.html" class="dropdown-toggle" data-toggle="dropdown">
<i class="pe-7s-map-marker"></i>
<p class="hidden-lg hidden-md">Dashboard</p>
</a>
</li>
</ul>
</div>
</div>
</nav>
<div class="content">
<div class="container-fluid">
<div class="row">
<div id="weatherDiv" style="width:375px; height:450px;">
<div class="header">
<h4 class="title">Weather</h4>
<p class="category">Do you need that raincoat?</p>
</div>
<form>
<label for="location"></label>
<input id="location-input" name= "destination" type="text" minlength="4" placeholder="Enter Destination" required >
<button class="button transition fill-dark-blue small" id="submit-location" type="submit" style=margin-bottom:2px">Submit</button>
</form>
<div class="content">
<div id="weatherDispl"></div>
</div>
</div>
</div>
</div>
</div>
<footer class="footer">
<div class="container-fluid">
<p class="copyright pull-right">
© <script>document.write(new Date().getFullYear())</script> MW Group 7
</p>
</div>
</footer>
</div>
</div>
</body>
<!-- Core JS Files -->
<script src="assets/js/jquery-1.10.2.js" type="text/javascript"></script>
<script src="assets/js/bootstrap.min.js" type="text/javascript"></script>
<!-- Checkbox, Radio & Switch Plugins -->
<script src="assets/js/bootstrap-checkbox-radio-switch.js"></script>
<!-- Charts Plugin -->
<script src="assets/js/chartist.min.js"></script>
<!-- Notifications Plugin -->
<script src="assets/js/bootstrap-notify.js"></script>
<!-- Google Maps Plugin -->
<script type="text/javascript" src="https://maps.googleapis.com/maps/api/js?sensor=false"></script>
<!-- Light Bootstrap Table Core javascript and methods for Demo purpose -->
<script src="assets/js/light-bootstrap-dashboard.js"></script>
<!--LINKING IN JS FILES -->
<script src="js/TravelApp.js"></script>
<script src="js/flickr.js"></script>
<script src="js/jquery.validate.js"></script>
<script src="https://www.gstatic.com/firebasejs/3.6.7/firebase.js"></script>
</html>