diff options
author | Patrick G <geek1011@users.noreply.github.com> | 2017-03-15 18:55:12 +0000 |
---|---|---|
committer | Kim "BKC" Carlbäcker <kim.carlbacker@gmail.com> | 2017-03-15 19:55:12 +0100 |
commit | 03d79983ee40a22039b5fd1a204499977ab87254 (patch) | |
tree | 198899d6b813e0dee5a9c3b54862e8ee0017a448 /templates/explore/navbar.tmpl | |
parent | 780cb692d64edfadea6f79fbbad2ef033cdbe796 (diff) | |
download | gitea-03d79983ee40a22039b5fd1a204499977ab87254.tar.gz gitea-03d79983ee40a22039b5fd1a204499977ab87254.zip |
Cleaner UI for explore page (#1253) (#1255)
* Take navbar out of column
* Add styles to navbar
* Changed navbar classes
* Remove unneeded !important from index.css
* Remove unneeded !important from _explore.less
Diffstat (limited to 'templates/explore/navbar.tmpl')
-rw-r--r-- | templates/explore/navbar.tmpl | 23 |
1 files changed, 10 insertions, 13 deletions
diff --git a/templates/explore/navbar.tmpl b/templates/explore/navbar.tmpl index 2e20da0fa5..5977e950d0 100644 --- a/templates/explore/navbar.tmpl +++ b/templates/explore/navbar.tmpl @@ -1,14 +1,11 @@ -<div class="four wide column"> - <div class="ui vertical menu navbar"> - <div class="header item">{{.i18n.Tr "explore"}}</div> - <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> - <a class="{{if .PageIsExploreOrganizations}}active{{end}} item" href="{{AppSubUrl}}/explore/organizations"> - <span class="octicon octicon-organization"></span> {{.i18n.Tr "explore.organizations"}} - </a> - </div> +<div class="ui secondary pointing tabular top attached borderless menu navbar"> + <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> + <a class="{{if .PageIsExploreOrganizations}}active{{end}} item" href="{{AppSubUrl}}/explore/organizations"> + <span class="octicon octicon-organization"></span> {{.i18n.Tr "explore.organizations"}} + </a> </div> |