diff --git a/servicePoints/__pycache__/__init__.cpython-36.pyc b/servicePoints/__pycache__/__init__.cpython-36.pyc index 3b9f86fdb09842fb553dfe31b07443b54edf07e2..b890e80cc2b9d8fb67beb2525dc9b78ddd312088 100644 Binary files a/servicePoints/__pycache__/__init__.cpython-36.pyc and b/servicePoints/__pycache__/__init__.cpython-36.pyc differ diff --git a/servicePoints/__pycache__/config.cpython-36.pyc b/servicePoints/__pycache__/config.cpython-36.pyc index 6d4a0ecf4812b40677a7872f42695f747ef2ec0b..7819c87184adca4b2189b0bb5511bcb4c6f8f407 100644 Binary files a/servicePoints/__pycache__/config.cpython-36.pyc and b/servicePoints/__pycache__/config.cpython-36.pyc differ diff --git a/servicePoints/__pycache__/model.cpython-36.pyc b/servicePoints/__pycache__/model.cpython-36.pyc index 00d61decb3cead3292a7750be36cff1502334d8d..86bb7b3a23476b2371ea8739ac81138b684f2091 100644 Binary files a/servicePoints/__pycache__/model.cpython-36.pyc and b/servicePoints/__pycache__/model.cpython-36.pyc differ diff --git a/servicePoints/templates/index.html b/servicePoints/templates/index.html index 47ab30efc26f15ef11fadd352e1bd8bb52131f33..9891e216d564ca2bd7a27c5ee8649faae9f3dee0 100644 --- a/servicePoints/templates/index.html +++ b/servicePoints/templates/index.html @@ -5,5 +5,6 @@ <title>ServicePoints</title> <a href="/accounts/logout/">logout</a> <a href="/accounts/delete/">delete</a> + <a href="/accounts/mask/">mask</a> </head> </html> diff --git a/servicePoints/templates/mask.html b/servicePoints/templates/mask.html new file mode 100644 index 0000000000000000000000000000000000000000..26466ba6a396e9557451422d34b3d9e7c9fd7de1 --- /dev/null +++ b/servicePoints/templates/mask.html @@ -0,0 +1,41 @@ +<!DOCTYPE html> +<html> +<head> + <link rel="stylesheet" type="text/css" href="/css/style.css"> + <title>How to make a mask:</title> + <style> + * { + box-sizing: border-box; + } + + .column { + float: left; + width: 50%; + padding: 10px; + } + + </style> + + <a href="/">Home</a> +</head> +<body> + <h1 style="text-align:center">How to Make and Donate Masks</h1> + + <div> + <div class="column" style="border-right:1px solid;"> + <h2 style="text-align:center">How to Make Masks</h2> + <p>Text with simple directions and list of what is needed. Also embedded video(s) below with more indepth directions</p> + <div style="text-align:center"> + <iframe width="560" height="315" src="https://www.youtube.com/embed/VgHrnS6n4iA" frameborder="0" + allow="accelerometer; autoplay; encrypted-media; gyroscope; picture-in-picture" allowfullscreen></iframe> + </div> + </div> + <div class="column"> + <h2 style="text-align:center">Where to donate masks</h2> + <p>Text and donation links</p> + </div> + </div> + +</body> + +</html> diff --git a/servicePoints/views/__pycache__/__init__.cpython-36.pyc b/servicePoints/views/__pycache__/__init__.cpython-36.pyc index c87c81fbd854ca4f93410789efce751ee710bd73..180037e3f49e55ada44d0f5f95254730be1535b7 100644 Binary files a/servicePoints/views/__pycache__/__init__.cpython-36.pyc and b/servicePoints/views/__pycache__/__init__.cpython-36.pyc differ diff --git a/servicePoints/views/__pycache__/accounts.cpython-36.pyc b/servicePoints/views/__pycache__/accounts.cpython-36.pyc index 3cb0c4ddf8b903b2865fc47105808f807bf177a3..a9c6c8cd912ccd7d4a422c9e00d7679dfcaa9305 100644 Binary files a/servicePoints/views/__pycache__/accounts.cpython-36.pyc and b/servicePoints/views/__pycache__/accounts.cpython-36.pyc differ diff --git a/servicePoints/views/accounts.py b/servicePoints/views/accounts.py index d0160b7ada0ef37e468731a143bc79d3c93079c2..4d6105506eecb2151d218aab710ecc2942535ea1 100644 --- a/servicePoints/views/accounts.py +++ b/servicePoints/views/accounts.py @@ -222,3 +222,9 @@ def incompleteForm(prev): return flask.redirect(flask.url_for(prev)) context = {"prev": prev} return render_template('incompleteForm.html', **context) + +@servicePoints.app.route('/accounts/mask/') +def mask(): + context = {} + return render_template('mask.html', **context) + diff --git a/var/servicePoints.sqlite3 b/var/servicePoints.sqlite3 index 37c9916f2a06b154765e141dbaf03c370f0cc320..a77f946ef28eb1357e2030f2d6a071479f3a9c43 100644 Binary files a/var/servicePoints.sqlite3 and b/var/servicePoints.sqlite3 differ