summaryrefslogtreecommitdiff
path: root/app/assets/javascripts/vue_pipelines_index/components/error_state.js
blob: 9071ecdea735ffa77527ab4cc5124ff538557fae (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
import pipelinesErrorStateSVG from 'empty_states/icons/_pipelines_failed.svg';

export default {
  data() {
    return {
      pipelinesErrorStateSVG,
    };
  },

  template: `
  <div class="row empty-state">
    <div class="col-xs-12 pull-right">
      <div class="svg-content">
        ${pipelinesErrorStateSVG}
      </div>
    </div>

    <div class="col-xs-12 center">
      <div class="text-content">
        <h4>The API failed to fetch the pipelines.</h4>
      </div>
    </div>
  </div>
  `,
};