diff --git a/main.py b/main.py index 4b2d28f..92be86b 100644 --- a/main.py +++ b/main.py @@ -61,8 +61,9 @@ def list(): text = "" for i in users: text = text + f'

{escape(i[1])}: {i[2]}

Change balance:



' - return ''' - + return ''' + {% extends 'base.html' %} + {% block content %} - {{ extends 'base.html' }}

1 Credit = 1,50 Euro

Search for User:


- ''' + text + 'Doumentation' + ''' + text + 'Doumentation {% block content %}' @app.route("/list/user", methods=['GET']) def user_info(): diff --git a/templates/base.html b/templates/base.html index 0044bb0..0925b8d 100644 --- a/templates/base.html +++ b/templates/base.html @@ -1,8 +1,17 @@ + + + {% block title %} {% endblock %} - FlaskApp + + +
+
+ {% block content %} {% endblock %} +
\ No newline at end of file