2024-08-11 10:06:27 +02:00
|
|
|
from flask import Flask, render_template, request
|
2024-08-10 22:07:47 +02:00
|
|
|
|
|
|
|
|
app = Flask(__name__)
|
|
|
|
|
|
2024-08-10 22:45:08 +02:00
|
|
|
@app.get("/")
|
2024-08-11 12:07:16 +02:00
|
|
|
def get_owned():
|
2024-08-10 22:45:08 +02:00
|
|
|
return render_template('owned.jinja')
|
2024-08-10 22:07:47 +02:00
|
|
|
|
2024-08-11 12:07:16 +02:00
|
|
|
@app.get("/wishlist")
|
|
|
|
|
def get_wishlist():
|
|
|
|
|
return render_template('wishlist.jinja')
|
|
|
|
|
|
2024-08-10 22:45:08 +02:00
|
|
|
@app.get("/boardgame")
|
|
|
|
|
def get_boardgame():
|
2024-08-11 12:07:16 +02:00
|
|
|
return render_template('boardgame.jinja')
|
|
|
|
|
|
2024-08-11 23:04:30 +02:00
|
|
|
|
|
|
|
|
@app.get('/statistics')
|
|
|
|
|
def get_statistics():
|
2024-08-14 08:49:46 +02:00
|
|
|
return render_template('statistics.jinja')
|
|
|
|
|
|
|
|
|
|
@app.get('/plays')
|
|
|
|
|
def get_plays():
|
|
|
|
|
return render_template('plays.jinja')
|