summaryrefslogtreecommitdiff
path: root/app/assets/javascripts/pipelines/components/blank_state.vue
blob: f3219b8291cd9582920d1f96eaf3d2b6b0f442c8 (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>