aboutsummaryrefslogtreecommitdiffstats
path: root/res/admin-register.html
diff options
context:
space:
mode:
authorPinapelz <yukais@pinapelz.com>2026-07-03 21:23:32 -0700
committerPinapelz <yukais@pinapelz.com>2026-07-03 21:23:32 -0700
commit361e4d860fcca66dad0dd99b965b297d92ac748c (patch)
tree62052c68828b8a7f1376c60c9eee95d28cfba094 /res/admin-register.html
parent04eb44d685ba677a444b73c7cfc2427d2740497f (diff)
add UI elements for going to admin registration page
Signed-off-by: Pinapelz <yukais@pinapelz.com>
Diffstat (limited to 'res/admin-register.html')
-rw-r--r--res/admin-register.html9
1 files changed, 9 insertions, 0 deletions
diff --git a/res/admin-register.html b/res/admin-register.html
index 1a75c48..ebde94c 100644
--- a/res/admin-register.html
+++ b/res/admin-register.html
@@ -67,6 +67,15 @@
const successEl = document.createElement("div");
successEl.innerText = "Admin account created! You can now log in.";
successEl.style.color = "green";
+ const homeLink = document.createElement("a");
+ homeLink.innerText = "Go back";
+ homeLink.href = "/";
+ homeLink.style.display = "inline-block";
+ homeLink.style.marginTop = "8px";
+ homeLink.style.color = "blue";
+ homeLink.style.textDecoration = "underline";
+ successEl.appendChild(document.createElement("br"));
+ successEl.appendChild(homeLink);
errorsElement.appendChild(successEl);
Array.from(formElement.elements).forEach(el => { el.disabled = true; });
send patches to the email below
yukais@pinapelz.com
include the subject [PATCH repo_name]
pinapelz.com
homepage