diff --git a/templates/setup.templ b/templates/setup.templ new file mode 100644 index 0000000..ee8279b --- /dev/null +++ b/templates/setup.templ @@ -0,0 +1,385 @@ +package templates + +templ Setup() { + + +
+ + +Let's get your library set up.
+This first account will have full admin privileges.
+ + +Add one or more media libraries. You can always add more later.
+ + +Add the filesystem folders where your media files are stored.
+ +No libraries created. You can add folders later from the admin panel.
+Review your configuration and start the initial scan.
+ + +Administrator
+ ++ Libraries () +
+ +Let's get your library set up.
This first account will have full admin privileges.
Add one or more media libraries. You can always add more later.
Add the filesystem folders where your media files are stored.
No libraries created. You can add folders later from the admin panel.
Review your configuration and start the initial scan.
Administrator
Libraries ()
No subdirectories
'; + } else { + data.directories.forEach((dir) => { + const fullPath = data.current_path === "/" ? `/${dir}` : `${data.current_path}/${dir}`; + html += ` +