ui for user/profile page, only skeleton

This commit is contained in:
FuXiaoHei 2014-03-02 21:47:55 +08:00
parent ffcfd428b8
commit ffe0ba562c
8 changed files with 125 additions and 3 deletions

View file

@ -16,6 +16,13 @@ import (
"github.com/gogits/gogs/utils/log"
)
func Profile(r render.Render) {
r.HTML(200, "user/profile", map[string]interface{}{
"Title": "Username",
})
return
}
func SignIn(req *http.Request, r render.Render) {
if req.Method == "GET" {
r.HTML(200, "user/signin", map[string]interface{}{