summaryrefslogtreecommitdiffstatshomepage
path: root/test/manual
diff options
context:
space:
mode:
authorCarson Gross <carson@bigsky.software>2023-12-13 17:08:52 -0700
committerCarson Gross <carson@bigsky.software>2023-12-13 17:08:52 -0700
commitad871a9576ceec2ba1a9a41eb7f44a7cf824fb9f (patch)
tree0ebdc84e46171e9d16528b93eb9b75427de38054 /test/manual
parent69c053c13673263290f665fab18787d55a2219e7 (diff)
parentf84b332d192c357e4786937df7e35babdbad4d51 (diff)
downloadhtmx-ad871a9576ceec2ba1a9a41eb7f44a7cf824fb9f.tar.gz
htmx-ad871a9576ceec2ba1a9a41eb7f44a7cf824fb9f.zip
Merge branch 'v2.0v2.0' into disable-inheritance
# Conflicts: # src/htmx.js
Diffstat (limited to 'test/manual')
-rw-r--r--test/manual/hxboost_relative_resources/index.html10
-rw-r--r--test/manual/hxboost_relative_resources/nested/img.pngbin0 -> 15693 bytes
-rw-r--r--test/manual/hxboost_relative_resources/nested/page2.html12
-rw-r--r--test/manual/index.html6
4 files changed, 28 insertions, 0 deletions
diff --git a/test/manual/hxboost_relative_resources/index.html b/test/manual/hxboost_relative_resources/index.html
new file mode 100644
index 00000000..9bf741eb
--- /dev/null
+++ b/test/manual/hxboost_relative_resources/index.html
@@ -0,0 +1,10 @@
+<html lang="en">
+<head>
+ <meta charset="utf-8" />
+ <script type="application/javascript" src="../../../src/htmx.js"></script>
+ <title>hx-boost - Relative Resources Page 1</title>
+</head>
+<body style="padding:20px;font-family: sans-serif" hx-boost="true">
+<a href="nested/page2.html">To Page 2</a>
+</body>
+</html>
diff --git a/test/manual/hxboost_relative_resources/nested/img.png b/test/manual/hxboost_relative_resources/nested/img.png
new file mode 100644
index 00000000..533a968a
--- /dev/null
+++ b/test/manual/hxboost_relative_resources/nested/img.png
Binary files differ
diff --git a/test/manual/hxboost_relative_resources/nested/page2.html b/test/manual/hxboost_relative_resources/nested/page2.html
new file mode 100644
index 00000000..12cdd25d
--- /dev/null
+++ b/test/manual/hxboost_relative_resources/nested/page2.html
@@ -0,0 +1,12 @@
+<html lang="en">
+<head>
+ <meta charset="utf-8" />
+ <script type="application/javascript" src="../../../../src/htmx.js"></script>
+ <title>hx-boost - Relative Resources Page 2</title>
+</head>
+<body style="padding:20px;font-family: sans-serif" hx-boost="true">
+<a href="../index.html">Back To Page 1</a>
+<p>Image should be displayed below</p>
+<img src="img.png" />
+</body>
+</html>
diff --git a/test/manual/index.html b/test/manual/index.html
index 1097e0fd..99b25d65 100644
--- a/test/manual/index.html
+++ b/test/manual/index.html
@@ -37,6 +37,12 @@
<li><a href="history_style">History Style</a></li>
</ul>
</li>
+ <li>Boost Tests
+ <ul>
+ <li><a href="hxboost_relative_resources">Relative Resources</a></li>
+ <li><a href="hxboost_template_parsing">Template Parsing</a></li>
+ </ul>
+ </li>
</ul>
<h2>Perf</h2>
<li><a href="manual-perf.html">Manual Perf Test</a></li>