From 8ed7f57f607912220a2a7e8db5c8956739b5227f Mon Sep 17 00:00:00 2001 From: Karan Jayachandra Date: Fri, 15 Nov 2024 12:03:39 +0100 Subject: Added the javascript timer to remove backend calls --- src/match_up/templates/macros.j2 | 31 ++++++++++++++++++++++++------- 1 file changed, 24 insertions(+), 7 deletions(-) (limited to 'src/match_up/templates') diff --git a/src/match_up/templates/macros.j2 b/src/match_up/templates/macros.j2 index 7e1f6bd..e7d14ff 100644 --- a/src/match_up/templates/macros.j2 +++ b/src/match_up/templates/macros.j2 @@ -16,12 +16,6 @@ {%- endmacro %} -{% macro timer(mins, secs) -%} -
-

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

-
-{%- endmacro %} - {% macro header(url_for) -%} @@ -29,7 +23,11 @@ Match Up! + + + + {%- endmacro %} @@ -61,7 +59,26 @@

-
+
+
+

+ + + + +

+
+
+
+
{%- endmacro %} \ No newline at end of file -- cgit v1.3.1