set titles
parent
168c230771
commit
4708b68742
|
|
@ -20,7 +20,7 @@ func (s *Server) usersLog(w http.ResponseWriter, r *http.Request) {
|
|||
q := r.URL.Query()
|
||||
fmt.Fprintln(w, `
|
||||
<html>
|
||||
<head><style>body{
|
||||
<head><title>BOA Log In `+scope+`</title><style>body{
|
||||
filter:invert(80%);
|
||||
background-color: #222;
|
||||
font-size: 5em;
|
||||
|
|
@ -35,6 +35,7 @@ func (s *Server) usersLog(w http.ResponseWriter, r *http.Request) {
|
|||
transform-origin: 0 0;
|
||||
}</style></head>
|
||||
<body>
|
||||
<h6 style="margin: 0;">`+scope+`</h6>
|
||||
<form method="post" action="/authorize/`+scope+`?`+q.Encode()+`">
|
||||
<input type="password" name="username" autofocus></input>
|
||||
<input type="submit"></input>
|
||||
|
|
@ -50,7 +51,7 @@ func (s *Server) usersRegister(w http.ResponseWriter, r *http.Request) {
|
|||
s.limiter.Wait(r.Context())
|
||||
fmt.Fprintln(w, `
|
||||
<html>
|
||||
<head><style>body{
|
||||
<head><title>BOA Register `+scope+`</title><style>body{
|
||||
filter:invert(80%);
|
||||
background-color: #222;
|
||||
font-size: 5em;
|
||||
|
|
@ -65,6 +66,7 @@ func (s *Server) usersRegister(w http.ResponseWriter, r *http.Request) {
|
|||
transform-origin: 0 0;
|
||||
}</style></head>
|
||||
<body>
|
||||
<h6 style="margin: 0;">`+scope+`</h6>
|
||||
<form method="post" action="/users/submit/`+scope+`">
|
||||
<input type="text" name="username" autofocus></input>
|
||||
<input type="submit"></input>
|
||||
|
|
|
|||
Loading…
Reference in New Issue