Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Cahnges! #8

Open
wants to merge 8 commits into
base: master
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Binary file added .DS_Store
Binary file not shown.
3 changes: 3 additions & 0 deletions .vscode/settings.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
{
"makefile.extensionOutputFolder": "./.vscode"
}
2 changes: 1 addition & 1 deletion LICENSE
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
MIT License

Copyright (c) 2018 Luiz Lima
Copyright (c) Seb

Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
Expand Down
65 changes: 0 additions & 65 deletions README.md

This file was deleted.

4 changes: 2 additions & 2 deletions app.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "flask-pwa",
"repository": "https://github.com/umluizlima/flask-pwa",
"name": "joyseb",
"repository": "https://github.com/seduerr91/assistant",
"env": {
"SECRET_KEY": {
"description": "Secret key for Flask.",
Expand Down
Binary file added app/.DS_Store
Binary file not shown.
13 changes: 12 additions & 1 deletion app/controller/main.py
Original file line number Diff line number Diff line change
Expand Up @@ -8,4 +8,15 @@
@bp.route('/')
def index():
return render_template('main/index.html',
title='Flask-PWA')
title='Joy & Seb will marry')


@bp.route('/get_paraphrase', methods=['post'])
def get_paraphrase():
try:
str_response = [1,2,3]
return app.response_class(response=json.dumps(str_response), status=200, mimetype='application/json')
except Exception as error:
err = str(error)
print(err)
return app.response_class(response=json.dumps(err), status=500, mimetype='application/json')
6 changes: 0 additions & 6 deletions app/model.py

This file was deleted.

Binary file added app/static/.DS_Store
Binary file not shown.
3 changes: 1 addition & 2 deletions app/static/css/style.css
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
--default-primary-color: #555555;
--light-primary-color: #D7CCC8;
--text-color: #FFFFFF;
--accent-color: chartreuse;
--accent-color: #FFFFFF;
--primary-text-color: #212121;
--secondary-text-color: cornflowerblue;
--divider-color: #BDBDBD;
Expand Down Expand Up @@ -115,7 +115,6 @@ a {
img {
display: block;
width: 100%;
height: 200px;
margin: auto;
}

Expand Down
Binary file modified app/static/favicon.ico
Binary file not shown.
Binary file added app/static/images/.DS_Store
Binary file not shown.
Binary file modified app/static/images/flasks.jpg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added app/static/images/icons/.DS_Store
Binary file not shown.
Binary file removed app/static/images/icons/icon-128x128.png
Binary file not shown.
Binary file removed app/static/images/icons/icon-144x144.png
Binary file not shown.
Binary file removed app/static/images/icons/icon-152x152.png
Binary file not shown.
Binary file added app/static/images/icons/icon-16x16.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added app/static/images/icons/icon-180-180.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified app/static/images/icons/icon-192x192.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added app/static/images/icons/icon-32x32.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file removed app/static/images/icons/icon-384x384.png
Binary file not shown.
Binary file added app/static/images/icons/icon-48x48.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified app/static/images/icons/icon-512x512.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file removed app/static/images/icons/icon-72x72.png
Binary file not shown.
Binary file removed app/static/images/icons/icon-96x96.png
Binary file not shown.
6 changes: 3 additions & 3 deletions app/static/manifest.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"name": "Flask-PWA",
"short_name": "Flask-PWA",
"description": "A progressive webapp template built with Flask",
"name": "JoySeb",
"short_name": "JoySeb",
"description": "We say yes",
"theme_color": "transparent",
"background_color": "transparent",
"display": "standalone",
Expand Down
2 changes: 1 addition & 1 deletion app/templates/layout.html
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,6 @@ <h1><a href="/">{{ title }}</a></h1>
</main>

<footer>
<p>available on <a href="https://github.com/umluizlima/flask-pwa" target="_blank" rel="noopener">GitHub</a></p>
<p>available on <a href="https://github.com/seduerr91/assistant" target="_blank" rel="noopener">GitHub</a></p>
</footer>
{% endblock %}
18 changes: 12 additions & 6 deletions app/templates/main/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -5,12 +5,18 @@
<img src="{{ url_for('static', filename='images/flasks.jpg') }}" alt="">
</header>
<main>
<h2>Flask PWA</h2>
<span>A progressive webapp template</span>
<p>Flask PWA is supposed to be a goto template when
I start a new Flask project. It is constructed on
a Model-Template-Controller perspective, which I
find clear enough for my current projects.</p>
<h2>Joy & Seb will marry</h2>
<span>September 2, 2022</span>
<p>
Dear Friends and Family,

We are thrilled to announce that we will be getting married on September 2, 2022 at 4:30 pm. We are so excited to spend
the rest of our lives together and we are so happy to say yes! We hope to see you there to celebrate our special day
with us!<br>
Love, <br>
Joy and Seb<br><br>

</p>
</main>
<footer>
<button id="btnAdd">Install App</button>
Expand Down