new repo ui

- copy link button: #1396, #1168, #1668,
- synxtax highlight: #1712, #1549, #1315, #670
- z-index: #1942
This commit is contained in:
Unknwon 2015-11-14 04:34:01 -05:00
parent 679af4ddea
commit 7b1c10ea7e
24 changed files with 934 additions and 554 deletions

View file

@ -25,6 +25,7 @@ const (
func Home(ctx *middleware.Context) {
ctx.Data["Title"] = ctx.Repo.Repository.Name
ctx.Data["RequireHighlightJS"] = true
branchName := ctx.Repo.BranchName
userName := ctx.Repo.Owner.Name