aboutsummaryrefslogtreecommitdiffstats
path: root/templates/repo
diff options
context:
space:
mode:
authorUnknown <joe2010xtmf@163.com>2014-03-30 16:34:23 -0400
committerUnknown <joe2010xtmf@163.com>2014-03-30 16:34:23 -0400
commite938863ae6887f7c3c24145ed3b64dc1d27ee675 (patch)
tree05285396d03307908f73e6dfee4efe2872c83b0b /templates/repo
parent2a0066420a9395e5fa5afcd9be4d094a48eee3fa (diff)
downloadgitea-e938863ae6887f7c3c24145ed3b64dc1d27ee675.tar.gz
gitea-e938863ae6887f7c3c24145ed3b64dc1d27ee675.zip
Mirror fix on UI
Diffstat (limited to 'templates/repo')
-rw-r--r--templates/repo/nav.tmpl14
1 files changed, 4 insertions, 10 deletions
diff --git a/templates/repo/nav.tmpl b/templates/repo/nav.tmpl
index 02096c34c1..6156d5791e 100644
--- a/templates/repo/nav.tmpl
+++ b/templates/repo/nav.tmpl
@@ -7,12 +7,6 @@
</div>
<div class="col-md-5 actions text-right clone-group-btn">
{{if not .IsBareRepo}}
- <!--<div class="btn-group" id="repo-clone">
- <button type="button" class="btn btn-default"><i class="fa fa-download fa-lg fa-m"></i></button>
- <button type="button" class="btn btn-default dropdown-toggle" data-container="body" data-toggle="popover" data-placement="bottom" data-content="<label>SSH:</label><div class='input-group'><input type='text' class='form-control' value='{{.CloneLink.SSH}}'></div>" data-html="1">
- <span class="caret"></span>
- </button>
- </div>-->
<div class="btn-group" id="repo-clone">
<button type="button" class="btn btn-default"><i class="fa fa-download fa-lg fa-m"></i></button>
<button type="button" class="btn btn-default dropdown-toggle" data-toggle="dropdown">
@@ -30,10 +24,10 @@
</span>
</div>
<p class="help-block text-center">Need help cloning? Visit <a href="#">Help</a>!</p>
- <hr/>
+ <!-- <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>
<div class="btn-group {{if .IsRepositoryWatching}}watching{{else}}no-watching{{end}}" id="repo-watching" data-watch="/{{.Owner.Name}}/{{.Repository.Name}}/action/watch" data-unwatch="/{{.Owner.Name}}/{{.Repository.Name}}/action/unwatch">
@@ -61,9 +55,9 @@
<button type="button" class="btn btn-default" data-toggle="tooltip" data-placement="top" title="Star"><i class="fa fa-star"></i>&nbsp;{{.Repository.NumStars}}</button>
</div> -->
{{end}}
- <div class="btn-group">
+ <!-- <div class="btn-group">
<a type="button" {{if not .IsRepositoryOwner}}href="/{{.Username}}/{{.Reponame}}/fork"{{end}} class="btn btn-default" data-toggle="tooltip" data-placement="top" title="Fork"><i class="fa fa-code-fork fa-lg"></i>&nbsp;{{.Repository.NumForks}}</a>
- </div>
+ </div> -->
</div>
</div>
</div>