navid/veinsforge / commit
f19b5da8080e
Navid M <navidmomtahen@gmail.com> · 2026-11-27
parents: 03eddba47695
Browse files at this commit · Download source
--- a/internal/web/templates/login.html+++ b/internal/web/templates/login.html@@ -1,14 +1,33 @@ {{define "content"}} <h1>Sign in</h1>-<p>Sign in to manage repositories, issues, and SSH keys.</p>+<p>Sign in to manage repositories, issues, and keys.</p> <form class="form-narrow" method="post" action="/login">- <input type="hidden" name="csrf" value="{{.CSRF}}">- <input type="hidden" name="next" value="{{if .Data.Next}}{{.Data.Next}}{{end}}">- <label>Username- <input name="username" value="{{if .Data.Username}}{{.Data.Username}}{{end}}" autocomplete="username" required maxlength="32" autofocus>+ <input type="hidden" name="csrf" value="{{.CSRF}}" />+ <input+ type="hidden"+ name="next"+ value="{{if .Data.Next}}{{.Data.Next}}{{end}}"+ />+ <label+ >Username+ <input+ name="username"+ value="{{if .Data.Username}}{{.Data.Username}}{{end}}"+ autocomplete="username"+ required+ maxlength="32"+ autofocus+ /> </label>- <label>Password- <input type="password" name="password" autocomplete="current-password" required maxlength="256">+ <label+ >Password+ <input+ type="password"+ name="password"+ autocomplete="current-password"+ required+ maxlength="256"+ /> </label> <button class="btn" type="submit">Sign in</button> </form>