add list for repo basic

This commit is contained in:
Lunny Xiao 2014-03-07 11:14:51 +08:00
parent 90223dcfc4
commit e246f2188e
4 changed files with 52 additions and 14 deletions

10
templates/repo/list.tmpl Normal file
View file

@ -0,0 +1,10 @@
{{template "base/head" .}}
{{template "base/navbar" .}}
<div class="container" id="gogs-body">
<ul>
{{range .Repos}}
<li>{{.Name}} stars: {{.NumStars}} forks: {{.NumForks}} watches:{{.NumWatchs}}</li>
{{end}}
</ul>
</div>
{{template "base/footer" .}}