mirror of
https://github.com/go-gitea/gitea.git
synced 2026-10-23 19:47:07 +09:00
ui design for sign-in and sign-up page
add /login and /sign-up link for user signing fix typo error
This commit is contained in:
1 parent
9c3a8ff299
commit
ffcfd428b8
8 files changed
+176
-40
No files matched your search
@@ -16,8 +16,15 @@ import (
|
||||
"github.com/gogits/gogs/utils/log"
|
||||
)
|
||||
|
||||
func SignIn(r render.Render) {
|
||||
r.Redirect("/user/signup", 302)
|
||||
func SignIn(req *http.Request, r render.Render) {
|
||||
if req.Method == "GET" {
|
||||
r.HTML(200, "user/signin", map[string]interface{}{
|
||||
"Title": "Log In",
|
||||
})
|
||||
return
|
||||
}
|
||||
|
||||
// todo sign in
|
||||
}
|
||||
|
||||
func SignUp(req *http.Request, r render.Render) {
|
||||
|
||||
Reference in new issue
Block a user