aboutsummaryrefslogtreecommitdiffstats
path: root/templates/repo/home.tmpl
diff options
context:
space:
mode:
authorsilverwind <me@silverwind.io>2019-02-05 22:59:26 +0100
committertechknowlogick <matti@mdranta.net>2019-02-05 16:59:26 -0500
commitacaf5c96fe7f93440dfbd52dd60b4f1a5656d556 (patch)
tree973fb904799b123dc61f3922f9eef43c4bb50d39 /templates/repo/home.tmpl
parentc20034be31034f135f4e5f0a995ae82c318516c2 (diff)
downloadgitea-acaf5c96fe7f93440dfbd52dd60b4f1a5656d556.tar.gz
gitea-acaf5c96fe7f93440dfbd52dd60b4f1a5656d556.zip
UI: Repo header tweaks (#5945)
* UI: Repo header tweaks - Use basic buttons on the header buttons, matching gogs - Make 'Manage topic' text smaller, remove margin-left with no topics present - Move various inline styles to CSS - Use flexbox on header title and buttons * fix indentation * reverse media query wrapping * fix inconsisten whitespace
Diffstat (limited to 'templates/repo/home.tmpl')
-rw-r--r--templates/repo/home.tmpl6
1 files changed, 3 insertions, 3 deletions
diff --git a/templates/repo/home.tmpl b/templates/repo/home.tmpl
index 5a08a95ad4..e2e6b2be63 100644
--- a/templates/repo/home.tmpl
+++ b/templates/repo/home.tmpl
@@ -23,9 +23,9 @@
</div>
{{end}}
</div>
- <div class="ui repo-topic" id="repo-topic">
- {{range .Topics}}<a class="ui green basic label topic" style="cursor:pointer;" href="{{AppSubUrl}}/explore/repos?q={{.Name}}&topic=1">{{.Name}}</a>{{end}}
- {{if and .Permission.IsAdmin (not .Repository.IsArchived)}}<a id="manage_topic" style="cursor:pointer;margin-left:10px;">{{.i18n.Tr "repo.topic.manage_topics"}}</a>{{end}}
+ <div class="ui" id="repo-topics">
+ {{range .Topics}}<a class="ui repo-topic green basic label topic" href="{{AppSubUrl}}/explore/repos?q={{.Name}}&topic=1">{{.Name}}</a>{{end}}
+ {{if and .Permission.IsAdmin (not .Repository.IsArchived)}}<a id="manage_topic">{{.i18n.Tr "repo.topic.manage_topics"}}</a>{{end}}
</div>
{{if and .Permission.IsAdmin (not .Repository.IsArchived)}}
<div class="ui repo-topic-edit grid form segment error" id="topic_edit" style="display:none">