+
diff --git a/web/users_sqlite_bootstrap_templated/templates/Root.phtpl.import b/web/users_sqlite_bootstrap_templated/templates/Root.phtpl.import
new file mode 100644
index 0000000..fc2d4f5
--- /dev/null
+++ b/web/users_sqlite_bootstrap_templated/templates/Root.phtpl.import
@@ -0,0 +1,13 @@
+[remap]
+
+importer="html_template_data"
+type="HTMLTemplateData"
+path="res://.import/Root.phtpl-903fa95b7c562c95d04ea3da500d65d8.res"
+
+[deps]
+
+source_file="res://templates/Root.phtpl"
+dest_files=[ "res://.import/Root.phtpl-903fa95b7c562c95d04ea3da500d65d8.res" ]
+
+[params]
+
diff --git a/web/users_sqlite_bootstrap_templated/templates/Root.tres b/web/users_sqlite_bootstrap_templated/templates/Root.tres
new file mode 100644
index 0000000..51afb5f
--- /dev/null
+++ b/web/users_sqlite_bootstrap_templated/templates/Root.tres
@@ -0,0 +1,28 @@
+[gd_resource type="HTMLTemplate" load_steps=3 format=2]
+
+[ext_resource path="res://templates/Root.phtpl" type="HTMLTemplateData" id=1]
+
+[sub_resource type="GDScript" id=1]
+script/source = "extends HTMLTemplate
+
+func _render(request: WebServerRequest, data: Dictionary) -> String:
+ if data[\"type\"] == \"header\":
+ return get_and_render_template(@\"Header\", data)
+ elif data[\"type\"] == \"footer\":
+ return get_and_render_template(@\"Footer\", data)
+ else:
+ var user : User = request.get_meta(\"user\", null)
+ data[\"user\"] = user
+
+ if user:
+ return get_and_render_template(@\"MainMenuLoggedIn\", data)
+ else:
+ return get_and_render_template(@\"MainMenu\", data)
+
+"
+
+[resource]
+templates = [ ExtResource( 1 ) ]
+template_override/add_key_button = null
+template_defaults/add_key_button = null
+script = SubResource( 1 )