diff options
author | silverwind <me@silverwind.io> | 2020-10-30 19:54:58 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-10-30 14:54:58 -0400 |
commit | 20a5eff3e81f17e3d5e5ccc1c1d0b982241ba9ad (patch) | |
tree | 076ebdd949d9bfca2601aef83e4a638b2cb2ddc5 | |
parent | 764237e78c8b24d84eaf74f29dc6d7afb66a3c32 (diff) | |
download | gitea-20a5eff3e81f17e3d5e5ccc1c1d0b982241ba9ad.tar.gz gitea-20a5eff3e81f17e3d5e5ccc1c1d0b982241ba9ad.zip |
Change repo home page icons to SVG (#13364)
-rw-r--r-- | templates/repo/home.tmpl | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/templates/repo/home.tmpl b/templates/repo/home.tmpl index 32905fdd58..c9cc3725f1 100644 --- a/templates/repo/home.tmpl +++ b/templates/repo/home.tmpl @@ -15,7 +15,7 @@ <div class="ui action input"> <input name="q" value="{{.Keyword}}" placeholder="{{.i18n.Tr "repo.search.search_repo"}}"> <button class="ui icon button" type="submit"> - <i class="search icon"></i> + {{svg "octicon-search"}} </button> </div> </div> @@ -34,7 +34,7 @@ <div class="ui fluid multiple search selection dropdown"> <input type="hidden" name="topics" value="{{range $i, $v := .Topics}}{{.Name}}{{if lt (Add $i 1) (len $.Topics)}},{{end}}{{end}}"> {{range .Topics}} - <div class="ui small label topic transition visible" data-value="{{.Name}}" style="display: inline-block !important; cursor: default;">{{.Name}}<i class="delete icon"></i></div> + <div class="ui small label topic transition visible" data-value="{{.Name}}" style="display: inline-block !important; cursor: default;">{{.Name}}{{svg "octicon-x" 16 "delete icon ml-3 mt-1"}}</div> {{end}} <div class="text"></div> </div> @@ -131,7 +131,7 @@ </button> {{end}} <div class="ui basic jump dropdown icon button poping up" data-content="{{.i18n.Tr "repo.download_archive"}}" data-variation="tiny inverted" data-position="top right"> - <i class="download icon"></i> + {{svg "octicon-download"}} <div class="menu"> <a class="item" href="{{$.RepoLink}}/archive/{{EscapePound $.BranchName}}.zip">{{svg "octicon-file-zip"}} ZIP</a> <a class="item" href="{{$.RepoLink}}/archive/{{EscapePound $.BranchName}}.tar.gz">{{svg "octicon-file-zip"}} TAR.GZ</a> |