From a31337f0f2161cba6b82442345e1021190974c57 Mon Sep 17 00:00:00 2001 From: bton Date: Sun, 2 Jun 2024 12:52:09 +0200 Subject: [PATCH] max and min value in user --- Website/__init__.py | 2 +- Website/templates/user.html | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/Website/__init__.py b/Website/__init__.py index 8220179..5be458b 100644 --- a/Website/__init__.py +++ b/Website/__init__.py @@ -123,7 +123,7 @@ def create_app(test_config=None): if user != None : c.execute(f"SELECT * FROM tags WHERE userid={user[0]}") tags = c.fetchall() - return render_template("user.html", user=user, tags=tags) + return render_template("user.html", user=user, tags=tags, min_value=-50000) else: return render_template("error.html", error_code="043") diff --git a/Website/templates/user.html b/Website/templates/user.html index fd111d0..79365fc 100644 --- a/Website/templates/user.html +++ b/Website/templates/user.html @@ -23,7 +23,7 @@

- +