diff --git a/.gitignore b/.gitignore
index 683949d8ad..22987ba4a1 100644
--- a/.gitignore
+++ b/.gitignore
@@ -135,3 +135,6 @@ ui-tests/playwright-report
.pnp.*
ui-tests/.yarn/*
ui-tests/.pnp.*
+
+# generated html
+notebook/templates/*.html
diff --git a/notebook/templates/consoles_template.html b/app/templates/consoles_template.html
similarity index 100%
rename from notebook/templates/consoles_template.html
rename to app/templates/consoles_template.html
diff --git a/notebook/templates/edit_template.html b/app/templates/edit_template.html
similarity index 100%
rename from notebook/templates/edit_template.html
rename to app/templates/edit_template.html
diff --git a/notebook/templates/error_template.html b/app/templates/error_template.html
similarity index 100%
rename from notebook/templates/error_template.html
rename to app/templates/error_template.html
diff --git a/notebook/templates/notebooks_template.html b/app/templates/notebooks_template.html
similarity index 100%
rename from notebook/templates/notebooks_template.html
rename to app/templates/notebooks_template.html
diff --git a/notebook/templates/terminals_template.html b/app/templates/terminals_template.html
similarity index 100%
rename from notebook/templates/terminals_template.html
rename to app/templates/terminals_template.html
diff --git a/notebook/templates/tree_template.html b/app/templates/tree_template.html
similarity index 100%
rename from notebook/templates/tree_template.html
rename to app/templates/tree_template.html
diff --git a/notebook/templates/consoles.html b/notebook/templates/consoles.html
deleted file mode 100644
index 1f18ad2ba4..0000000000
--- a/notebook/templates/consoles.html
+++ /dev/null
@@ -1,43 +0,0 @@
-
-
-
-
-
- {{page_config['appName'] | e}} - Console
- {% block favicon %}
-
- {% endblock %} {% if custom_css %}
-
- {% endif %}
-
-
-
- {# Copy so we do not modify the page_config with updates. #} {% set
- page_config_full = page_config.copy() %} {# Set a dummy variable - we just
- want the side effect of the update. #} {% set _ =
- page_config_full.update(baseUrl=base_url, wsUrl=ws_url) %} {# Sentinel value
- to say that we are on the tree page #} {% set _ =
- page_config_full.update(notebookPage='consoles') %}
-
-
-
-
diff --git a/notebook/templates/edit.html b/notebook/templates/edit.html
deleted file mode 100644
index bd6ce5889b..0000000000
--- a/notebook/templates/edit.html
+++ /dev/null
@@ -1,8 +0,0 @@
-{{page_config['appName'] | e}} - Edit{% block favicon %}{% endblock %}{# Copy so we do not modify the page_config with updates. #} {% set page_config_full = page_config.copy() %} {# Set a dummy variable - we just want the side effect of the update. #} {% set _ = page_config_full.update(baseUrl=base_url, wsUrl=ws_url) %} {# Sentinel value to say that we are on the tree page #} {% set _ = page_config_full.update(notebookPage='edit') %}
diff --git a/notebook/templates/error.html b/notebook/templates/error.html
deleted file mode 100644
index a8cb4f12f5..0000000000
--- a/notebook/templates/error.html
+++ /dev/null
@@ -1,10 +0,0 @@
-{% block title %}{{page_title | e}}{% endblock %}{% block favicon %}{% endblock %}{% block stylesheet %}{% endblock %} {% block site %}
diff --git a/notebook/templates/notebooks.html b/notebook/templates/notebooks.html
deleted file mode 100644
index bf7ba1762e..0000000000
--- a/notebook/templates/notebooks.html
+++ /dev/null
@@ -1,8 +0,0 @@
-{{page_config['appName'] | e}} - Notebook{% block favicon %}{% endblock %} {% if custom_css %}{% endif %}{# Copy so we do not modify the page_config with updates. #} {% set page_config_full = page_config.copy() %} {# Set a dummy variable - we just want the side effect of the update. #} {% set _ = page_config_full.update(baseUrl=base_url, wsUrl=ws_url) %} {# Sentinel value to say that we are on the tree page #} {% set _ = page_config_full.update(notebookPage='notebooks') %}
diff --git a/notebook/templates/terminals.html b/notebook/templates/terminals.html
deleted file mode 100644
index 36ac8e6824..0000000000
--- a/notebook/templates/terminals.html
+++ /dev/null
@@ -1,8 +0,0 @@
-{{page_config['appName'] | e}} - Terminal{% block favicon %}{% endblock %} {% if custom_css %}{% endif %}{# Copy so we do not modify the page_config with updates. #} {% set page_config_full = page_config.copy() %} {# Set a dummy variable - we just want the side effect of the update. #} {% set _ = page_config_full.update(baseUrl=base_url, wsUrl=ws_url) %} {# Sentinel value to say that we are on the tree page #} {% set _ = page_config_full.update(notebookPage='terminals') %}
diff --git a/notebook/templates/tree.html b/notebook/templates/tree.html
deleted file mode 100644
index da49bfeb57..0000000000
--- a/notebook/templates/tree.html
+++ /dev/null
@@ -1,8 +0,0 @@
-Home{% block favicon %}{% endblock %} {% if custom_css %}{% endif %}{# Copy so we do not modify the page_config with updates. #} {% set page_config_full = page_config.copy() %} {# Set a dummy variable - we just want the side effect of the update. #} {% set _ = page_config_full.update(baseUrl=base_url, wsUrl=ws_url) %} {# Sentinel value to say that we are on the tree page #} {% set _ = page_config_full.update(notebookPage='tree') %}