diff options
author | FuXiaoHei <fuxiaohei@hexiaz.com> | 2014-03-02 21:47:55 +0800 |
---|---|---|
committer | FuXiaoHei <fuxiaohei@hexiaz.com> | 2014-03-02 21:47:55 +0800 |
commit | ffe0ba562c2d749ea904e7171b424ae251c1f62e (patch) | |
tree | 24e94937d2baa40088f0f0813e1081f696977218 /routers | |
parent | ffcfd428b8372b3b5fafc70acf2ecc189bd7712e (diff) | |
download | gitea-ffe0ba562c2d749ea904e7171b424ae251c1f62e.tar.gz gitea-ffe0ba562c2d749ea904e7171b424ae251c1f62e.zip |
ui for user/profile page, only skeleton
Diffstat (limited to 'routers')
-rw-r--r-- | routers/user/user.go | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/routers/user/user.go b/routers/user/user.go index 241a9f3589..7cd8bca550 100644 --- a/routers/user/user.go +++ b/routers/user/user.go @@ -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{}{ |