diff options
author | Unknwon <joe2010xtmf@163.com> | 2014-09-01 00:33:40 +0800 |
---|---|---|
committer | Unknwon <joe2010xtmf@163.com> | 2014-09-01 00:33:40 +0800 |
commit | c5ce33047e77b03b8d6e289d2b250e15c65ae3d2 (patch) | |
tree | 068ff0edefa6a5e26def3a25e644ca3e29b54e64 /templates/repo/home.tmpl | |
parent | bf5595f9a0ee41a30ab04348e02d87ee9f53969a (diff) | |
download | gitea-c5ce33047e77b03b8d6e289d2b250e15c65ae3d2.tar.gz gitea-c5ce33047e77b03b8d6e289d2b250e15c65ae3d2.zip |
Mirror fix and hide missing pages for 0.5 release
Diffstat (limited to 'templates/repo/home.tmpl')
-rw-r--r-- | templates/repo/home.tmpl | 18 |
1 files changed, 9 insertions, 9 deletions
diff --git a/templates/repo/home.tmpl b/templates/repo/home.tmpl index 42b8bdd4b1..0947308477 100644 --- a/templates/repo/home.tmpl +++ b/templates/repo/home.tmpl @@ -9,11 +9,11 @@ <a class="link" href="{{.Repository.Website}}">{{.Repository.Website}}</a> </p> <ul id="repo-file-nav" class="clear menu menu-line"> - <li> + <!-- <li> <a href="#"> <button class="btn btn-green btn-small btn-radius" id="repo-compare-btn"><i class="octicon octicon-git-compare"></i></button> </a> - </li> + </li> --> <li id="repo-branch-switch" class="down drop"> <a href="#"> <button class="btn btn-gray btn-small btn-radius"> @@ -22,24 +22,24 @@ </button> </a> <div class="drop-down panel"> - <p class="panel-header text-bold">Branches & Tags</p> - <input id="repo-branch-filter-ipt" class="ipt ipt-large" type="text" placeholder="find branches / tags"/> + <p class="panel-header text-bold">Branches <!-- & Tags --></p> + <!-- <input id="repo-branch-filter-ipt" class="ipt ipt-large" type="text" placeholder="find branches / tags"/> --> <div id="repo-branch-tag"> <ul class="menu menu-line tab-nav clear" id="repo-branch-tab-nav"> <li class="js-tab-nav js-tab-nav-show left" data-tab-target="#repo-branch-list"><a href="#">Branches</a></li> - <li class="js-tab-nav left" data-tab-target="#repo-tag-list"><a href="#">Tags</a></li> + <!-- <li class="js-tab-nav left" data-tab-target="#repo-tag-list"><a href="#">Tags</a></li> --> </ul> <ul class="menu menu-vertical switching-list" id="repo-branch-list"> {{range .Branches}} <li {{if eq . $.BranchName}}class="checked"{{end}}><a href="{{$.RepoLink}}/src/{{.}}"><i class="octicon octicon-check"></i>{{.}}</a></li> {{end}} </ul> - <ul class="menu menu-vertical switching-list" id="repo-tag-list"> + <!-- <ul class="menu menu-vertical switching-list" id="repo-tag-list"> <li><a href="#"><i class="octicon octicon-check"></i>0.3.3</a></li> <li><a href="#"><i class="octicon octicon-check"></i>0.4.4</a></li> <li class="checked"><a href="#"><i class="octicon octicon-check"></i>0.1</a></li> <li><a href="#"><i class="octicon octicon-check"></i>0.1 beta</a></li> - </ul> + </ul> --> </div> </div> </li> @@ -55,7 +55,7 @@ {{end}} {{end}} </li> - <li id="repo-commits-jump" class="repo-jump right"> + <!-- <li id="repo-commits-jump" class="repo-jump right"> <a href="#"> <button class="btn btn-small btn-gray btn-right-radius"><i class="octicon octicon-git-commit"></i></button> </a> @@ -64,7 +64,7 @@ <a href="#"> <button class="btn btn-small btn-gray btn-left-radius"><i class="octicon octicon-list-unordered"></i></button> </a> - </li> + </li> --> </ul> {{if .IsFile}} {{template "repo/view_file" .}} |