Add autofocus
parent
da130e5c98
commit
f7c111bd2f
|
|
@ -36,7 +36,7 @@ func (s *Server) usersLog(w http.ResponseWriter, r *http.Request) {
|
||||||
}</style></head>
|
}</style></head>
|
||||||
<body>
|
<body>
|
||||||
<form method="post" action="/authorize/`+scope+`?`+q.Encode()+`">
|
<form method="post" action="/authorize/`+scope+`?`+q.Encode()+`">
|
||||||
<input type="password" name="username"></input>
|
<input type="password" name="username" autofocus></input>
|
||||||
<input type="submit"></input>
|
<input type="submit"></input>
|
||||||
</form>
|
</form>
|
||||||
</body>
|
</body>
|
||||||
|
|
@ -66,7 +66,7 @@ func (s *Server) usersRegister(w http.ResponseWriter, r *http.Request) {
|
||||||
}</style></head>
|
}</style></head>
|
||||||
<body>
|
<body>
|
||||||
<form method="post" action="/users/submit/`+scope+`">
|
<form method="post" action="/users/submit/`+scope+`">
|
||||||
<input type="text" name="username"></input>
|
<input type="text" name="username" autofocus></input>
|
||||||
<input type="submit"></input>
|
<input type="submit"></input>
|
||||||
</form>
|
</form>
|
||||||
</body>
|
</body>
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue