|
|
|
|
|
by jamiesonbecker
4115 days ago
|
|
Looks fantastic. It did take a few minutes to get forked over and modify for location, °F instead of °C, etc. Perhaps a future version could use a config.js or something that would just swap those. For the record, you want to edit js/scripts/controllers.js and js/scripts/view/dashboard.html. Replacing Helsinki in the openweathermap.org link with your plain text city name seems to work. For Fahrenheit, replace the "var temp" line in controllers.js with: var temp = Math.round(((parseInt(data.main.temp) - 273.15) * 9/5) + 32, 2) + "°F";
I didn't get the github.io pages working in less than a few minutes, so I just grabbed it locally where it'll probably work faster anyway. Thanks also for the great plugin link. Excellent work Jakke, beautiful typography. |
|