summaryrefslogtreecommitdiff
path: root/app/assets/javascripts/vue_pipelines_index/components/error_state.js
blob: f197395a6dbf4de4e636e7b0661f49e944efe4f1 (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 js-pipelines-error-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>
  `,
};