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

31 lines
500 B
Vue
Raw Normal View History

2018-03-27 19:54:05 +05:30
<script>
2018-11-08 19:23:39 +05:30
export default {
name: 'PipelinesSvgState',
props: {
svgPath: {
type: String,
required: true,
},
2018-03-27 19:54:05 +05:30
2018-11-08 19:23:39 +05:30
message: {
type: String,
required: true,
2018-03-27 19:54:05 +05:30
},
2018-11-08 19:23:39 +05:30
},
};
2018-03-27 19:54:05 +05:30
</script>
<template>
<div class="row empty-state">
2018-11-08 19:23:39 +05:30
<div class="col-12">
2019-02-13 22:33:31 +05:30
<div class="svg-content"><img :src="svgPath" /></div>
2018-03-27 19:54:05 +05:30
</div>
2018-11-08 19:23:39 +05:30
<div class="col-12 text-center">
2018-03-27 19:54:05 +05:30
<div class="text-content">
<h4>{{ message }}</h4>
</div>
</div>
</div>
</template>