From 2a3f4ff89a493dd2195ae5e89abe1c264f7a78e2 Mon Sep 17 00:00:00 2001 From: eclipse Date: Tue, 22 Apr 2025 20:41:36 +0200 Subject: [PATCH] moved javascript code into separate file --- the_works/templates/views/_textmodal.js | 23 ++++++++++++++++++ the_works/templates/views/text.html | 32 ++++--------------------- 2 files changed, 28 insertions(+), 27 deletions(-) create mode 100644 the_works/templates/views/_textmodal.js diff --git a/the_works/templates/views/_textmodal.js b/the_works/templates/views/_textmodal.js new file mode 100644 index 0000000..a47e8e2 --- /dev/null +++ b/the_works/templates/views/_textmodal.js @@ -0,0 +1,23 @@ + \ No newline at end of file diff --git a/the_works/templates/views/text.html b/the_works/templates/views/text.html index 3ea2eba..4f747e6 100644 --- a/the_works/templates/views/text.html +++ b/the_works/templates/views/text.html @@ -7,6 +7,9 @@ {% block content %} {% include "_icons.svg" %} + +{% include "views/_textmodal.js" %} +
- - - {% endblock content %} \ No newline at end of file