From 60a489cfb3fb7a12a06212c2c7ed3c05cd0757b5 Mon Sep 17 00:00:00 2001 From: Karan Jayachandra Date: Fri, 25 Oct 2024 18:03:18 +0200 Subject: Moved the files into a folder structure --- templates/controls.j2 | 56 ------------------------------------------ templates/games.j2 | 21 ---------------- templates/index.j2 | 13 ---------- templates/macros.j2 | 67 --------------------------------------------------- templates/players.j2 | 17 ------------- 5 files changed, 174 deletions(-) delete mode 100644 templates/controls.j2 delete mode 100644 templates/games.j2 delete mode 100644 templates/index.j2 delete mode 100644 templates/macros.j2 delete mode 100644 templates/players.j2 (limited to 'templates') diff --git a/templates/controls.j2 b/templates/controls.j2 deleted file mode 100644 index 6ba724a..0000000 --- a/templates/controls.j2 +++ /dev/null @@ -1,56 +0,0 @@ -{% from "macros.j2" import court %} -
-
- {% for key, value in courts.items() %} - {{ court(key, value) }} - {% endfor %} -
-
-
-
-
-
- -
-
-
- -
-
-
-
-
- -
-
-
- -
-
-
- -
-
- -
-
\ No newline at end of file diff --git a/templates/games.j2 b/templates/games.j2 deleted file mode 100644 index d5afef1..0000000 --- a/templates/games.j2 +++ /dev/null @@ -1,21 +0,0 @@ - - - - - - - - - - -{% for game in games %} - - - -{% endfor %} - -
{{ title }}
Court Team 1 Team 2
{{ game.court }}{{ game.team1.player1 }} - {{ game.team1.player2 }} - {{ game.team2.player1 }} - {{ game.team2.player2 }} -
\ No newline at end of file diff --git a/templates/index.j2 b/templates/index.j2 deleted file mode 100644 index 832dbfb..0000000 --- a/templates/index.j2 +++ /dev/null @@ -1,13 +0,0 @@ -{% from "macros.j2" import header, footer, navbar %} - - - {{ header() }} - -
- {{ navbar() }} -
-
- {{ footer() }} -
- - diff --git a/templates/macros.j2 b/templates/macros.j2 deleted file mode 100644 index 8d05bb0..0000000 --- a/templates/macros.j2 +++ /dev/null @@ -1,67 +0,0 @@ -{% macro court(id, status) -%} - -{%- endmacro %} - -{% macro player(id, status, name) -%} - -{%- endmacro %} - -{% macro guests(count) -%} -
- -
-{%- endmacro %} - -{% macro timer(mins, secs) -%} -
-

⏲️ {{mins}}:{{secs}}

-
-{%- endmacro %} - -{% macro header() -%} - - - - Match Up! - - - - - -{%- endmacro %} - -{% macro footer() -%} -
Made by Karan using Flask, HTMX and Bulma
-{%- endmacro %} - -{% macro navbar() -%} - -{%- endmacro %} \ No newline at end of file diff --git a/templates/players.j2 b/templates/players.j2 deleted file mode 100644 index ae6afe0..0000000 --- a/templates/players.j2 +++ /dev/null @@ -1,17 +0,0 @@ -{% from "macros.j2" import header, navbar, footer, player %} - - - {{ header() }} - -
- {{ navbar() }} -
-
- {% for id, value in players.items() %} -
{{ player(id, value.status, value.name) }}
- {% endfor %} -
- {{ footer() }} -
- - \ No newline at end of file -- cgit v1.3.1