aboutsummaryrefslogtreecommitdiffstats
path: root/templates/user/dashboard
diff options
context:
space:
mode:
authorsilverwind <me@silverwind.io>2020-11-09 19:21:47 +0100
committerGitHub <noreply@github.com>2020-11-09 18:21:47 +0000
commit8bae34c4b24b6af4ce9144028298884710ebf7a5 (patch)
tree879e32216b04f2e2dab0bc959ada756582144603 /templates/user/dashboard
parentef2ffc6aeddb872e438627b9fcb67bdd889fc726 (diff)
downloadgitea-8bae34c4b24b6af4ce9144028298884710ebf7a5.tar.gz
gitea-8bae34c4b24b6af4ce9144028298884710ebf7a5.zip
Change search and filter icons to SVG (#13473)
Unfortunately, the Fomantic CSS relies on i.icon instead of .icon so a wrapper is necessary for these with an accompanying class to center the icon.
Diffstat (limited to 'templates/user/dashboard')
-rw-r--r--templates/user/dashboard/repolist.tmpl6
1 files changed, 3 insertions, 3 deletions
diff --git a/templates/user/dashboard/repolist.tmpl b/templates/user/dashboard/repolist.tmpl
index 717318634e..e1b97c8b9c 100644
--- a/templates/user/dashboard/repolist.tmpl
+++ b/templates/user/dashboard/repolist.tmpl
@@ -29,9 +29,9 @@
<div class="ui attached secondary segment repos-search">
<div class="ui fluid right action left icon input" :class="{loading: isLoading}">
<input @input="searchRepos(reposFilter)" v-model="searchQuery" ref="search" placeholder="{{.i18n.Tr "home.search_repos"}}">
- <i class="search icon"></i>
- <div class="ui dropdown button" title="{{.i18n.Tr "home.filter"}}">
- <i class="icon filter"></i>
+ <i class="icon df ac jc">{{svg "octicon-search" 16}}</i>
+ <div class="ui dropdown icon button" title="{{.i18n.Tr "home.filter"}}">
+ <i class="icon df ac jc m-0">{{svg "octicon-filter" 16}}</i>
<div class="menu">
<div class="item">
<a @click="toggleArchivedFilter()">