diff options
| author | Karan Jayachandra <karan.jayachandra@nxp.com> | 2024-10-16 23:57:24 +0200 |
|---|---|---|
| committer | Karan Jayachandra <karan.jayachandra@nxp.com> | 2024-10-16 23:57:24 +0200 |
| commit | a355423ff7566ff1d38bfa1627ec5b7ffa4b6bdc (patch) | |
| tree | a1d9ae0e6dd81238a0e3cb142b13cb8d68d3699b /app.py | |
| parent | 36cc7d82a55cbd8167e1f52637dd1938497dd8cc (diff) | |
Cleaned up the layout a bit
Diffstat (limited to 'app.py')
| -rw-r--r-- | app.py | 5 |
1 files changed, 5 insertions, 0 deletions
@@ -27,6 +27,11 @@ def get_time(): return render_template(t, mins=mins, secs=secs) +@app.route("/control", methods=["GET"]) +def get_controls(): + return render_template("controls.j2", courts=rg.courts.get_courts()) + + @app.route("/guests", methods=["GET"]) def get_guests(): t = re.from_string('{% from "macros.j2" import guests %}{{guests(count)}}') |
