summaryrefslogtreecommitdiffstats
path: root/templates/explore/navbar.tmpl
diff options
context:
space:
mode:
authorUnknwon <u@gogs.io>2016-03-11 15:33:12 -0500
committerUnknwon <u@gogs.io>2016-03-11 15:33:12 -0500
commit2bf8494332592b3c57f9a12a26b9abd356fb3f15 (patch)
treee46c61ba30018ebbafcda6b97b36d3ffece3cfb0 /templates/explore/navbar.tmpl
parentdf2bdf7ea36ad0729e0326ca799d8896d7f96946 (diff)
downloadgitea-2bf8494332592b3c57f9a12a26b9abd356fb3f15.tar.gz
gitea-2bf8494332592b3c57f9a12a26b9abd356fb3f15.zip
#13 finish user and repository search
Both are possible on explore and admin panel
Diffstat (limited to 'templates/explore/navbar.tmpl')
-rw-r--r--templates/explore/navbar.tmpl9
1 files changed, 6 insertions, 3 deletions
diff --git a/templates/explore/navbar.tmpl b/templates/explore/navbar.tmpl
index 2b6aa93f5c..1e2ab786af 100644
--- a/templates/explore/navbar.tmpl
+++ b/templates/explore/navbar.tmpl
@@ -1,8 +1,11 @@
<div class="four wide column">
- <div class="ui vertical menu">
+ <div class="ui vertical menu navbar">
<div class="header item">{{.i18n.Tr "explore"}}</div>
- <a class="{{if .PageIsExploreRepositories}}active{{end}} item" href="{{AppSubUrl}}/explore">
- {{.i18n.Tr "explore.repos"}}
+ <a class="{{if .PageIsExploreRepositories}}active{{end}} item" href="{{AppSubUrl}}/explore/repos">
+ <span class="octicon octicon-repo"></span> {{.i18n.Tr "explore.repos"}}
+ </a>
+ <a class="{{if .PageIsExploreUsers}}active{{end}} item" href="{{AppSubUrl}}/explore/users">
+ <span class="octicon octicon-person"></span> {{.i18n.Tr "explore.users"}}
</a>
</div>
</div>