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 { ...@@ -85,7 +85,7 @@ export default {
<gl-link <gl-link
:href="action.path" :href="action.path"
:data-method="action.method" :data-method="action.method"
class="btn btn-primary" class="btn gl-button btn-confirm gl-text-decoration-none!"
data-testid="job-empty-state-action" data-testid="job-empty-state-action"
>{{ action.button_title }}</gl-link >{{ action.button_title }}</gl-link
> >
......
...@@ -46,9 +46,9 @@ export default { ...@@ -46,9 +46,9 @@ export default {
...mapGetters(['hasForwardDeploymentFailure']), ...mapGetters(['hasForwardDeploymentFailure']),
...mapState(['job', 'stages', 'jobs', 'selectedStage']), ...mapState(['job', 'stages', 'jobs', 'selectedStage']),
retryButtonClass() { retryButtonClass() {
let className = 'btn btn-retry'; let className = 'btn gl-button gl-text-decoration-none!';
className += 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; return className;
}, },
hasArtifact() { hasArtifact() {
...@@ -94,7 +94,7 @@ export default { ...@@ -94,7 +94,7 @@ export default {
<gl-link <gl-link
v-if="job.cancel_path" v-if="job.cancel_path"
:href="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-method="post"
data-testid="cancel-button" data-testid="cancel-button"
rel="nofollow" rel="nofollow"
...@@ -115,7 +115,7 @@ export default { ...@@ -115,7 +115,7 @@ export default {
<gl-link <gl-link
v-if="job.new_issue_path" v-if="job.new_issue_path"
:href="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" data-testid="job-new-issue"
>{{ $options.i18n.newIssue }} >{{ $options.i18n.newIssue }}
</gl-link> </gl-link>
......
...@@ -355,7 +355,7 @@ export default { ...@@ -355,7 +355,7 @@ export default {
:title="$options.i18n.redeployTitle" :title="$options.i18n.redeployTitle"
:disabled="isRetrying" :disabled="isRetrying"
:loading="isRetrying" :loading="isRetrying"
class="js-pipelines-retry-button btn-retry" class="js-pipelines-retry-button"
data-qa-selector="pipeline_retry_button" data-qa-selector="pipeline_retry_button"
icon="repeat" icon="repeat"
variant="default" 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