From c6c9925da01f16f78d745801e2e72d359c359f1d Mon Sep 17 00:00:00 2001 From: Peter Stockings Date: Tue, 15 Aug 2023 22:31:08 +1000 Subject: [PATCH] Attempt to improve initial page load by adding defer attribute to scripts, will attempt to add defer to inline scripts as well soon --- templates/base.html | 38 ++++++++++++++------------- templates/calendar.html | 2 +- templates/dashboard.html | 8 +++--- templates/partials/topset.html | 2 +- templates/partials/workout_modal.html | 2 +- templates/partials/workout_tags.html | 2 +- templates/person.html | 6 ++--- 7 files changed, 31 insertions(+), 29 deletions(-) diff --git a/templates/base.html b/templates/base.html index 13bc9b8..7aa5384 100644 --- a/templates/base.html +++ b/templates/base.html @@ -6,27 +6,32 @@ Workout Tracker - + - + - + + + + - - \ No newline at end of file diff --git a/templates/calendar.html b/templates/calendar.html index bfc18ed..76d3b26 100644 --- a/templates/calendar.html +++ b/templates/calendar.html @@ -49,7 +49,7 @@ diff --git a/templates/dashboard.html b/templates/dashboard.html index 938bdfe..92494d4 100644 --- a/templates/dashboard.html +++ b/templates/dashboard.html @@ -22,7 +22,7 @@ - +
@@ -43,7 +43,7 @@
- +
{% endif %} diff --git a/templates/partials/topset.html b/templates/partials/topset.html index d7109c8..fec9d4c 100644 --- a/templates/partials/topset.html +++ b/templates/partials/topset.html @@ -19,7 +19,7 @@ {% endif %} diff --git a/templates/partials/workout_modal.html b/templates/partials/workout_modal.html index f6b2ed3..5997114 100644 --- a/templates/partials/workout_modal.html +++ b/templates/partials/workout_modal.html @@ -124,7 +124,7 @@ diff --git a/templates/partials/workout_tags.html b/templates/partials/workout_tags.html index c9dc99d..9184361 100644 --- a/templates/partials/workout_tags.html +++ b/templates/partials/workout_tags.html @@ -48,7 +48,7 @@ diff --git a/templates/person.html b/templates/person.html index d2bfe2f..7285348 100644 --- a/templates/person.html +++ b/templates/person.html @@ -25,7 +25,7 @@ @@ -56,7 +56,7 @@
@@ -117,7 +117,7 @@