forked from FinalLegends/EWA
-
Notifications
You must be signed in to change notification settings - Fork 2
/
Copy pathindex.html
85 lines (74 loc) · 3.07 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
<!DOCTYPE html>
<html>
<head>
<meta charset="ISO-8859-1">
<!-- Bootstrap -->
<link href="css/bootstrap.css" rel="stylesheet">
<link href="css/style.css" rel="stylesheet">
<link href="js/bootstrap.js" rel="javascript">
<title>Weather Alert</title>
</head>
<body>
<!-- Background Image -->
<div class="fadein">
<img id="f2" src="img/bg.jpg">
<img id="f1" src="img/bg_sunset.jpg">
</div>
<!-- Navigation Bar -->
<nav class="navbar navbar-default" role="navigation">
<div class="container-fluid">
<!-- Brand and toggle get grouped for better mobile display -->
<div class="navbar-header">
<button type="button" class="navbar-toggle collapsed" data-toggle="collapse" data-target="#bs-example-navbar-collapse-1">
<span class="sr-only">Toggle navigation</span>
<span class="icon-bar"></span>
<span class="icon-bar"></span>
<span class="icon-bar"></span>
</button>
<a class="navbar-brand" href="#">Weather Alert</a>
</div>
<!-- Collect the nav links, forms, and other content for toggling -->
<div class="collapse navbar-collapse" id="bs-example-navbar-collapse-1">
<ul class="nav navbar-nav">
<li class="active"><a href="index.html">Home</a></li>
<li><a href="about.html">About</a></li>
</ul>
</div><!-- /.navbar-collapse -->
</div><!-- /.container-fluid -->
</nav>
<div class="jumbotron">
<p>Weather Alert gives you convenient access to current weather conditions in a city provided by your zip code and alerts to the given email address when the weather surpasses the high/low temperature.</p>
</div>
<!-- Prompt -->
<div align="center">
<img src="img/wherelive copy.png">
</div>
<!-- Input field -->
<div align="center">
<form class="navbar-form" role="search">
<div class="form-group">
<div class="input-group">
<span class="input-group-addon"><span class="glyphicon glyphicon-home"></span></span>
<input type="text" id="zipCode" class="form-control" placeholder="Enter Zip Code">
</div><br>
<div class="input-group">
<span class="input-group-addon"><span class="glyphicon glyphicon-envelope"></span></span>
<input type="text" id="emailID" class="form-control" placeholder="Enter Email">
</div><br>
<div class="input-group">
<span class="input-group-addon"><span class="glyphicon glyphicon-cloud-upload"></span></span>
<input type="text" id="highTemp" class="form-control" placeholder="Enter High Temp">
</div><br>
<div class="input-group">
<span class="input-group-addon"><span class="glyphicon glyphicon-cloud-download"></span></span>
<input type="text" id="lowTemp" class="form-control" placeholder="Enter Low Temp">
</div><br><br>
<button type="submit" id="alert_submit" class="btn btn-default" onClick="return userSubmit()">Submit</button>
</form>
</div>
<!-- Display -->
<div id="weather" align="center"></div>
<script src="http://ajax.googleapis.com/ajax/libs/jquery/1.5.1/jquery.min.js"></script>
<script src="js/alert.js"></script>
</body>
</html>