diff --git a/app.py b/app.py
index 5d0bd2a..dc3a151 100644
--- a/app.py
+++ b/app.py
@@ -10,7 +10,28 @@ app.config.from_pyfile('config.py')
jinja_partials.register_extensions(app)
htmx = HTMX(app)
-API_URL = 'https://isolator.peterstockings.com/execute'
+API_URL = 'https://isolator.peterstockings.com/execute'
+
+DEFAULT_SCRIPT = """async (req) => {
+ console.log('hello world...')
+ return HtmlResponse(
+ `
-
Function
-
Create your own javascript HTTP handler
-
-
async (req) => {
- console.log('hello world...')
- return HtmlResponse(`
${req.method}
`)
- }
-
-
-
-
-
-
-
-
-
-
\ No newline at end of file
diff --git a/templates/base.html b/templates/base.html
new file mode 100644
index 0000000..d159fab
--- /dev/null
+++ b/templates/base.html
@@ -0,0 +1,32 @@
+
+
+
+
+
+
+
+
Function
+
+
+
+
+
+
+
+
+
+
+
+
+
+ {% block content %}
+
+ {% endblock %}
+
+
\ No newline at end of file
diff --git a/templates/client.html b/templates/client.html
new file mode 100644
index 0000000..7f4688c
--- /dev/null
+++ b/templates/client.html
@@ -0,0 +1,156 @@
+{% extends 'base.html' %}
+
+{% block content %}
+
+
+
+
+
+ - Query Params
+ - Headers
+ - Body
+
+
+
+
+
+
Response
+
+
+ - Response Body
+ - Response Header
+
+
+
+
+
+
+
+ | Key |
+ Value |
+
+
+
+
+
+
+
+
+
+
+{% endblock %}
\ No newline at end of file
diff --git a/templates/home.html b/templates/home.html
new file mode 100644
index 0000000..42facfa
--- /dev/null
+++ b/templates/home.html
@@ -0,0 +1,87 @@
+{% extends 'base.html' %}
+
+{% block content %}
+
+
Function
+
Create your own javascript HTTP handler
+
+
{{ script }}
+
+
+
+
+
+
+
+
+
+
+
+
+
+{% endblock %}
\ No newline at end of file