summaryrefslogtreecommitdiff
path: root/app/assets/javascripts/pipelines/components/blank_state.vue
blob: 343601051765f05979db6e6502e5a17fd0b9e1f5 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
<script>
export default {
  name: 'PipelinesSvgState',
  props: {
    svgPath: {
      type: String,
      required: true,
    },

    message: {
      type: String,
      required: true,
    },
  },
};
</script>

<template>
  <div class="row empty-state">
    <div class="col-12">
      <div class="svg-content">
        <img :src="svgPath" />
      </div>
    </div>

    <div class="col-12 text-center">
      <div class="text-content">
        <h4>{{ message }}</h4>
      </div>
    </div>
  </div>
</template>