Add more background images for weather states

master
Alfred Egger 2019-10-23 07:55:42 +02:00
parent 630486ac07
commit 283d6669c8
5 changed files with 10 additions and 1 deletions

View File

@ -5,3 +5,6 @@
- rain.jpg (Public domain): George Hodan => http://www.publicdomainpictures.net/view-image.php?image=23191&picture=pluie
- mist.png (CC by SA 2.0): Montgomery County Plan => https://www.flickr.com/photos/75012107@N05/8609938706/
- home.png: http://uxrepo.com/icon/home-by-typicons
- fox.png (Public domain): Adam Schoales => https://flickr.com/photos/adamschoales/20062355286/
- tornado.png (CC by 2.0): NOAA Photo Library => https://flickr.com/photos/noaaphotolib/5054533468/in/album-72157625053846454/
- sand.png (CC by 2.0): Florin Chelaru => https://flickr.com/photos/fchelaru/3737318635/

BIN
img/fog.png 100644

Binary file not shown.

After

Width:  |  Height:  |  Size: 5.5 MiB

BIN
img/sand.jpg 100644

Binary file not shown.

After

Width:  |  Height:  |  Size: 7.9 MiB

BIN
img/tornado.jpg 100644

Binary file not shown.

After

Width:  |  Height:  |  Size: 3.1 MiB

View File

@ -42,12 +42,18 @@ app.controller('WeatherController', ['$scope', '$interval', '$timeout', '$compil
"Clear": "sun.png",
"Clouds": "clouds.png",
"Drizzle": "drizzle.jpg",
"Extreme": "todo.png",
"Smoke": "todo.png",
"Dust": "todo.png",
"Sand": "todo.png",
"Ash": "todo.png",
"Squall": "todo.png",
"Tornado": "tornado.jpg",
"Haze": "mist.png",
"Mist": "mist.png",
"Rain": "rain.jpg",
"Snow": "snow.png",
"Thunderstorm": "thunderstorm.png",
"Fog": "fog.png",
}
// Reload weather information each minute