44 lines
1.8 KiB
Plaintext
44 lines
1.8 KiB
Plaintext
<nav><div><ul><li><a href=\"
|
|
\">Dashboard</a></li><li><a href=\"
|
|
\">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> |