Commit 4e158d6b authored by yo's avatar yo Committed by Yogi

Apply new GitLab UI for buttons in pipeline page

parent 3a6c2a41
......@@ -85,7 +85,7 @@ export default {
<gl-link
:href="action.path"
:data-method="action.method"
class="btn btn-primary"
class="btn gl-button btn-primary 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 btn-retry gl-text-decoration-none!';
className +=
this.job.status && this.job.recoverable ? ' btn-primary' : ' btn-inverted-secondary';
this.job.status && this.job.recoverable ? ' btn-confirm-secondary' : ' btn-default';
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 btn-default gl-text-decoration-none!"
data-method="post"
data-testid="cancel-button"
rel="nofollow"
......
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