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

Added food and blood drive pages

parent e37972df
Branches
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 @@
<a href="/accounts/mask/">
<img src=/images/mask.png alt="mask">
</a>
<a href="/accounts/mask/">
<img src=/images/blood.png alt="mask">
<a href="/accounts/blood/">
<img src=/images/blood.png alt="blood">
</a>
<a href="/accounts/mask/">
<img src=/images/food.png alt="mask">
<a href="/accounts/food/">
<img src=/images/food.png alt="food">
</a>
<a href="/accounts/tutorsu/">
<img src=/images/tutor.png alt="tutorsu">
......
......@@ -253,6 +253,16 @@ def mask():
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'])
def images(filename):
if "username" in flask.session:
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment