summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorPatrick G <geek1011@outlook.com>2017-06-27 21:40:28 -0400
committerLunny Xiao <xiaolunwen@gmail.com>2017-06-28 09:40:28 +0800
commit9d8fba62b37aee328f47411d1e187ca8f18396e4 (patch)
treebde5f5f3d2ca68159dd7830c6a696a8be3c55f38
parent79daf31058a6de8f3763366b586a99bb4b8e632e (diff)
downloadgitea-9d8fba62b37aee328f47411d1e187ca8f18396e4.tar.gz
gitea-9d8fba62b37aee328f47411d1e187ca8f18396e4.zip
Smaller watch, star, and fork buttons (#2052)
-rw-r--r--templates/repo/header.tmpl12
1 files changed, 6 insertions, 6 deletions
diff --git a/templates/repo/header.tmpl b/templates/repo/header.tmpl
index 2317b5ba86..1b41a22e1c 100644
--- a/templates/repo/header.tmpl
+++ b/templates/repo/header.tmpl
@@ -14,16 +14,16 @@
</div>
<div class="ui right">
- <div class="ui labeled button" tabindex="0">
- <a class="ui button" href="{{$.RepoLink}}/action/{{if $.IsWatchingRepo}}un{{end}}watch?redirect_to={{$.Link}}">
+ <div class="ui compact labeled button" tabindex="0">
+ <a class="ui compact button" href="{{$.RepoLink}}/action/{{if $.IsWatchingRepo}}un{{end}}watch?redirect_to={{$.Link}}">
<i class="icon fa-eye{{if not $.IsWatchingRepo}}-slash{{end}}"></i>{{if $.IsWatchingRepo}}{{$.i18n.Tr "repo.unwatch"}}{{else}}{{$.i18n.Tr "repo.watch"}}{{end}}
</a>
<a class="ui basic label" href="{{.Link}}/watchers">
{{.NumWatches}}
</a>
</div>
- <div class="ui labeled button" tabindex="0">
- <a class="ui button" href="{{$.RepoLink}}/action/{{if $.IsStaringRepo}}un{{end}}star?redirect_to={{$.Link}}">
+ <div class="ui compact labeled button" tabindex="0">
+ <a class="ui compact button" href="{{$.RepoLink}}/action/{{if $.IsStaringRepo}}un{{end}}star?redirect_to={{$.Link}}">
<i class="icon fa-star{{if not $.IsStaringRepo}}-o{{end}}"></i>{{if $.IsStaringRepo}}{{$.i18n.Tr "repo.unstar"}}{{else}}{{$.i18n.Tr "repo.star"}}{{end}}
</a>
<a class="ui basic label" href="{{.Link}}/stars">
@@ -31,8 +31,8 @@
</a>
</div>
{{if .CanBeForked}}
- <div class="ui labeled button" tabindex="0">
- <a class="ui button" href="{{AppSubUrl}}/repo/fork/{{.ID}}">
+ <div class="ui compact labeled button" tabindex="0">
+ <a class="ui compact button" href="{{AppSubUrl}}/repo/fork/{{.ID}}">
<i class="octicon octicon-repo-forked"></i>{{$.i18n.Tr "repo.fork"}}
</a>
<a class="ui basic label" href="{{.Link}}/forks">