From 1e0cb56f24d1df4b301bd5601b9137163a13a47e Mon Sep 17 00:00:00 2001 From: Muhammad Labeeb <72980976+mlabeeb03@users.noreply.github.com> Date: Fri, 2 May 2025 14:06:30 +0500 Subject: [PATCH] fix: add logs script to all pages --- ...250430_201825_muhammad.labeeb_add_logs_logic_on_all_pages.md | 1 + tutordeck/server/templates/advanced.html | 2 -- tutordeck/server/templates/index.html | 1 + tutordeck/server/templates/local_launch.html | 1 - tutordeck/server/templates/plugin.html | 2 -- 5 files changed, 2 insertions(+), 5 deletions(-) create mode 100644 changelog.d/20250430_201825_muhammad.labeeb_add_logs_logic_on_all_pages.md diff --git a/changelog.d/20250430_201825_muhammad.labeeb_add_logs_logic_on_all_pages.md b/changelog.d/20250430_201825_muhammad.labeeb_add_logs_logic_on_all_pages.md new file mode 100644 index 0000000..ad90905 --- /dev/null +++ b/changelog.d/20250430_201825_muhammad.labeeb_add_logs_logic_on_all_pages.md @@ -0,0 +1 @@ + - [Bugfix] Add logs script to all pages so each page can handle completion of a command itself and not delegate it to a page with logs script. (by @mlabeeb03) \ No newline at end of file diff --git a/tutordeck/server/templates/advanced.html b/tutordeck/server/templates/advanced.html index 5f88262..78e6b1b 100644 --- a/tutordeck/server/templates/advanced.html +++ b/tutordeck/server/templates/advanced.html @@ -91,7 +91,5 @@ Search for any tutor command and execute it with a single click. }, 200); }); - - {% endblock %} diff --git a/tutordeck/server/templates/index.html b/tutordeck/server/templates/index.html index 892a7e0..ac1efb0 100644 --- a/tutordeck/server/templates/index.html +++ b/tutordeck/server/templates/index.html @@ -117,6 +117,7 @@ } {% block scripts %}{% endblock %} + diff --git a/tutordeck/server/templates/local_launch.html b/tutordeck/server/templates/local_launch.html index 3a62f17..3afaf9f 100644 --- a/tutordeck/server/templates/local_launch.html +++ b/tutordeck/server/templates/local_launch.html @@ -36,5 +36,4 @@ This will run Launch Platform to apply all plugin changes. This may take a few m } ShowRunCommandButton(); - {% endblock %} \ No newline at end of file diff --git a/tutordeck/server/templates/plugin.html b/tutordeck/server/templates/plugin.html index 286bc41..00ac49c 100644 --- a/tutordeck/server/templates/plugin.html +++ b/tutordeck/server/templates/plugin.html @@ -105,6 +105,4 @@ }); }); - - {% endblock %}