Commit aca98a92 authored by Jose Ivan Vargas's avatar Jose Ivan Vargas

Merge branch 'gl-button-job' into 'master'

Apply new GitLab UI for buttons in pipeline page

See merge request gitlab-org/gitlab!53364
parents 2d945c61 8d34e512
......@@ -85,7 +85,7 @@ export default {
<gl-link
:href="action.path"
:data-method="action.method"
class="btn btn-primary"
class="btn gl-button btn-confirm gl-text-decoration-none!"
data-testid="job-empty-state-action"
>{{ action.button_title }}</gl-link
>
......
......@@ -46,9 +46,9 @@ export default {
...mapGetters(['hasForwardDeploymentFailure']),
...mapState(['job', 'stages', 'jobs', 'selectedStage']),
retryButtonClass() {
let className = 'btn btn-retry';
let className = 'btn gl-button gl-text-decoration-none!';
className +=
this.job.status && this.job.recoverable ? ' btn-primary' : ' btn-inverted-secondary';
this.job.status && this.job.recoverable ? ' btn-confirm' : ' btn-confirm-secondary';
return className;
},
hasArtifact() {
......@@ -94,7 +94,7 @@ export default {
<gl-link
v-if="job.cancel_path"
:href="job.cancel_path"
class="btn btn-default"
class="btn gl-button btn-default gl-text-decoration-none!"
data-method="post"
data-testid="cancel-button"
rel="nofollow"
......@@ -115,7 +115,7 @@ export default {
<gl-link
v-if="job.new_issue_path"
:href="job.new_issue_path"
class="btn btn-success btn-inverted float-left mr-2"
class="btn gl-button btn-success-secondary float-left mr-2 gl-text-decoration-none!"
data-testid="job-new-issue"
>{{ $options.i18n.newIssue }}
</gl-link>
......
......@@ -355,7 +355,7 @@ export default {
:title="$options.i18n.redeployTitle"
:disabled="isRetrying"
:loading="isRetrying"
class="js-pipelines-retry-button btn-retry"
class="js-pipelines-retry-button"
data-qa-selector="pipeline_retry_button"
icon="repeat"
variant="default"
......
---
title: Apply new GitLab UI for buttons in pipeline page
merge_request: 53364
author: Yogi (@yo)
type: other
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