diff options
author | Grzegorz Bizon <grzesiek.bizon@gmail.com> | 2016-01-17 16:33:53 +0100 |
---|---|---|
committer | Grzegorz Bizon <grzesiek.bizon@gmail.com> | 2016-01-17 16:39:14 +0100 |
commit | 59ffe978fd5e89b55c737a030314a0bc3fdb85bd (patch) | |
tree | 0ab54de5a6d6654fe049a0718dda138ac3108fa9 | |
parent | adcab296fd48074daf9cac903d90270391f3e9d1 (diff) | |
download | gitlab-ce-59ffe978fd5e89b55c737a030314a0bc3fdb85bd.tar.gz |
Reuse existing CSS classes when exposing CI Lint tool
-rw-r--r-- | app/views/projects/builds/index.html.haml | 19 |
1 files changed, 9 insertions, 10 deletions
diff --git a/app/views/projects/builds/index.html.haml b/app/views/projects/builds/index.html.haml index 36b308b7b8f..747d94cc9e6 100644 --- a/app/views/projects/builds/index.html.haml +++ b/app/views/projects/builds/index.html.haml @@ -9,16 +9,15 @@ = link_to 'Cancel running', cancel_all_namespace_project_builds_path(@project.namespace, @project), data: { confirm: 'Are you sure?' }, class: 'btn btn-danger', method: :post - .pull-left.hidden-xs.hidden-sm{ style: 'margin-left: 7px;' } - .dropdown - %button.btn.btn-default.dropdown-toggle{ type: 'button', id: 'tools-dropdown', 'data-toggle' => 'dropdown' } - Tools - %span.caret - %ul.dropdown-menu.dropdown-menu-right - %li - = link_to ci_lint_path do - = icon('wrench') - %span CI Lint Tool + .dropdown.inline + %button.btn.btn-default.dropdown-toggle{ type: 'button', id: 'tools-dropdown', 'data-toggle' => 'dropdown' } + Tools + %span.caret + %ul.dropdown-menu.dropdown-menu-right + %li + = link_to ci_lint_path do + = icon('wrench') + %span CI Lint Tool %ul.nav-links %li{class: ('active' if @scope.nil?)} |