From 6c4235bed16eb23bcabdf87ed5fd6228a7ca3160 Mon Sep 17 00:00:00 2001 From: Simple_Not <44047940+moonbaseDelta@users.noreply.github.com> Date: Thu, 13 Jul 2023 01:05:54 +1000 Subject: [PATCH] now we counting --- app.py | 12 ++++++++++-- templates/board.html | 39 --------------------------------------- 2 files changed, 10 insertions(+), 41 deletions(-) diff --git a/app.py b/app.py index 691c0bc..3c13e8b 100644 --- a/app.py +++ b/app.py @@ -48,8 +48,7 @@ def homepage(): docker_short_id = socket.gethostname() return render_template("main-page.html", host_id=docker_short_id, boards=board_list) - -### stolen + @app.route("/boards/") def page_board(board_id): @@ -57,6 +56,15 @@ def page_board(board_id): return render_template("board.html", board_id=board_id, boards=board_list, board_threads=b_threads) +@app.route('/post_my_post', method=['POST']) +def post_a_post(): + pass + +@app.route('/post_my_file', method=['POST']) +def post_a_file(): + pass + + ### stolen @app.route("/todo") def page_todo(): diff --git a/templates/board.html b/templates/board.html index fa11e48..250e8fd 100644 --- a/templates/board.html +++ b/templates/board.html @@ -20,45 +20,6 @@ - - -
  • {% include 'posts.html' %}