add list for repo basic
This commit is contained in:
parent
90223dcfc4
commit
e246f2188e
4 changed files with 52 additions and 14 deletions
10
templates/repo/list.tmpl
Normal file
10
templates/repo/list.tmpl
Normal 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" .}}
|
Loading…
Add table
Add a link
Reference in a new issue