Add race countdown
All checks were successful
Build Formula10 Docker Image / build-docker (push) Successful in 15s
All checks were successful
Build Formula10 Docker Image / build-docker (push) Successful in 15s
This commit is contained in:
@ -4,8 +4,11 @@ from flask_sqlalchemy import SQLAlchemy
|
||||
app: Flask = Flask(__name__)
|
||||
app.config['SQLALCHEMY_DATABASE_URI'] = "sqlite:///formula10.db"
|
||||
app.config['SQLALCHEMY_TRACK_MODIFICATIONS'] = False
|
||||
|
||||
# Session cookie is used to propagate message to error page
|
||||
app.config['SESSION_TYPE'] = 'memcached'
|
||||
app.config['SECRET_KEY'] = 'ich stinke nach maggi'
|
||||
|
||||
app.url_map.strict_slashes = False
|
||||
|
||||
db: SQLAlchemy = SQLAlchemy()
|
||||
@ -22,17 +25,9 @@ import formula10.controller.error_controller
|
||||
# TODO
|
||||
# General
|
||||
|
||||
# Date stuff:
|
||||
# - Date lock race guess entering + race result entering + season guess entering (frontend + backend)
|
||||
# - Some info popup that can be populated
|
||||
# - Show timer until next race?
|
||||
|
||||
# - Choose "place to guess" late before the race? Make a page for this?
|
||||
# - Store currently active user inside cookie
|
||||
|
||||
# - Make user order changeable using drag'n'drop?
|
||||
# - Show place when entering race result (would require updating the drag'n'drop code...)
|
||||
# - Show cards of previous race results, like with season guesses?
|
||||
# - Don't write full 2024 date, just 24 or leave out completely, to make column smaller
|
||||
|
||||
# Statistics
|
||||
@ -40,4 +35,8 @@ import formula10.controller.error_controller
|
||||
# - Auto calculate points
|
||||
# - Order user table by points + display points somewhere
|
||||
# - Highlight currently correct values for some season guesses (e.g. current most dnfs)
|
||||
# - Generate static diagram using chart.js + templating the js (funny yikes)
|
||||
# - Generate static diagram using chart.js + templating the js (funny yikes)
|
||||
|
||||
# Possible but probably not
|
||||
# - Show cards of previous race results, like with season guesses?
|
||||
# - Make user order changeable using drag'n'drop?
|
Reference in New Issue
Block a user