feature: Wire up sites API listing, move add form to separate file

This commit is contained in:
Keith Solomon
2025-05-25 14:51:37 -05:00
parent 4c2576052f
commit 4ba36081d2
6 changed files with 121 additions and 59 deletions

10
views/add-form.ejs Normal file
View File

@@ -0,0 +1,10 @@
<fieldset class="fieldset bg-base-100 rounded-box px-8 py-4 shadow-md">
<legend class="fieldset-legend h3">Start a new test</legend>
<div class="flex gap-0">
<div class="w-fit m-0 p-0">
<input type="text" class="input w-full border-r-0 rounded-r-none" placeholder="Site/URL to test" />
<p class="label">Add either single URL or link to sitemap</p>
</div>
<button type="submit" class="btn btn-info">Test</button>
</div>
</fieldset>