# HG changeset patch # User Paul Fisher # Date 1589897488 14400 # Node ID 27217790dc044b3abbc743cfbb8efaefef607505 # Parent f817fa785c93e3815507537ebdd34ff4d168e934 add web manifest diff -r f817fa785c93 -r 27217790dc04 weather_server/static/icons/192.png Binary file weather_server/static/icons/192.png has changed diff -r f817fa785c93 -r 27217790dc04 weather_server/static/icons/512.png Binary file weather_server/static/icons/512.png has changed diff -r f817fa785c93 -r 27217790dc04 weather_server/static/icons/icon.svg --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/weather_server/static/icons/icon.svg Tue May 19 10:11:28 2020 -0400 @@ -0,0 +1,96 @@ + + + + + + + + + + + + image/svg+xml + + + + + + + + + + + + diff -r f817fa785c93 -r 27217790dc04 weather_server/static/manifest.webmanifest --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/weather_server/static/manifest.webmanifest Tue May 19 10:11:28 2020 -0400 @@ -0,0 +1,24 @@ +{ + "short_name": "Temperatures", + "name": "Temperature Sensors", + "description": "Graphs from the temperature sensors you have peppered throughout your home", + "icons": [ + { + "src": "/static/icons/192.png", + "type": "image/png", + "sizes": "192x192", + "purpose": "maskable any" + }, + { + "src": "/static/icons/512.png", + "type": "image/png", + "sizes": "512x512", + "purpose": "maskable any" + } + ], + "start_url": "/", + "background_color": "#263238", + "display": "minimal-ui", + "scope": "/", + "theme_color": "#263238" +} diff -r f817fa785c93 -r 27217790dc04 weather_server/templates/index.html --- a/weather_server/templates/index.html Sun Jan 19 17:05:11 2020 -0500 +++ b/weather_server/templates/index.html Tue May 19 10:11:28 2020 -0400 @@ -9,6 +9,7 @@ +

Weather

diff -r f817fa785c93 -r 27217790dc04 weather_server/templates/location.html --- a/weather_server/templates/location.html Sun Jan 19 17:05:11 2020 -0500 +++ b/weather_server/templates/location.html Tue May 19 10:11:28 2020 -0400 @@ -9,7 +9,8 @@ - + +

Weather: {{ location.name }}

{% if last_reading %}