diff --git a/.idea/dataSources.xml b/.idea/dataSources.xml index 37f9176..d4750e2 100644 --- a/.idea/dataSources.xml +++ b/.idea/dataSources.xml @@ -5,7 +5,7 @@ sqlite.xerial true org.sqlite.JDBC - jdbc:sqlite:$PROJECT_DIR$/data.sqlite + jdbc:sqlite:$PROJECT_DIR$/data/data.sqlite diff --git a/.idea/runConfigurations/Start_placeholder_server_on_8080.xml b/.idea/runConfigurations/Start_placeholder_server_on_8080.xml new file mode 100644 index 0000000..1842bf8 --- /dev/null +++ b/.idea/runConfigurations/Start_placeholder_server_on_8080.xml @@ -0,0 +1,12 @@ + + + + + + + + + + + + \ No newline at end of file diff --git a/web/favicon.png b/web/favicon.png new file mode 100644 index 0000000..4232d49 Binary files /dev/null and b/web/favicon.png differ diff --git a/web/index.html b/web/index.html index 27b3bd2..a0099d9 100644 --- a/web/index.html +++ b/web/index.html @@ -4,6 +4,9 @@ 7am Weather + + + @@ -37,6 +40,12 @@

+ + diff --git a/web/logo.png b/web/logo.png new file mode 100644 index 0000000..e16f3d8 Binary files /dev/null and b/web/logo.png differ diff --git a/web/manifest.json b/web/manifest.json new file mode 100644 index 0000000..b566f45 --- /dev/null +++ b/web/manifest.json @@ -0,0 +1,17 @@ +{ + "name": "7am Weather", + "short_name": "7am", + "theme_color": "#1f2937", + "background_color": "#f3f4f6", + "display": "standalone", + "scope": "/", + "start_url": "/", + "description": "Daily weather updates delivered to you at 7am.", + "orientation": "vertical", + "icons": [ + { + "src": "/logo.png", + "sizes": "1024x1024" + } + ] +} \ No newline at end of file diff --git a/web/summary.js b/web/summary.js index 8476263..3f795a7 100644 --- a/web/summary.js +++ b/web/summary.js @@ -123,4 +123,6 @@ function jsonOrThrow(res) { if (canReceiveUpdates) { main() +} else { + getSummaryButton.style.display = "none" }