diff --git a/cmd/templates/index.html b/cmd/templates/index.html index 9c1fb80..621da88 100644 --- a/cmd/templates/index.html +++ b/cmd/templates/index.html @@ -39,28 +39,37 @@ {{ .Base.Nombre }} - Dia {{ range .Base.Prediccion.Dia}} - {{ .Fecha }} + {{ .Fecha }} {{ end }} - Temp. Máxima + Temperatura mínima y máxima (°C) + + {{ range .Base.Prediccion.Dia}} - {{ .Temperatura.Maxima }} + + {{ .Temperatura.Minima }} / {{ .Temperatura.Maxima }} + {{ end }} - Temp. Mínima - {{ range .Base.Prediccion.Dia}} - {{ .Temperatura.Minima }} + Sens. térmica mínima y máxima (°C) + + + {{ range .Base.Prediccion.Dia }} + + {{ .Sens_Termica.Minima }} / {{ .Sens_Termica.Maxima }} + {{ end }} - Índice UV + Índice UV + + {{ range .Base.Prediccion.Dia}} {{ if eq .UV "" }} diff --git a/cmd/templates/style.css b/cmd/templates/style.css index 52444fc..c9e4858 100644 --- a/cmd/templates/style.css +++ b/cmd/templates/style.css @@ -26,6 +26,26 @@ li.hor { margin-right: 20px; } +td.left { + text-align: left; + padding-left: 5px; +} + +td.date { + text-align: center; + padding-left: 5px; + padding-right: 5px; +} + +cold { + color: darkcyan; + font-weight: 500; +} + +hot { + color: darkorange; + font-weight: 500; +} table * { text-align: center;