From 2b5cd9782f786a4979b89d0867d111882d6fb45a Mon Sep 17 00:00:00 2001 From: chest Date: Fri, 24 Jan 2025 23:58:28 +0300 Subject: [PATCH] refactor: Move head to tmp --- static/index.css | 2 +- static/scripts/{popup.js => index.js} | 0 templates/decode.html | 8 ++------ templates/found.html | 9 +++------ templates/head.html | 7 +++++++ templates/index.html | 14 +++----------- templates/sql-injection.html | 19 ++++++++++++------- 7 files changed, 28 insertions(+), 31 deletions(-) rename static/scripts/{popup.js => index.js} (100%) create mode 100644 templates/head.html diff --git a/static/index.css b/static/index.css index f0377f3..63a3715 100644 --- a/static/index.css +++ b/static/index.css @@ -9,7 +9,7 @@ position: absolute; width: 100%; height: 100%; - background-color: rgb(0 0 0 / 85%); + background-color: rgb(225, 225, 225); display: none; } diff --git a/static/scripts/popup.js b/static/scripts/index.js similarity index 100% rename from static/scripts/popup.js rename to static/scripts/index.js diff --git a/templates/decode.html b/templates/decode.html index 2feabcf..c2c034c 100644 --- a/templates/decode.html +++ b/templates/decode.html @@ -1,11 +1,6 @@ - - - - - Попакошька - + {% include 'head.html' %} {% include 'header.html' %} @@ -27,3 +22,4 @@ + diff --git a/templates/found.html b/templates/found.html index 0cdac7e..c8bce09 100644 --- a/templates/found.html +++ b/templates/found.html @@ -1,10 +1,6 @@ - - - - Попакошька - + {% include 'head.html' %} {% include 'header.html' %} @@ -20,4 +16,5 @@ - \ No newline at end of file + + \ No newline at end of file diff --git a/templates/head.html b/templates/head.html new file mode 100644 index 0000000..41cf7bc --- /dev/null +++ b/templates/head.html @@ -0,0 +1,7 @@ + + + + + + Попакошька + \ No newline at end of file diff --git a/templates/index.html b/templates/index.html index 43a3bb1..379df08 100644 --- a/templates/index.html +++ b/templates/index.html @@ -1,12 +1,7 @@ - - - - Попакошька - - - + {% include 'head.html' %} + {% include 'header.html' %}
@@ -29,11 +24,8 @@
- - - + - \ No newline at end of file diff --git a/templates/sql-injection.html b/templates/sql-injection.html index c9ee8fc..569049c 100644 --- a/templates/sql-injection.html +++ b/templates/sql-injection.html @@ -1,10 +1,6 @@ - - - - Попакошька - + {% include 'head.html' %} {% include 'header.html' %} @@ -19,5 +15,14 @@ - - \ No newline at end of file + + + + + + + \ No newline at end of file