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 3f649da..0000000 Binary files a/static/.webassets-cache/8c84df14289a035a76f81d7b0a3d4005 and /dev/null differ diff --git a/static/.webassets-cache/bbecb40acf7492b5144d90976cc67d1d b/static/.webassets-cache/bbecb40acf7492b5144d90976cc67d1d deleted file mode 100644 index c30048d..0000000 Binary files a/static/.webassets-cache/bbecb40acf7492b5144d90976cc67d1d and /dev/null differ 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 %} - -