diff options
author | Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com> | 2015-09-03 18:19:31 +0200 |
---|---|---|
committer | Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com> | 2015-09-03 18:19:31 +0200 |
commit | 89df4a7922431b59c65c91199a93639663da667d (patch) | |
tree | 60405777117b099e699d1744e5aedda6ef7881b4 /app/views/explore | |
parent | 0195b085a191dfa07799dcc0f232f76954910124 (diff) | |
download | gitlab-ce-89df4a7922431b59c65c91199a93639663da667d.tar.gz |
New UI for explore groups and trending pages
Signed-off-by: Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com>
Diffstat (limited to 'app/views/explore')
-rw-r--r-- | app/views/explore/groups/index.html.haml | 6 | ||||
-rw-r--r-- | app/views/explore/projects/trending.html.haml | 4 |
2 files changed, 5 insertions, 5 deletions
diff --git a/app/views/explore/groups/index.html.haml b/app/views/explore/groups/index.html.haml index 80acb914365..86410db2b2d 100644 --- a/app/views/explore/groups/index.html.haml +++ b/app/views/explore/groups/index.html.haml @@ -1,14 +1,14 @@ - page_title "Groups" - if current_user = render 'dashboard/groups_head' -.clearfix.append-bottom-10 +.gray-content-block.clearfix .pull-left = form_tag explore_groups_path, method: :get, class: 'form-inline form-tiny' do |f| = hidden_field_tag :sort, @sort .form-group = search_field_tag :search, params[:search], placeholder: "Filter by name", class: "form-control search-text-input", id: "groups_search" .form-group - = button_tag 'Search', class: "btn btn-primary wide" + = button_tag 'Search', class: "btn btn-default" .pull-right .dropdown.inline @@ -30,7 +30,7 @@ = link_to explore_groups_path(sort: sort_value_oldest_updated) do = sort_title_oldest_updated -%ul.bordered-list +%ul.content-list - @groups.each do |group| = render 'shared/groups/group', group: group - unless @groups.present? diff --git a/app/views/explore/projects/trending.html.haml b/app/views/explore/projects/trending.html.haml index 4c7e7d44733..1590bb9fc63 100644 --- a/app/views/explore/projects/trending.html.haml +++ b/app/views/explore/projects/trending.html.haml @@ -1,12 +1,12 @@ - page_title "Trending Projects" - if current_user = render 'dashboard/projects_head' -.explore-title + +.gray-content-block.explore-title %h3 Explore GitLab %p.lead Discover projects and groups. Share your projects with others -%hr .explore-trending-block .lead %i.fa.fa-comments-o |