Вы тут: /{{board_id}}
-From 6e9587e074373a40cbb405a3b4c0d23e42a61435 Mon Sep 17 00:00:00 2001 From: Simple_Not <44047940+moonbaseDelta@users.noreply.github.com> Date: Tue, 18 Jul 2023 23:24:39 +1000 Subject: [PATCH] check many hexes --- app.py | 21 ------------- templates/board.html | 26 --------------- templates/page1.html | 36 --------------------- templates/posts.html | 75 -------------------------------------------- templates/todo.html | 15 --------- 5 files changed, 173 deletions(-) delete mode 100644 templates/board.html delete mode 100644 templates/page1.html delete mode 100644 templates/posts.html delete mode 100644 templates/todo.html diff --git a/app.py b/app.py index e2091f6..2adab5a 100644 --- a/app.py +++ b/app.py @@ -109,28 +109,7 @@ def post_a_post(post_key): # def post_a_file(): # pass - -### stolen -@app.route("/todo") -def page_todo(): - return render_template("page1.html") - -@app.route("/search", methods=["POST"]) -def search_todo(): - search_term = request.form.get("search") - - if not len(search_term): - return render_template("todo.html", host_id=docker_short_id, todos=[]) - - res_todos = [] - for todo in todos: - if search_term in todo["title"]: - res_todos.append(todo) - - return render_template("todo.html", host_id=docker_short_id, todos=res_todos) -### /stolen - if __name__ == "__main__": diff --git a/templates/board.html b/templates/board.html deleted file mode 100644 index c12d10d..0000000 --- a/templates/board.html +++ /dev/null @@ -1,26 +0,0 @@ -{% extends "base.html" %} - -{% block content %} - -
Вы тут: /{{board_id}}
-