summaryrefslogtreecommitdiff
path: root/app/assets/javascripts/pipelines/components/error_state.vue
blob: 90cee68163efe8c2340aece40e979953a6c663fd (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
<script>
import pipelinesErrorStateSVG from 'empty_states/icons/_pipelines_failed.svg';

export default {
  data: () => ({ pipelinesErrorStateSVG }),
};
</script>

<template>
  <div class="row empty-state js-pipelines-error-state">
    <div class="col-xs-12">
      <div class="svg-content" v-html="pipelinesErrorStateSVG" />
    </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>