-
-
Notifications
You must be signed in to change notification settings - Fork 18
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #17 from hoangsonww/update/enhancements
Update/enhancements
- Loading branch information
Showing
75 changed files
with
48,917 additions
and
8,277 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,4 @@ | ||
./node_modules/ | ||
|
||
node_modules | ||
.env |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,71 +1,80 @@ | ||
<!DOCTYPE html> | ||
<!doctype html> | ||
<html lang="en"> | ||
<head> | ||
<head> | ||
<meta charset="UTF-8" /> | ||
<meta name="viewport" content="width=device-width, initial-scale=1.0" /> | ||
<title>404 Not Found - The WeatherMate App</title> | ||
<link rel="stylesheet" href="https://hoangsonww.github.io/WeatherMate-App/src/css/style.css" /> | ||
<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/5.15.4/css/all.min.css"> | ||
<link rel="icon" type="image/x-icon" href="https://hoangsonww.github.io/WeatherMate-App/utils/favicon.ico"> | ||
<link rel="manifest" href="https://hoangsonww.github.io/WeatherMate-App/manifest.json"> | ||
<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/5.15.4/css/all.min.css" /> | ||
<link rel="icon" type="image/x-icon" href="https://hoangsonww.github.io/WeatherMate-App/utils/favicon.ico" /> | ||
<link rel="manifest" href="https://hoangsonww.github.io/WeatherMate-App/manifest.json" /> | ||
<style> | ||
body { | ||
background-image: url("https://hoangsonww.github.io/WeatherMate-App/utils/clouds.jpg"); | ||
font-family: "Poppins", sans-serif; | ||
display: flex; | ||
flex-direction: column; | ||
align-items: center; | ||
justify-content: center; | ||
margin: 0; | ||
min-height: 100vh; | ||
background-size: cover; | ||
background-position: center; | ||
background-attachment: fixed; | ||
} | ||
.error-container { | ||
text-align: center; | ||
margin-top: 0; | ||
} | ||
.error-container h1 { | ||
font-size: 6rem; | ||
margin-bottom: 0; | ||
} | ||
.error-container p { | ||
font-size: 1.5rem; | ||
margin-top: 0; | ||
} | ||
.back-link { | ||
font-size: 1.2rem; | ||
color: #ffffff; | ||
text-decoration: none; | ||
padding: 10px 15px; | ||
background-color: #534caf; | ||
border-radius: 5px; | ||
margin-top: 20px; | ||
display: inline-block; | ||
box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2); | ||
} | ||
.back-link:hover { | ||
background-color: #39329f; | ||
} | ||
body { | ||
background-image: url('https://hoangsonww.github.io/WeatherMate-App/utils/clouds.jpg'); | ||
font-family: 'Poppins', sans-serif; | ||
display: flex; | ||
flex-direction: column; | ||
align-items: center; | ||
justify-content: center; | ||
margin: 0; | ||
min-height: 100vh; | ||
background-size: cover; | ||
background-position: center; | ||
background-attachment: fixed; | ||
} | ||
.error-container { | ||
text-align: center; | ||
margin-top: 0; | ||
} | ||
.error-container h1 { | ||
font-size: 6rem; | ||
margin-bottom: 0; | ||
} | ||
.error-container p { | ||
font-size: 1.5rem; | ||
margin-top: 0; | ||
} | ||
.back-link { | ||
font-size: 1.2rem; | ||
color: #ffffff; | ||
text-decoration: none; | ||
padding: 10px 15px; | ||
background-color: #534caf; | ||
border-radius: 5px; | ||
margin-top: 20px; | ||
display: inline-block; | ||
box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2); | ||
} | ||
.back-link:hover { | ||
background-color: #39329f; | ||
} | ||
</style> | ||
<script async src="https://www.googletagmanager.com/gtag/js?id=G-HXL07SQFH0"></script> | ||
<script> | ||
window.dataLayer = window.dataLayer || []; | ||
function gtag(){dataLayer.push(arguments);} | ||
function gtag() { | ||
dataLayer.push(arguments); | ||
} | ||
gtag('js', new Date()); | ||
gtag('config', 'G-HXL07SQFH0'); | ||
</script> | ||
</head> | ||
<body> | ||
</head> | ||
<body> | ||
<header style="text-align: center; background: rgba(255, 255, 255, 0.7); padding: 20px; border-radius: 16px"> | ||
<img src="https://hoangsonww.github.io/WeatherMate-App/utils/logo.png" id="img" onclick="window.location.href='index.html'" title="Click to go back to the home page" style="cursor: pointer" alt="WeatherMate Logo" /> | ||
<h1 id="my-heading">The WeatherMate App</h1> | ||
<div class="error-container"> | ||
<h1>404</h1> | ||
<p>Oops! The page you're looking for can't be found.</p> | ||
<a href="https://hoangsonww.github.io/WeatherMate-App/" class="back-link">Back to Home</a> | ||
</div> | ||
<img | ||
src="https://hoangsonww.github.io/WeatherMate-App/utils/logo.png" | ||
id="img" | ||
onclick="window.location.href='index.html'" | ||
title="Click to go back to the home page" | ||
style="cursor: pointer" | ||
alt="WeatherMate Logo" | ||
/> | ||
<h1 id="my-heading">The WeatherMate App</h1> | ||
<div class="error-container"> | ||
<h1>404</h1> | ||
<p>Oops! The page you're looking for can't be found.</p> | ||
<a href="https://hoangsonww.github.io/WeatherMate-App/" class="back-link">Back to Home</a> | ||
</div> | ||
</header> | ||
</body> | ||
</body> | ||
</html> |
1 change: 1 addition & 0 deletions
1
WeatherMate-Mobile/platforms/android/app/src/main/assets/www/.dockerignore
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
node_modules |
4 changes: 4 additions & 0 deletions
4
WeatherMate-Mobile/platforms/android/app/src/main/assets/www/.gitignore
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,4 @@ | ||
./node_modules/ | ||
|
||
node_modules | ||
.env |
119 changes: 64 additions & 55 deletions
119
WeatherMate-Mobile/platforms/android/app/src/main/assets/www/404.html
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,71 +1,80 @@ | ||
<!DOCTYPE html> | ||
<!doctype html> | ||
<html lang="en"> | ||
<head> | ||
<head> | ||
<meta charset="UTF-8" /> | ||
<meta name="viewport" content="width=device-width, initial-scale=1.0" /> | ||
<title>404 Not Found - The WeatherMate App</title> | ||
<link rel="stylesheet" href="https://hoangsonww.github.io/WeatherMate-App/src/css/style.css" /> | ||
<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/5.15.4/css/all.min.css"> | ||
<link rel="icon" type="image/x-icon" href="https://hoangsonww.github.io/WeatherMate-App/utils/favicon.ico"> | ||
<link rel="manifest" href="https://hoangsonww.github.io/WeatherMate-App/manifest.json"> | ||
<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/5.15.4/css/all.min.css" /> | ||
<link rel="icon" type="image/x-icon" href="https://hoangsonww.github.io/WeatherMate-App/utils/favicon.ico" /> | ||
<link rel="manifest" href="https://hoangsonww.github.io/WeatherMate-App/manifest.json" /> | ||
<style> | ||
body { | ||
background-image: url("https://hoangsonww.github.io/WeatherMate-App/utils/clouds.jpg"); | ||
font-family: "Poppins", sans-serif; | ||
display: flex; | ||
flex-direction: column; | ||
align-items: center; | ||
justify-content: center; | ||
margin: 0; | ||
min-height: 100vh; | ||
background-size: cover; | ||
background-position: center; | ||
background-attachment: fixed; | ||
} | ||
.error-container { | ||
text-align: center; | ||
margin-top: 0; | ||
} | ||
.error-container h1 { | ||
font-size: 6rem; | ||
margin-bottom: 0; | ||
} | ||
.error-container p { | ||
font-size: 1.5rem; | ||
margin-top: 0; | ||
} | ||
.back-link { | ||
font-size: 1.2rem; | ||
color: #ffffff; | ||
text-decoration: none; | ||
padding: 10px 15px; | ||
background-color: #534caf; | ||
border-radius: 5px; | ||
margin-top: 20px; | ||
display: inline-block; | ||
box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2); | ||
} | ||
.back-link:hover { | ||
background-color: #39329f; | ||
} | ||
body { | ||
background-image: url('https://hoangsonww.github.io/WeatherMate-App/utils/clouds.jpg'); | ||
font-family: 'Poppins', sans-serif; | ||
display: flex; | ||
flex-direction: column; | ||
align-items: center; | ||
justify-content: center; | ||
margin: 0; | ||
min-height: 100vh; | ||
background-size: cover; | ||
background-position: center; | ||
background-attachment: fixed; | ||
} | ||
.error-container { | ||
text-align: center; | ||
margin-top: 0; | ||
} | ||
.error-container h1 { | ||
font-size: 6rem; | ||
margin-bottom: 0; | ||
} | ||
.error-container p { | ||
font-size: 1.5rem; | ||
margin-top: 0; | ||
} | ||
.back-link { | ||
font-size: 1.2rem; | ||
color: #ffffff; | ||
text-decoration: none; | ||
padding: 10px 15px; | ||
background-color: #534caf; | ||
border-radius: 5px; | ||
margin-top: 20px; | ||
display: inline-block; | ||
box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2); | ||
} | ||
.back-link:hover { | ||
background-color: #39329f; | ||
} | ||
</style> | ||
<script async src="https://www.googletagmanager.com/gtag/js?id=G-HXL07SQFH0"></script> | ||
<script> | ||
window.dataLayer = window.dataLayer || []; | ||
function gtag(){dataLayer.push(arguments);} | ||
function gtag() { | ||
dataLayer.push(arguments); | ||
} | ||
gtag('js', new Date()); | ||
gtag('config', 'G-HXL07SQFH0'); | ||
</script> | ||
</head> | ||
<body> | ||
</head> | ||
<body> | ||
<header style="text-align: center; background: rgba(255, 255, 255, 0.7); padding: 20px; border-radius: 16px"> | ||
<img src="https://hoangsonww.github.io/WeatherMate-App/utils/logo.png" id="img" onclick="window.location.href='index.html'" title="Click to go back to the home page" style="cursor: pointer" alt="WeatherMate Logo" /> | ||
<h1 id="my-heading">The WeatherMate App</h1> | ||
<div class="error-container"> | ||
<h1>404</h1> | ||
<p>Oops! The page you're looking for can't be found.</p> | ||
<a href="https://hoangsonww.github.io/WeatherMate-App/" class="back-link">Back to Home</a> | ||
</div> | ||
<img | ||
src="https://hoangsonww.github.io/WeatherMate-App/utils/logo.png" | ||
id="img" | ||
onclick="window.location.href='index.html'" | ||
title="Click to go back to the home page" | ||
style="cursor: pointer" | ||
alt="WeatherMate Logo" | ||
/> | ||
<h1 id="my-heading">The WeatherMate App</h1> | ||
<div class="error-container"> | ||
<h1>404</h1> | ||
<p>Oops! The page you're looking for can't be found.</p> | ||
<a href="https://hoangsonww.github.io/WeatherMate-App/" class="back-link">Back to Home</a> | ||
</div> | ||
</header> | ||
</body> | ||
</body> | ||
</html> |
13 changes: 13 additions & 0 deletions
13
WeatherMate-Mobile/platforms/android/app/src/main/assets/www/Dockerfile
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,13 @@ | ||
FROM node:14 | ||
|
||
WORKDIR /src | ||
|
||
COPY package*.json ./ | ||
|
||
RUN npm install | ||
|
||
COPY . . | ||
|
||
EXPOSE 8080 | ||
|
||
CMD ["npm", "start"] |
21 changes: 21 additions & 0 deletions
21
WeatherMate-Mobile/platforms/android/app/src/main/assets/www/LICENSE
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,21 @@ | ||
MIT License | ||
|
||
Copyright (c) 2023 Son Nguyen Hoang | ||
|
||
Permission is hereby granted, free of charge, to any person obtaining a copy | ||
of this software and associated documentation files (the "Software"), to deal | ||
in the Software without restriction, including without limitation the rights | ||
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell | ||
copies of the Software, and to permit persons to whom the Software is | ||
furnished to do so, subject to the following conditions: | ||
|
||
The above copyright notice and this permission notice shall be included in all | ||
copies or substantial portions of the Software. | ||
|
||
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR | ||
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, | ||
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE | ||
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER | ||
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, | ||
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE | ||
SOFTWARE. |
31 changes: 31 additions & 0 deletions
31
WeatherMate-Mobile/platforms/android/app/src/main/assets/www/Pipfile
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,31 @@ | ||
[[source]] | ||
url = "https://pypi.org/simple" | ||
verify_ssl = true | ||
name = "pypi" | ||
|
||
[packages] | ||
django = "*" | ||
flask = "*" | ||
gunicorn = "*" | ||
psycopg2-binary = "*" | ||
djangorestframework = "*" | ||
flask-restful = "*" | ||
flask-sqlalchemy = "*" | ||
flask-migrate = "*" | ||
flask-script = "*" | ||
flask-cors = "*" | ||
requests = "*" | ||
beautifulsoup4 = "*" | ||
lxml = "*" | ||
pillow = "*" | ||
|
||
[dev-packages] | ||
pytest = "*" | ||
pytest-django = "*" | ||
pytest-flask = "*" | ||
flake8 = "*" | ||
black = "*" | ||
isort = "*" | ||
|
||
[requires] | ||
python_version = "3.9" |
Oops, something went wrong.