From 8050cb702baf3f28f3c92b9cd4eef533ef0b42fb Mon Sep 17 00:00:00 2001 From: Hailey Date: Thu, 10 Oct 2019 01:53:01 -0700 Subject: [PATCH] Variable changes Moving more variables to the template --- app_settings.py | 5 ++--- static/main.css | 6 +++--- templates/about.html | 2 ++ templates/settings.html | 4 ++-- templates/tos.html | 1 + 5 files changed, 10 insertions(+), 8 deletions(-) diff --git a/app_settings.py b/app_settings.py index 7ce6e25..aa551cc 100644 --- a/app_settings.py +++ b/app_settings.py @@ -23,7 +23,7 @@ else: @app.route('/settings') def appsettings(): if not google_auth.is_logged_in(): - return flask.render_template('deny.html', denymsg = "I don't know who you are so I can't help you with your settings. :(", loggedin = False) + return flask.render_template('deny.html', denymsg = "I don't know who you are so I can't help you with your user settings. :(", loggedin = False) user_info = google_auth.get_user_info() refreshtoken = google_auth.getRefreshToken() @@ -36,7 +36,6 @@ def appsettings(): rows = appdb.getDIDsbyAccount(userid) dbEmail = appdb.getInfobyEmail(user_info['email']) return flask.render_template('settings.html', - name = user_info['name'], - email = user_info['email'], + user_info = user_info, dids = rows, loggedin = True) diff --git a/static/main.css b/static/main.css index d8b1b67..cfeaa57 100644 --- a/static/main.css +++ b/static/main.css @@ -36,7 +36,7 @@ a:disabled {color: #9BB291;} border: dotted; border-color: #AF3E4D; padding: 1em; - + } #chat-director { @@ -54,9 +54,9 @@ a:disabled {color: #9BB291;} } #right-side { float: right; - text-align: right; + text-align: right; } .smsbody { font-size:2em; color: #B0C592; -} \ No newline at end of file +} diff --git a/templates/about.html b/templates/about.html index 5e28b72..4b3187f 100644 --- a/templates/about.html +++ b/templates/about.html @@ -12,6 +12,8 @@

We're all about getting thewords out and allowing us to communicate securely to friends and loved ones.

This site is still under active development and subject to change. For those who are interested in helping with development or testing hit me up on my GitHub sms-proj Page.

+

We aim to take bitcoin and other crypto currencies to allow people to use SMS at home on their computer or on the go as + a backup on their phone or tablet.