diff options
author | FuXiaoHei <fuxiaohei@hexiaz.com> | 2014-03-13 13:07:07 +0800 |
---|---|---|
committer | FuXiaoHei <fuxiaohei@hexiaz.com> | 2014-03-13 13:07:07 +0800 |
commit | f65d8f9144436d11cdce2614b3520271b31ae288 (patch) | |
tree | 06ad70508b7cd7143bf71b72ec53be6da1df8e1a /templates/repo/single.tmpl | |
parent | b1fe498eb975d112b06814253f9b9e8dc561d91f (diff) | |
download | gitea-f65d8f9144436d11cdce2614b3520271b31ae288.tar.gz gitea-f65d8f9144436d11cdce2614b3520271b31ae288.zip |
single repository page ui, add spec handler to get repo
Diffstat (limited to 'templates/repo/single.tmpl')
-rw-r--r-- | templates/repo/single.tmpl | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/templates/repo/single.tmpl b/templates/repo/single.tmpl index ef812f8249..28bbea635f 100644 --- a/templates/repo/single.tmpl +++ b/templates/repo/single.tmpl @@ -33,6 +33,11 @@ </div> {{template "repo/toolbar" .}} <div id="gogs-body" class="container"> - repo single dashboard + <h4>Source Files:</h4> + <ul> + {{range .Files}} + <li>{{.Name}} - {{.Type}}</li> + {{end}} + </ul> </div> {{template "base/footer" .}}
\ No newline at end of file |