summaryrefslogtreecommitdiffstats
path: root/templates/repo/single.tmpl
diff options
context:
space:
mode:
authorFuXiaoHei <fuxiaohei@hexiaz.com>2014-03-13 13:07:07 +0800
committerFuXiaoHei <fuxiaohei@hexiaz.com>2014-03-13 13:07:07 +0800
commitf65d8f9144436d11cdce2614b3520271b31ae288 (patch)
tree06ad70508b7cd7143bf71b72ec53be6da1df8e1a /templates/repo/single.tmpl
parentb1fe498eb975d112b06814253f9b9e8dc561d91f (diff)
downloadgitea-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.tmpl7
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