From ebb72796440e1bc9178b511d6dff2629340105b8 Mon Sep 17 00:00:00 2001 From: asus Date: Tue, 31 Oct 2023 19:05:24 +0100 Subject: [PATCH] changed the loading function by a custom html element --- ascii_elements/mouse_4.html | 4 +- ascii_elements/mouse_container.html | 2 +- index.html | 25 ++-- scripts/load_html.js | 101 ++++----------- scripts/old_load_html.js | 169 +++++++++++++++++++++++++ test_template_slots/index.html | 185 ++++++++++++++++++++++++++++ test_template_slots/test.html | 18 +++ test_template_slots/test_2.html | 18 +++ test_template_slots/test_3.html | 38 ++++++ 9 files changed, 463 insertions(+), 97 deletions(-) create mode 100644 scripts/old_load_html.js create mode 100644 test_template_slots/index.html create mode 100644 test_template_slots/test.html create mode 100644 test_template_slots/test_2.html create mode 100644 test_template_slots/test_3.html diff --git a/ascii_elements/mouse_4.html b/ascii_elements/mouse_4.html index e2c5914..ed417f8 100644 --- a/ascii_elements/mouse_4.html +++ b/ascii_elements/mouse_4.html @@ -1,5 +1,6 @@ -
+ +
                  •      
@@ -158,6 +159,7 @@
 
+
+ hugulumu.fr + - + + + + + + + + + +
+

titre 0

+

paragraph 0

+
+ + + test default 3 + + + + first slot +

test default 3 . 2

+
+ +
+ titre 1 + paragraph 1 +
+
+ titre 2 + paragraph 2 +
+
+

07

+
+ + + + + + diff --git a/test_template_slots/test.html b/test_template_slots/test.html new file mode 100644 index 0000000..d5d762c --- /dev/null +++ b/test_template_slots/test.html @@ -0,0 +1,18 @@ + diff --git a/test_template_slots/test_2.html b/test_template_slots/test_2.html new file mode 100644 index 0000000..df10e76 --- /dev/null +++ b/test_template_slots/test_2.html @@ -0,0 +1,18 @@ +

default test_2.html

+ + diff --git a/test_template_slots/test_3.html b/test_template_slots/test_3.html new file mode 100644 index 0000000..976c44f --- /dev/null +++ b/test_template_slots/test_3.html @@ -0,0 +1,38 @@ +

hello from the other side

+

+

the end

+ +
+ +
+ +