diff options
author | FuXiaoHei <fuxiaohei@hexiaz.com> | 2014-03-24 23:53:26 +0800 |
---|---|---|
committer | FuXiaoHei <fuxiaohei@hexiaz.com> | 2014-03-24 23:53:26 +0800 |
commit | 92a6058e29eb5f9cd655c3b1f8f43fd6d46fe5a4 (patch) | |
tree | cc0001ffdbd4f2ce988551b58cc06e13a94a608a /templates/repo/nav.tmpl | |
parent | 67b43387f44b9e3a03f471d0782bfae34a9b9357 (diff) | |
download | gitea-92a6058e29eb5f9cd655c3b1f8f43fd6d46fe5a4.tar.gz gitea-92a6058e29eb5f9cd655c3b1f8f43fd6d46fe5a4.zip |
zip download button, repo single file buttons
Diffstat (limited to 'templates/repo/nav.tmpl')
-rw-r--r-- | templates/repo/nav.tmpl | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/templates/repo/nav.tmpl b/templates/repo/nav.tmpl index 080cb72e57..2770328cb1 100644 --- a/templates/repo/nav.tmpl +++ b/templates/repo/nav.tmpl @@ -30,6 +30,10 @@ </span> </div> <p class="help-block text-center">Need help cloning? Visit <a href="#">Help</a>!</p> + <hr/> + <div class="clone-zip text-center"> + <a class="btn btn-success btn-lg" href="#"><i class="fa fa-suitcase"></i>Download ZIP</a> + </div> </div> </div> <div class="btn-group {{if .IsRepositoryWatching}}watching{{else}}no-watching{{end}}" id="gogs-repo-watching" data-watch="/{{.Owner.Name}}/{{.Repository.Name}}/action/watch" data-unwatch="/{{.Owner.Name}}/{{.Repository.Name}}/action/unwatch"> |