From 9e4d2e031d0e0ad2783b47ae5bb8fe8f9cd87d5d Mon Sep 17 00:00:00 2001 From: Stef Date: Thu, 4 Sep 2025 08:18:26 +0200 Subject: [PATCH] Experimenting with chart.js --- app.py | 5 +++++ mem/templates/chart.html | 45 ++++++++++++++++++++++++++++++++++++++++ 2 files changed, 50 insertions(+) create mode 100644 mem/templates/chart.html diff --git a/app.py b/app.py index 93418cd..b3a827f 100644 --- a/app.py +++ b/app.py @@ -37,6 +37,11 @@ def homepage(): return render_template("home.html", services=services) +@app.route("/chart") +def chart(): + return render_template("chart.html") + + @app.route("/api/status") def status(): results: list[dict[str, Any]] = [] diff --git a/mem/templates/chart.html b/mem/templates/chart.html new file mode 100644 index 0000000..44aacfa --- /dev/null +++ b/mem/templates/chart.html @@ -0,0 +1,45 @@ + + + + + + Chart + + + + +
+ +
+ + + + + + + + \ No newline at end of file