From 0d0e029def849edd92ee88c2e02a2cddf8192ce6 Mon Sep 17 00:00:00 2001 From: PincessWoona <168177920+PincessWoona@users.noreply.github.com> Date: Wed, 8 May 2024 11:12:39 +0300 Subject: [PATCH] add modal window --- app.py | 4 ---- templates/index.html | 27 +++++++++++++++++++++++---- 2 files changed, 23 insertions(+), 8 deletions(-) diff --git a/app.py b/app.py index e79a77d..6b43f31 100644 --- a/app.py +++ b/app.py @@ -16,10 +16,6 @@ def index(): return render_template("index.html", images=images) return render_template("index.html") -@app.route("/about", methods=["GET", "POST"]) -def about(): - return render_template("about.html") - def search_images(search_query, num_images): images = [] # Derpibooru API diff --git a/templates/index.html b/templates/index.html index eae5177..737e5a0 100644 --- a/templates/index.html +++ b/templates/index.html @@ -50,13 +50,32 @@