-
Notifications
You must be signed in to change notification settings - Fork 0
/
index.html
115 lines (107 loc) · 5.3 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
<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1, shrink-to-fit=no">
<meta http-equiv="x-ua-compatible" content="ie=edge">
<title>Weather App</title>
<link rel='stylesheet' type='text/css' href='styles\styles.css'>
<link rel='stylesheet' type='text/css' media='screen' href='styles\main.css'>
<link rel="icon" href="favicon.ico">
<link rel="manifest" href="./manifest.json">
<meta name="description" content="A weather app by Olawale Micheal Juwon">
<meta name="theme-color" content="#2F3BA2" />
<!-- for safari -->
<meta name="apple-mobile-web-app-capable" content="yes">
<meta name="apple-mobile-web-app-status-bar-style" content="black">
<meta name="apple-mobile-web-app-title" content="Weather App">
<link rel="apple-touch-icon" href="./images/icons/icon-152x152.png">
</head>
<body>
<div class="container">
<header class=" jumbotron">
<div class="row justify-content-center">
<img src="./images/drizzle.png" class="rounded float-left " alt="icon">
<small>SMASH<i>it</i></small>
Weather App
<!-- <button id="butInstall" class="btn" aria-label="Install" hidden></button> -->
</div>
<div class="row justify-content-end h-auto w-auto">
<button id="butInstall" class="btn" aria-label="Install" hidden></button>
<small id="btnText" class="text-small" hidden>Install</small>
<!-- <button id="butRefresh" class="btn" aria-label="Refresh"></button> -->
</div>
</header>
<div id="updateAlert" class="alert alert-success alert-dismissible fade show" role="alert"
onclick="closeAlert()">
<strong>Loading PWA...:</strong>
<button type="button" class="close" aria-label="Close">
<span aria-hidden="true">×</span>
</button>
</div>
<div class="row">
</div>
<form onsubmit="FormOnsubmit(event)">
<div class="form-group form-row justify-content-center">
<div class="col-7 mb-2">
<input id="Search" class="form-control" type="text" class="form-control" name="Search"
aria-describedby="search" placeholder="Enter a city name" />
<div id="SearchFeedbackWrong" class="invalid-feedback justify-content-center">Error Occured</div>
<div id="SearchFeedbackRight" class="valid-feedback justify-content-center">Searching...</div>
<!-- <label class="justify-content-center align-items-center align-self-center">Search</label> -->
</div>
<div class="w-100"></div>
<button type="submit" id="btn" class="btn btn-primary">Search</button>
</div>
</form>
</div>
<div class="container">
<div class="row justify-content-end">
<!-- <div class="col px-md-5"><div class="p-3 border bg-light"></div></div> -->
<div>
<a class="p-3 border btn bg-warning mb-1" href="./activity.html">History</a>
</div>
</div>
</div>
<!-- style="max-width: 18rem; max-height: 18rem" -->
<div class="container">
<div class="row" id="weatherContainer">
<!-- <div class="card border-success mb-3 col-12 col-md-4">
<div class="card-header">Header</div>
<div class="card-body text-success">
<h5 class="card-title">Success card title</h5>
<p class="card-text">Some quick example text to build on the card title and make up the bulk of the card's
content.</p>
</div>
</div>
<div class="card border-success mb-3 col-12 col-md-4" >
<div class="card-header">Header</div>
<div class="card-body text-success">
<h5 class="card-title">Success card title</h5>
<p class="card-text">Some quick example text to build on the card title and make up the bulk of the card's
content.</p>
</div>
</div>
<div class="card border-success mb-3 col-12 col-md-4" >
<div class="card-header">Header</div>
<div class="card-body text-success">
<h5 class="card-title">Success card title</h5>
<p class="card-text">Some quick example text to build on the card title and make up the bulk of the card's
content.</p>
</div>
</div> -->
</div>
</div>
<div class="jumbotron" id="foot">
<footer class="row justify-content-center">
<div class="col-auto justify-content-center align-item-center">
<p class="text-center text-white">Developed By Olawale Micheal Juwon</p>
<a class="text-center text-warning offset-4" href="mailto:[email protected]?Subject=Weather%20App"
target="_top">Contact Me</a>
</div>
</footer>
</div>
<script src='script/main.js'></script>
<script src="script/Install.js"></script>
</body>
</html>