-
Notifications
You must be signed in to change notification settings - Fork 0
/
index.html
95 lines (94 loc) · 3.95 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
<!DOCTYPE html>
<html lang="en">
<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 rel="preconnect" href="https://fonts.googleapis.com" />
<link rel="preconnect" href="https://fonts.gstatic.com" crossorigin />
<link
href="https://fonts.googleapis.com/css2?family=Nunito:wght@400;600;700&display=swap"
rel="stylesheet"
/>
<link rel="stylesheet" href="./css/index.css" />
<link rel="stylesheet" href="./css/fonts.css" />
<title>Weather App</title>
</head>
<body>
<main id="main">
<div id="container" class="container">
<!-- <button id="pantalla_completa">Pantalla completa</button> -->
<div class="alerta"></div>
<div class="container__card" id="swapButton">
<div class="container__card--left">
<p id="temperature"></p>
</div>
<div class="container__card--right">
<p id="fecha">Viernes, 23 de julio</p>
<p id="city">
<img src="./icons/Property 1=map-pin.svg" alt="" />
Montevideo
</p>
</div>
</div>
</div>
</main>
<div class="swapInfo" id="swapInfo">
<div class="bar"></div>
<div class="swap__days">
<ul>
<li><a id="hoy" class="is-selected" href="#">Hoy</a></li>
<li><a id="mañana" href="#">Mañana</a></li>
<li><a id="semana" href="#">Semana</a></li>
<li>
<a id="siguiente_semana" href="#">Siguiente semana</a>
</li>
</ul>
</div>
<div id="tabla_estado_diario">
<div id="swap" class="swap__hours">
<template id="template_individual">
<div class="swap__hours--individual">
<div class="individual__in">
<p id="swap--hora">Ahora</p>
<img id="icono-clima" src="" alt="soleado" />
<p id="swap--temp">25°</p>
</div>
</div>
</template>
</div>
<div class="swap__temp">
<p>Máx:<span id="max">26°</span></p>
<p>Mín:<span id="min">19°</span></p>
</div>
<div class="swap__wind">
<p>Viento:<span id="viento">16 Km-h</span></p>
<p>Humedad:<span id="humedad">63%</span></p>
</div>
</div>
<div id="tabla_estado_semanal" class="estado-semanal esconder">
<table id ="tr_tabla" class="tabla">
<tr>
<th class="left">Dia</th>
<th>Estado</th>
<th>Temp</th>
<th>Max</th>
<th>Min</th>
</tr>
<template id="tabla_template">
<tr>
<td id="tabla_dia" class="left">Lunes</td>
<td id="tabla_icono">
<img src="./icons/Sun.svg" alt="" />
</td>
<td id="tabla_temp">20</td>
<td id="tabla_max">22</td>
<td id="tabla_min">15</td>
</tr>
</template>
</table>
</div>
</div>
<script type="module" src="./src/api.js"></script>
</body>
</html>