Compare commits

..

2 Commits

Author SHA1 Message Date
8222af6d98 update gitignore 2025-03-25 20:50:30 -07:00
2c10c1f26a delete templ.txt files 2025-03-25 20:49:47 -07:00
6 changed files with 1 additions and 156 deletions

1
.gitignore vendored
View File

@ -31,3 +31,4 @@ tls/
test.db.old
.gitignore
.nvim/session
*templ.txt

View File

@ -1,16 +0,0 @@
<header><h1><a href=\"/\">webweav.ing</a></h1></header>
<nav><div>
Welcome,
</div><div>
<a href=\"/guestbooks\">All Guestbooks</a> | <a href=\"/websites\">My Websites</a> | <a href=\"/users/settings\">Settings</a> | <a href=\"#\" hx-post=\"/users/logout\" hx-headers=\"
\">Logout</a>
<a href=\"/users/register\">Create an Account</a> | <a href=\"/users/login\">Login</a>
</div></nav>
<footer><p>A <a href=\"https://32bit.cafe\">32bit.cafe</a> Project</p></footer>
<!doctype html><html lang=\"en\"><head><title>
- webweav.ing</title><meta charset=\"UTF-8\"><meta name=\"viewport\" content=\"width=device-width, initial-scale=1\"><link href=\"/static/css/classless.min.css\" rel=\"stylesheet\"><link href=\"/static/css/style.css\" rel=\"stylesheet\"><script src=\"/static/js/htmx.min.js\"></script></head><body>
<main>
<div class=\"flash\">
</div>
</main>
</body></html>

View File

@ -1,62 +0,0 @@
<div id=\"dashboard\">
<div><h1>Comments on
</h1><hr>
<p>No comments yet!</p>
</div></div>
<div class=\"comment\"><div>
<button class=\"danger\" hx-delete=\"
\" hx-target=\"closest div.comment\" hx-headers=\"
\">Delete</button> <button class=\"outline\" hx-put=\"
\" hx-target=\"closest div.comment\" hx-headers=\"
\">
Publish
Hide
</button>
</div><div><strong>
</strong>
| <a href=\"
\" target=\"_blank\">
</a>
| <a href=\"
\" target=\"_blank\">
</a>
<p>
</p></div><p>
</p><hr></div>
<div><label for=\"authorname\">Name: </label>
<label class=\"error\">
</label>
<input type=\"text\" name=\"authorname\" id=\"authorname\"></div><div><label for=\"authoremail\">Email: </label>
<label class=\"error\">
</label>
<input type=\"text\" name=\"authoremail\" id=\"authoremail\"></div><div><label for=\"authorsite\">Site Url: </label>
<label class=\"error\">
</label>
<input type=\"text\" name=\"authorsite\" id=\"authorsite\"></div><div><label for=\"content\">Comment: </label>
<label class=\"error\">
</label>
<textarea name=\"content\" id=\"content\"></textarea></div><div><input type=\"submit\" value=\"Submit\"></div>
<html><head><title>
</title><link href=\"/static/css/classless.min.css\" rel=\"stylesheet\"></head><body><main><div><h1>Guestbook for
</h1><form action=\"
\" method=\"post\"><input type=\"hidden\" name=\"csrf_token\" value=\"
\">
</form></div><div id=\"comments\">
<p>No comments yet!</p>
<div><h3>
</h3>
<p>
</p></div>
</div></main></body></html>
<form hx-post=\"
\" hx-target=\"closest div\">
</form>
<form action=\"
\" method=\"post\">
</form>
<div><h1>All Guestbooks</h1><p>This page exists only for testing the service.</p><ul>
<li>
<a href=\"
\" target=\"_blank\">
</a></li>
</ul></div>

View File

@ -1,2 +0,0 @@
<h2>Welcome</h2><p>Welcome to webweav.ing, a collection of webmastery tools created by the <a href=\"https://32bit.cafe\">32-Bit Cafe</a>.</p><p>Note this service is in a pre-alpha state. Your account and data can disappear at any time. </p>
<h2>Coming Soon</h2>

View File

@ -1,31 +0,0 @@
<h1>Login</h1><form action=\"/users/login\" method=\"POST\" novalidate><input type=\"hidden\" name=\"csrf_token\" value=\"
\">
<div class=\"error\">
</div>
<div><label>Email: </label>
<label class=\"error\">
</label>
<input type=\"email\" name=\"email\" value=\"
\"></div><div><label>Password: </label>
<label class=\"error\">
</label>
<input type=\"password\" name=\"password\"></div><div><input type=\"submit\" value=\"login\"></div></form>
<h1>User Registration</h1><form action=\"/users/register\" method=\"post\"><input type=\"hidden\" name=\"csrf_token\" value=\"
\"><div>
<label for=\"username\">Username: </label>
<label class=\"error\">
</label>
<input type=\"text\" name=\"username\" id=\"username\" value=\"
\" required></div><div>
<label for=\"email\">Email: </label>
<label class=\"error\">
</label>
<input type=\"text\" name=\"email\" id=\"email\" value=\"
\" required></div><div>
<label for=\"password\">Password: </label>
<label class=\"error\">
</label>
<input type=\"password\" name=\"password\" id=\"password\"></div><div><input type=\"submit\" value=\"Register\"></div></form>
<h1>
</h1><p>
</p>

View File

@ -1,45 +0,0 @@
<nav><div><h2>
</h2><ul><li><a href=\"
\">Dashboard</a></li><li><a href=\"
\" target=\"_blank\">View Website</a></li></ul><h3>Guestbook</h3><ul><li><a href=\"
\" target=\"_blank\">View Guestbook</a></li></ul><ul><li><a href=\"
\">Manage messages</a></li><li><a href=\"
\">Review message queue</a></li><li><a href=\"
\">Block users</a></li><li><a href=\"
\">Trash</a></li></ul><ul><li><a href=\"
\">Themes</a></li><li><a href=\"
\">Custom CSS</a></li></ul></div><div><h3>Feeds</h3><p>Coming Soon</p></div><div><h3>Account</h3><ul><li><a href=\"/users/settings\">Settings</a></li><li><a href=\"/users/privacy\">Privacy</a></li><li><a href=\"/help\">Help</a></li></ul></div></nav>
<p>No Websites yet. <a href=\"\">Register a website.</a></p>
<ul id=\"websites\" hx-get=\"/websites\" hx-trigger=\"newWebsite from:body\" hx-swap=\"outerHTML\">
<li><a href=\"
\">
</a></li>
</ul>
<input type=\"hidden\" name=\"csrf_token\" value=\"
\"><div>
<label for=\"sitename\">Site Name: </label>
<label class=\"error\">
</label>
<input type=\"text\" name=\"sitename\" id=\"sitename\" required></div><div>
<label for=\"siteurl\">Site URL: </label>
<label class=\"error\">
</label>
<input type=\"text\" name=\"siteurl\" id=\"siteurl\" required></div><div>
<label for=\"authorname\">Site Author: </label>
<label class=\"error\">
</label>
<input type=\"text\" name=\"authorname\" id=\"authorname\" required></div><div><button type=\"submit\">Submit</button></div>
<button hx-get=\"/websites/create\" hx-target=\"closest div\">Add Website</button>
<h1>My Websites</h1><div>
</div><div>
</div>
<div id=\"dashboard\">
<div><h1>
</h1><p>Stats and stuff will go here.</p></div></div>
<div id=\"dashboard\">
<div><h1>
</h1><p>Coming Soon</p></div></div>
<form hx-post=\"/websites/create\" hx-target=\"closest div\">
</form>
<form action=\"/websites/create\" method=\"post\">
</form>