diff options
| author | Bryce Kwon <bryce@brycekwon.com> | |
|---|---|---|
| committer | Bryce Kwon <bryce@brycekwon.com> | |
| commit | ||
| parent | ||
| tree | ||
| download | ||
Say when a login fails, and line up the form
A wrong password sent the reader back to the same empty form, which
looked no different from a crash. The redirect now carries a flag the
form reads, the same for an unknown user as for a wrong password, and
the form leaves the flag out of the way back it signs.
Diffstat (limited to '')
| -rw-r--r-- | assets/cgit.css | 20 |
1 file changed, 20 insertions, 0 deletions
diff --git a/assets/cgit.css b/assets/cgit.css index 9c0cce8..cf62df8 100644 --- a/assets/cgit.css +++ b/assets/cgit.css @@ -1103,6 +1103,26 @@ div#cgit span.deletions { color: var(--del); } +div#cgit p.login-error { + color: var(--del); + font-weight: bold; +} + +div#cgit form.login table { + border-collapse: separate; + border-spacing: 0 0.5em; +} + +div#cgit form.login td:first-child { + padding-right: 0.75em; +} + +div#cgit form.login input[type="text"], +div#cgit form.login input[type="password"] { + width: 16em; + max-width: 100%; +} + div#cgit .footer { padding: 0.85rem var(--gutter); text-align: center; |
