From 12a6be6e50735c7b6bc5c3204433b8374d9c6113 Mon Sep 17 00:00:00 2001 From: "S.W.S. de Zeeuw" Date: Sat, 12 Dec 2020 07:34:19 +0100 Subject: [PATCH] Added trade page --- app/main/routes.py | 5 +++++ app/templates/base.html | 1 + app/templates/trade.html | 23 +++++++++++++++++++++++ 3 files changed, 29 insertions(+) create mode 100644 app/templates/trade.html diff --git a/app/main/routes.py b/app/main/routes.py index a5c8c69..c1164e8 100644 --- a/app/main/routes.py +++ b/app/main/routes.py @@ -62,6 +62,11 @@ def explore(): posts=posts.items, next_url=next_url, prev_url=prev_url) +@bp.route('/trade') +@login_required +def trade(): + return render_template('trade.html', title=_('Trade')) + @bp.route('/user/') @login_required diff --git a/app/templates/base.html b/app/templates/base.html index eacee92..6f54d79 100644 --- a/app/templates/base.html +++ b/app/templates/base.html @@ -20,6 +20,7 @@ {% if g.search_form %} +{% endblock %}