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

33 lines
516 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">
2018-03-27 19:54:05 +05:30
<div class="svg-content">
<img :src="svgPath" />
</div>
</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>