Skip to content
Snippets Groups Projects
Commit 87a76e11 authored by mrschnei's avatar mrschnei
Browse files

Added food and blood drive pages

parent e37972df
No related branches found
No related tags found
No related merge requests found
<!DOCTYPE html>
<html>
<head>
<link rel="stylesheet" type="text/css" href="/css/style.css">
<title>Blood Drives</title>
<a href="/">Home</a>
</head>
<body>
<h1 style="text-align:center">Blood Drives</h1>
</body>
</html>
<!DOCTYPE html>
<html>
<head>
<link rel="stylesheet" type="text/css" href="/css/style.css">
<title>Food Drives</title>
<a href="/">Home</a>
</head>
<body>
<h1 style="text-align:center">Food Drives</h1>
</body>
</html>
...@@ -12,11 +12,11 @@ ...@@ -12,11 +12,11 @@
<a href="/accounts/mask/"> <a href="/accounts/mask/">
<img src=/images/mask.png alt="mask"> <img src=/images/mask.png alt="mask">
</a> </a>
<a href="/accounts/mask/"> <a href="/accounts/blood/">
<img src=/images/blood.png alt="mask"> <img src=/images/blood.png alt="blood">
</a> </a>
<a href="/accounts/mask/"> <a href="/accounts/food/">
<img src=/images/food.png alt="mask"> <img src=/images/food.png alt="food">
</a> </a>
<a href="/accounts/tutorsu/"> <a href="/accounts/tutorsu/">
<img src=/images/tutor.png alt="tutorsu"> <img src=/images/tutor.png alt="tutorsu">
......
...@@ -253,6 +253,16 @@ def mask(): ...@@ -253,6 +253,16 @@ def mask():
context = {} context = {}
return render_template('mask.html', **context) return render_template('mask.html', **context)
@servicePoints.app.route('/accounts/blood/')
def blood():
context = {}
return render_template('blood.html', **context)
@servicePoints.app.route('/accounts/food/')
def food():
context = {}
return render_template('food.html', **context)
@servicePoints.app.route('/images/<path:filename>', methods=['GET', 'POST']) @servicePoints.app.route('/images/<path:filename>', methods=['GET', 'POST'])
def images(filename): def images(filename):
if "username" in flask.session: if "username" in flask.session:
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment