From 34d77cd777bd44d7bfe0e3ab3379f9be256ca88b Mon Sep 17 00:00:00 2001 From: Karan Jayachandra Date: Sun, 9 Nov 2025 09:56:59 +0100 Subject: Moved to javascript codebase --- app/templates/controls.j2 | 48 ----------------------------------------------- app/templates/games.j2 | 21 --------------------- app/templates/index.j2 | 16 ---------------- app/templates/login.html | 23 ----------------------- app/templates/macros.j2 | 45 -------------------------------------------- app/templates/players.j2 | 40 --------------------------------------- 6 files changed, 193 deletions(-) delete mode 100644 app/templates/controls.j2 delete mode 100644 app/templates/games.j2 delete mode 100644 app/templates/index.j2 delete mode 100644 app/templates/login.html delete mode 100644 app/templates/macros.j2 delete mode 100644 app/templates/players.j2 (limited to 'app/templates') diff --git a/app/templates/controls.j2 b/app/templates/controls.j2 deleted file mode 100644 index 97351bf..0000000 --- a/app/templates/controls.j2 +++ /dev/null @@ -1,48 +0,0 @@ -{% from "macros.j2" import court_button %} -

Timer

-
-
- - - -
- - -
-

Generation

-
- - - -
-
-
- -
-
- -
-
-

Courts

-
-{% for court in courts %} - {{ court_button(court) }} -{% endfor %} -
\ No newline at end of file diff --git a/app/templates/games.j2 b/app/templates/games.j2 deleted file mode 100644 index 00ffb71..0000000 --- a/app/templates/games.j2 +++ /dev/null @@ -1,21 +0,0 @@ -
-

{{ title }}

- - - - - - - - {% for game in games %} - - - {% endfor %} - -
Court Team 1 Team 2
{{ game.court.id }} - {{ game.team_1[0].first_name }}{{ " " + game.team_1[0].last_name }} - {{ game.team_1[1].first_name }}{{ " " + game.team_1[1].last_name }} - {{ game.team_2[0].first_name }}{{ " " + game.team_2[0].last_name }} - {{ game.team_2[1].first_name }}{{ " " + game.team_2[1].last_name }} -
-
\ No newline at end of file diff --git a/app/templates/index.j2 b/app/templates/index.j2 deleted file mode 100644 index af6ca4c..0000000 --- a/app/templates/index.j2 +++ /dev/null @@ -1,16 +0,0 @@ -{% from "macros.j2" import header, footer, navbar %} - - - {{ header(url_for) }} - -
{{ navbar(url_for, login_status) }}
-
-

Games

-
-

Controls

-
-
-
{{ footer() }}
- - - diff --git a/app/templates/login.html b/app/templates/login.html deleted file mode 100644 index e3109b6..0000000 --- a/app/templates/login.html +++ /dev/null @@ -1,23 +0,0 @@ -{% from "macros.j2" import header, footer, navbar %} - - -{{ header(url_for) }} - -
{{ navbar(url_for) }}
-
-
-
- {{ form.csrf_token }} - {{form.username.label(class_="label")}}
{{ form.username(class_="input") }} -

- {{form.password.label(class_="label")}}
{{ form.password(class_="input") }} -

- {% if next %}{% endif %} - - - -
-
{{ footer() }}
- - - \ No newline at end of file diff --git a/app/templates/macros.j2 b/app/templates/macros.j2 deleted file mode 100644 index e82b910..0000000 --- a/app/templates/macros.j2 +++ /dev/null @@ -1,45 +0,0 @@ -{% macro court_button(court) -%} - -{%- endmacro %} - -{% macro player_button(player) -%} - -{%- endmacro %} - -{% macro header(url_for) -%} - - - -Match Up! - - - - - - - - - -{%- endmacro %} - -{% macro footer() -%} -
Made by Karan with
-{%- endmacro %} - - -{% macro navbar(url_for, login_status) -%} - -{%- endmacro %} \ No newline at end of file diff --git a/app/templates/players.j2 b/app/templates/players.j2 deleted file mode 100644 index bacb215..0000000 --- a/app/templates/players.j2 +++ /dev/null @@ -1,40 +0,0 @@ -{% from "macros.j2" import header, navbar, footer, player_button, guest_control %} - - - {{ header(url_for) }} - -
{{ navbar(url_for, login_status) }}
-
-

Members

-
- {% for regular in regulars %} -
{{ player_button(regular) }}
- {% endfor %} -
-

Guests

-
- {% for guest in guests %} -
{{ player_button(guest) }}
- {% endfor %} -
-

Controls

-
- -
-

Player Update

-
-
-
- - -
-
-
-
{{ footer() }}
- -
- - \ No newline at end of file -- cgit v1.3.1