debian-mirror-gitlab/app/assets/javascripts/pipelines/components/error_state.vue

27 lines
497 B
Vue
Raw Normal View History

2017-08-17 22:00:37 +05:30
<script>
export default {
2018-03-17 18:26:18 +05:30
props: {
errorStateSvgPath: {
type: String,
required: true,
},
},
2017-08-17 22:00:37 +05:30
};
</script>
<template>
<div class="row empty-state js-pipelines-error-state">
<div class="col-xs-12">
2018-03-17 18:26:18 +05:30
<div class="svg-content">
<img :src="errorStateSvgPath"/>
</div>
2017-08-17 22:00:37 +05:30
</div>
<div class="col-xs-12 text-center">
<div class="text-content">
<h4>The API failed to fetch the pipelines.</h4>
</div>
</div>
</div>
</template>