diff options
author | Lunny Xiao <xiaolunwen@gmail.com> | 2014-03-07 11:14:51 +0800 |
---|---|---|
committer | Lunny Xiao <xiaolunwen@gmail.com> | 2014-03-07 11:14:51 +0800 |
commit | e246f2188ec1d2a7582bd9964abbe5f3d2ee2ee9 (patch) | |
tree | fe7e4602f158d46e876178545a36c13559687441 /templates/repo/list.tmpl | |
parent | 90223dcfc4c767c0d68acecf455cdaa5a5d141ee (diff) | |
download | gitea-e246f2188ec1d2a7582bd9964abbe5f3d2ee2ee9.tar.gz gitea-e246f2188ec1d2a7582bd9964abbe5f3d2ee2ee9.zip |
add list for repo basic
Diffstat (limited to 'templates/repo/list.tmpl')
-rw-r--r-- | templates/repo/list.tmpl | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/templates/repo/list.tmpl b/templates/repo/list.tmpl new file mode 100644 index 0000000000..2c5432a174 --- /dev/null +++ b/templates/repo/list.tmpl @@ -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" .}}
\ No newline at end of file |