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' %}