Commit cecfbd55 authored by Dmitriy Zaporozhets's avatar Dmitriy Zaporozhets

Restlye project sidebar a bit to make it more clear

Signed-off-by: default avatarDmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com>
parent 3b0cf49f
...@@ -203,11 +203,16 @@ ul.nav.nav-projects-tabs { ...@@ -203,11 +203,16 @@ ul.nav.nav-projects-tabs {
.well { .well {
h4 { h4 {
font-weight: normal; font-weight: normal;
margin: 0;
} }
.nav-pills a { .nav-pills a {
padding: 10px; padding: 10px;
} }
.nav {
margin: 10px 0;
}
} }
} }
......
...@@ -10,7 +10,7 @@ ...@@ -10,7 +10,7 @@
%li= link_to pluralize(number_with_delimiter(@repository.branch_names.count), 'branch'), namespace_project_branches_path(@project.namespace, @project) %li= link_to pluralize(number_with_delimiter(@repository.branch_names.count), 'branch'), namespace_project_branches_path(@project.namespace, @project)
%li= link_to pluralize(number_with_delimiter(@repository.tag_names.count), 'tag'), namespace_project_tags_path(@project.namespace, @project) %li= link_to pluralize(number_with_delimiter(@repository.tag_names.count), 'tag'), namespace_project_tags_path(@project.namespace, @project)
%hr .actions
= link_to namespace_project_compare_index_path(@project.namespace, @project, from: @repository.root_ref, to: @ref || @repository.root_ref), class: 'btn btn-sm' do = link_to namespace_project_compare_index_path(@project.namespace, @project, from: @repository.root_ref, to: @ref || @repository.root_ref), class: 'btn btn-sm' do
%i.fa.fa-exchange %i.fa.fa-exchange
Compare code Compare code
...@@ -35,7 +35,7 @@ ...@@ -35,7 +35,7 @@
%li %li
= link_to license_url(@project) do = link_to license_url(@project) do
License License
%hr .actions
= link_to url_for_new_issue(@project, only_path: true), title: "New Issue", class: 'btn btn-sm' do = link_to url_for_new_issue(@project, only_path: true), title: "New Issue", class: 'btn btn-sm' do
%i.fa.fa-fw.fa-exclamation-circle %i.fa.fa-fw.fa-exclamation-circle
New issue New issue
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment