From 0c7f22988b603f64e901986356af7098e5ae626d Mon Sep 17 00:00:00 2001
From: ZTatman
Date: Tue, 26 May 2026 22:22:10 -0400
Subject: [PATCH] refactor(ui): fix Forgejo token input styling and validation
styling
---
web/app/static/css/input.css | 4 +++
web/app/templates/dashboard.html | 62 ++++++++++++++++++++++++++------
2 files changed, 55 insertions(+), 11 deletions(-)
diff --git a/web/app/static/css/input.css b/web/app/static/css/input.css
index 89867a5..487e9cc 100644
--- a/web/app/static/css/input.css
+++ b/web/app/static/css/input.css
@@ -191,4 +191,8 @@
.input-mono {
@apply rounded-md border border-border bg-input px-3 py-2 font-mono text-[13px] leading-5 text-foreground transition placeholder:text-muted-foreground focus:border-ring focus:outline-none focus:ring-2 focus:ring-ring-muted;
}
+
+ .input-error {
+ @apply text-sm font-medium text-danger-foreground;
+ }
}
diff --git a/web/app/templates/dashboard.html b/web/app/templates/dashboard.html
index b670ce1..4d1e099 100644
--- a/web/app/templates/dashboard.html
+++ b/web/app/templates/dashboard.html
@@ -34,18 +34,28 @@
to enable share link viewing.
-