-
Notifications
You must be signed in to change notification settings - Fork 0
/
index.html
57 lines (52 loc) · 2.17 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
<!DOCTYPE html>
<html lang="en-gb">
<head>
<meta charset="UTF-8" />
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<meta http-equiv="X-UA-Compatible" content="ie=edge" />
<title>Weather Dashboard</title>
<!-- Bootstrap 5.3 -->
<link href="https://cdn.jsdelivr.net/npm/[email protected]/dist/css/bootstrap.min.css" rel="stylesheet">
</head>
<body>
<header class="container-fluid text-center text-white bg-dark p-2 weather-header">
<h1>Weather Dashboard</h1>
</header>
<!-- max-width for ultra wide resolutions -->
<div class="container-fluid" style="max-width: 1400px">
<div class="row">
<aside class="col-lg-3 pb-3 overflow-auto" style="max-height: 50vh">
<h2 id="form-heading" class="mt-1 h3 form-label">
Search for a City:
</h2>
<form id="search-form" class="form">
<div class="form-inline form-group">
<div class="input-group">
<input class="form-input weather-search w-100 m-1 form-control" type="text" id="search-input" placeholder="London"
aria-labelledby="form-heading" aria-controls="today forecast" />
<div class="input-group-append w-100 m-1">
<button type="submit" class="btn btn-primary search-button w-100" id="search-button" aria-label="submit search">
Search
</button>
<hr class="hr weather-hr" />
</div>
</div>
</div>
</form>
<div class="list-group" id="history" ></div>
</aside>
<div class="col-lg-9 pb-3">
<section id="today" class="mt-3" role="region" aria-live="polite"></section>
<section id="forecast" class="row mt-1" role="region" aria-live="polite"></section>
</div>
</div>
</div>
<!-- Bootstrap 5.3 -->
<script src="https://cdn.jsdelivr.net/npm/[email protected]/dist/js/bootstrap.bundle.min.js"></script>
<!-- Day.js -->
<script src="https://cdn.jsdelivr.net/npm/dayjs@1/dayjs.min.js"></script>
<!-- jQuery -->
<script src="https://cdnjs.cloudflare.com/ajax/libs/jquery/3.2.1/jquery.min.js"></script>
<script src="assets/js/script.js"></script>
</body>
</html>