diff options
author | Clement Ho <ClemMakesApps@gmail.com> | 2018-04-09 11:49:18 -0500 |
---|---|---|
committer | Clement Ho <ClemMakesApps@gmail.com> | 2018-04-09 11:49:18 -0500 |
commit | 917b7e0dd95fcf4f37abbab9f5e4ce40446d6e76 (patch) | |
tree | bf9a4d4871642445b61e9af80106c5e6a2d91901 /app/views/admin/runners/_runner.html.haml | |
parent | 63c9b63a3f2f996a2a7b40743613772a2351e842 (diff) | |
download | gitlab-ce-917b7e0dd95fcf4f37abbab9f5e4ce40446d6e76.tar.gz |
Rename .btn-default to .btn-secondary
Diffstat (limited to 'app/views/admin/runners/_runner.html.haml')
-rw-r--r-- | app/views/admin/runners/_runner.html.haml | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/app/views/admin/runners/_runner.html.haml b/app/views/admin/runners/_runner.html.haml index e1cee584929..c5a0248def6 100644 --- a/app/views/admin/runners/_runner.html.haml +++ b/app/views/admin/runners/_runner.html.haml @@ -36,14 +36,14 @@ Never %td.admin-runner-btn-group-cell .pull-right.btn-group - = link_to admin_runner_path(runner), class: 'btn btn-sm btn-default has-tooltip', title: 'Edit', ref: 'tooltip', aria: { label: 'Edit' }, data: { placement: 'top', container: 'body'} do + = link_to admin_runner_path(runner), class: 'btn btn-sm btn-secondary has-tooltip', title: 'Edit', ref: 'tooltip', aria: { label: 'Edit' }, data: { placement: 'top', container: 'body'} do = icon('pencil') - if runner.active? - = link_to [:pause, :admin, runner], method: :get, class: 'btn btn-sm btn-default has-tooltip', title: 'Pause', ref: 'tooltip', aria: { label: 'Pause' }, data: { placement: 'top', container: 'body', confirm: "Are you sure?" } do + = link_to [:pause, :admin, runner], method: :get, class: 'btn btn-sm btn-secondary has-tooltip', title: 'Pause', ref: 'tooltip', aria: { label: 'Pause' }, data: { placement: 'top', container: 'body', confirm: "Are you sure?" } do = icon('pause') - else - = link_to [:resume, :admin, runner], method: :get, class: 'btn btn-default btn-sm has-tooltip', title: 'Resume', ref: 'tooltip', aria: { label: 'Resume' }, data: { placement: 'top', container: 'body'} do + = link_to [:resume, :admin, runner], method: :get, class: 'btn btn-secondary btn-sm has-tooltip', title: 'Resume', ref: 'tooltip', aria: { label: 'Resume' }, data: { placement: 'top', container: 'body'} do = icon('play') = link_to [:admin, runner], method: :delete, class: 'btn btn-danger btn-sm has-tooltip', title: 'Remove', ref: 'tooltip', aria: { label: 'Remove' }, data: { placement: 'top', container: 'body', confirm: "Are you sure?" } do = icon('remove') |