adding missing files

This commit is contained in:
2025-11-03 21:43:13 -06:00
parent efdf3570c5
commit 0443d1553f
36 changed files with 1765 additions and 0 deletions

16
app/blueprints/ajax.py Normal file
View File

@@ -0,0 +1,16 @@
from flask import Blueprint, request, url_for, render_template, session,flash
from app.services.appwrite_client import AppWriteClient
ajax_bp = Blueprint("ajax", __name__, url_prefix="/ajax")
@ajax_bp.route("/races", methods=["GET", "POST"])
def races():
race = request.args.get("race")
return render_template(f"ajax/race_{race}.html")
@ajax_bp.route("/prof", methods=["GET", "POST"])
def professions():
prof = request.args.get("prof")
return render_template(f"ajax/prof_{prof}.html")