diff --git a/routers/dashboard.go b/routers/dashboard.go index cab1662f..ddaef0cb 100644 --- a/routers/dashboard.go +++ b/routers/dashboard.go @@ -17,3 +17,7 @@ func Home(ctx *middleware.Context) { ctx.Data["PageIsHome"] = true ctx.Render.HTML(200, "home", ctx.Data) } + +func Help(ctx *middleware.Context) string { + return "This is help page" +} diff --git a/routers/repo/single.go b/routers/repo/single.go index a7f07898..a0f44471 100644 --- a/routers/repo/single.go +++ b/routers/repo/single.go @@ -60,3 +60,15 @@ func Setting(ctx *middleware.Context) { ctx.Data["IsRepoToolbarSetting"] = true ctx.Render.HTML(200, "repo/setting", ctx.Data) } + +func Commits(ctx *middleware.Context) string { + return "This is commits page" +} + +func Issues(ctx *middleware.Context) string { + return "This is issues page" +} + +func Pulls(ctx *middleware.Context) string { + return "This is pulls page" +} diff --git a/routers/user/user.go b/routers/user/user.go index 8d8691a3..e13f6909 100644 --- a/routers/user/user.go +++ b/routers/user/user.go @@ -189,3 +189,15 @@ func Feeds(ctx *middleware.Context, form auth.FeedsForm) { } ctx.Render.JSON(200, &feeds) } + +func Issues(ctx *middleware.Context) string { + return "This is issues page" +} + +func Pulls(ctx *middleware.Context) string { + return "This is pulls page" +} + +func Stars(ctx *middleware.Context) string { + return "This is stars page" +} diff --git a/templates/base/navbar.tmpl b/templates/base/navbar.tmpl index 3fe0c114..181beb5a 100644 --- a/templates/base/navbar.tmpl +++ b/templates/base/navbar.tmpl @@ -3,8 +3,7 @@