Commit 59ffe978 authored by Grzegorz Bizon's avatar Grzegorz Bizon

Reuse existing CSS classes when exposing CI Lint tool

parent adcab296
...@@ -9,16 +9,15 @@ ...@@ -9,16 +9,15 @@
= link_to 'Cancel running', cancel_all_namespace_project_builds_path(@project.namespace, @project), = link_to 'Cancel running', cancel_all_namespace_project_builds_path(@project.namespace, @project),
data: { confirm: 'Are you sure?' }, class: 'btn btn-danger', method: :post data: { confirm: 'Are you sure?' }, class: 'btn btn-danger', method: :post
.pull-left.hidden-xs.hidden-sm{ style: 'margin-left: 7px;' } .dropdown.inline
.dropdown %button.btn.btn-default.dropdown-toggle{ type: 'button', id: 'tools-dropdown', 'data-toggle' => 'dropdown' }
%button.btn.btn-default.dropdown-toggle{ type: 'button', id: 'tools-dropdown', 'data-toggle' => 'dropdown' } Tools
Tools %span.caret
%span.caret %ul.dropdown-menu.dropdown-menu-right
%ul.dropdown-menu.dropdown-menu-right %li
%li = link_to ci_lint_path do
= link_to ci_lint_path do = icon('wrench')
= icon('wrench') %span CI Lint Tool
%span CI Lint Tool
%ul.nav-links %ul.nav-links
%li{class: ('active' if @scope.nil?)} %li{class: ('active' if @scope.nil?)}
......
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