summaryrefslogtreecommitdiff
path: root/app/assets/javascripts/vue_pipelines_index/components/error_state.js
blob: e5d228bddf8cdf7cfb86051a6a6cf924b604575d (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
import pipelinesErrorStateSVG from 'empty_states/icons/_pipelines_failed.svg';

export default {
  template: `
    <div class="row empty-state js-pipelines-error-state">
      <div class="col-xs-12">
        <div class="svg-content">
          ${pipelinesErrorStateSVG}
        </div>
      </div>

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