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 { ...@@ -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-primary 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 btn-retry 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-secondary' : ' btn-default';
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 btn-default gl-text-decoration-none!"
data-method="post" data-method="post"
data-testid="cancel-button" data-testid="cancel-button"
rel="nofollow" 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