From 5afeefa0baca6ed2f3ed98f78ceccdffebf627eb Mon Sep 17 00:00:00 2001 From: Simple_Not <44047940+moonbaseDelta@users.noreply.github.com> Date: Sun, 16 Jul 2023 02:32:19 +1000 Subject: [PATCH] rm styles --- .gitignore | 3 +- app.py | 22 ----------- .../8c84df14289a035a76f81d7b0a3d4005 | Bin 23 -> 0 bytes .../bbecb40acf7492b5144d90976cc67d1d | Bin 47 -> 0 bytes templates/page1.html | 36 ------------------ templates/todo.html | 15 -------- 6 files changed, 2 insertions(+), 74 deletions(-) delete mode 100644 static/.webassets-cache/8c84df14289a035a76f81d7b0a3d4005 delete mode 100644 static/.webassets-cache/bbecb40acf7492b5144d90976cc67d1d delete mode 100644 templates/page1.html delete mode 100644 templates/todo.html diff --git a/.gitignore b/.gitignore index ed8ebf5..6f9abc7 100644 --- a/.gitignore +++ b/.gitignore @@ -1 +1,2 @@ -__pycache__ \ No newline at end of file +__pycache__ +static/.webassets_cache \ No newline at end of file diff --git a/app.py b/app.py index 9c52128..a3d7f3a 100644 --- a/app.py +++ b/app.py @@ -109,29 +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__": app.run(debug=True, host='0.0.0.0') \ No newline at end of file diff --git a/static/.webassets-cache/8c84df14289a035a76f81d7b0a3d4005 b/static/.webassets-cache/8c84df14289a035a76f81d7b0a3d4005 deleted file mode 100644 index 3f649da37a4ee8a3d3304dd78703a0c691e73630..0000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 23 ZcmZo*naaZe0X-aPX~xMZ76xWh^Z+sk1mFMw diff --git a/static/.webassets-cache/bbecb40acf7492b5144d90976cc67d1d b/static/.webassets-cache/bbecb40acf7492b5144d90976cc67d1d deleted file mode 100644 index c30048dbd334e3eddc6380cf6cf75262461b8cad..0000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 47 wcmZo*nX1A70X+&9mIjuo=9bCHCT0eSW|k&qrfC*NscGisiAE_FK;9HR0PE8W0RR91 diff --git a/templates/page1.html b/templates/page1.html deleted file mode 100644 index d383a52..0000000 --- a/templates/page1.html +++ /dev/null @@ -1,36 +0,0 @@ -{% extends "base.html" %} - -{% block content %} - -