-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathdetails.html
More file actions
100 lines (91 loc) · 4.77 KB
/
details.html
File metadata and controls
100 lines (91 loc) · 4.77 KB
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
<!DOCTYPE html>
<html id="mode" lang="en" data-bs-theme="dark">
<head>
<meta charset="UTF-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<link href="https://cdn.jsdelivr.net/npm/bootstrap@5.3.0-alpha1/dist/css/bootstrap.min.css" rel="stylesheet" integrity="sha384-GLhlTQ8iRABdZLl6O3oVMWSktQOp6b7In1Zl3/Jr59b6EGGoI1aFkw7cmDA6j6gD" crossorigin="anonymous">
<link rel="stylesheet" href="style.css">
<title id="title">Details about...</title>
</head>
<body>
<nav class="navbar navbar-expand-lg navbar bg-dark navbar sticky-top bg-body-tertiary shadow-lg" data-bs-theme="dark">
<div class="container-fluid">
<a class="navbar-brand" href="#">The Country's Web</a>
<button class="navbar-toggler" type="button" data-bs-toggle="collapse" data-bs-target="#navbarSupportedContent" aria-controls="navbarSupportedContent" aria-expanded="false" aria-label="Toggle navigation">
<span class="navbar-toggler-icon"></span>
</button>
<div class="collapse navbar-collapse" id="navbarSupportedContent">
<ul class="navbar-nav me-auto mb-2 mb-lg-0">
<li class="nav-item">
<a class="nav-link" aria-current="page" href="index.html">By Region</a>
</li>
<li class="nav-item">
<a class="nav-link" href="cards.html">By Continent</a>
</li>
</ul>
<form class="d-flex" role="search">
<input class="form-control me-2" type="search" placeholder="Search" aria-label="Search" id="buscador">
<button class="btn btn-outline-success" id="buscadorbutton" type="submit">Search</button>
</form>
</div>
</div>
</nav>
<div id="grid-details">
<div id="header-div">
<div id="flag-div"></div>
<div id="countryname-div">
<h1 class="display-5" style="text-align: center;justify-content:space-around ;"id="countryname">Details</h1>
</div>
<div id = "escudo-div"></div>
</div>
<div id="main-div">
<table class="table table-dark table-borderless shadow">
<tbody>
<tr>
<th>Capital City</th>
<th>Demonym</th>
<th>Population</th>
<th>Time Zone</th>
<th>Region</th>
<th>Subregion</th>
</tr>
<tbody id="details-table" class="table table-hover table-dark table-borderless"></tbody>
</table>
<div id ="astroweather-container">
<div class="row justify-content-sm-center">
<div class="spinner-border text-danger" role="status" id="spinner">
<span class="visually-hidden">Loading...</span>
</div>
<div class="invisible" id="data-to-display">
<h3 class="h5" style="text-align: center;"id="city"></h3>
<table class="table table-hover table-dark table-borderless shadow">
<thead>
<tr>
<th scope="col">Date</th>
<th scope="col">Min Temp</th>
<th scope="col">Max Temp</th>
<th scope="col">Humedity</th>
<th scope="col">Max Wind</th>
<th scope="col">Sunshine</th>
<th scope="col">Sunset</th>
<th scope="col">Moonshine</th>
<th scope="col">Moonset</th>
<th scope="col">Condition</th>
</tr>
</thead>
<tbody id="weather-data"></tbody>
</table>
</div>
</div>
</div>
</div>
<div id="footer-div"></div>
</div>
<script src="https://cdn.jsdelivr.net/npm/bootstrap@5.3.0-alpha1/dist/js/bootstrap.bundle.min.js" integrity="sha384-w76AqPfDkMBDXo30jS1Sgez6pr3x5MlQ1ZAGC+nuZB+EYdgRZgiwxhTBTkF7CXvN" crossorigin="anonymous"></script>
<script src="https://cdn.jsdelivr.net/npm/@popperjs/core@2.11.6/dist/umd/popper.min.js" integrity="sha384-oBqDVmMz9ATKxIep9tiCxS/Z9fNfEXiDAYTujMAeBAsjFuCZSmKbSSUnQlmh/jp3" crossorigin="anonymous"></script>
<script src="https://cdn.jsdelivr.net/npm/bootstrap@5.3.0-alpha1/dist/js/bootstrap.min.js" integrity="sha384-mQ93GR66B00ZXjt0YO5KlohRA5SY2XofN4zfuZxLkoj1gXtW8ANNCe9d5Y3eG5eD" crossorigin="anonymous"></script>
<script src="details.js"></script>
<script src="config.js"></script>
</body>
</html>