2024-05-27 08:28:10 +02:00
|
|
|
<!DOCTYPE html>
|
|
|
|
<html lang="en">
|
|
|
|
|
|
|
|
<head>
|
2024-05-29 10:16:27 +02:00
|
|
|
<title>AEMET Client</title>
|
2024-05-27 08:28:10 +02:00
|
|
|
<meta charset="UTF-8">
|
|
|
|
<meta name="viewport" content="width=device-width, initial-scale=1">
|
|
|
|
<link href="style.css" rel="stylesheet">
|
|
|
|
</head>
|
|
|
|
|
|
|
|
<body>
|
2024-05-29 10:16:27 +02:00
|
|
|
<p>Localidad: {{ .Base.Nombre }}</p>
|
|
|
|
|
|
|
|
{{ range .Base.Prediccion.Dia}}
|
|
|
|
|
|
|
|
<hr>
|
|
|
|
<p>Dia: {{ .Fecha }}</p>
|
|
|
|
<p>
|
|
|
|
Índice ultravioleta:
|
|
|
|
{{ if eq .UV ""}}
|
|
|
|
No disponible!
|
|
|
|
{{ else }}
|
|
|
|
{{ .UV }}
|
|
|
|
{{ end }}
|
|
|
|
</p>
|
|
|
|
<!-- <p>Índice ultravioleta: {{ .UV }}</p> -->
|
|
|
|
|
|
|
|
{{ end }}
|
|
|
|
|
2024-05-27 08:28:10 +02:00
|
|
|
</body>
|
|
|
|
|
|
|
|
</html>
|