summaryrefslogtreecommitdiff
path: root/app/assets/javascripts/vue_merge_request_widget/components/loading.vue
blob: cd4e31e0daec5b810a95f852aad0242b83bd9d94 (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
<script>
import { GlSkeletonLoader } from '@gitlab/ui';

export default {
  components: {
    GlSkeletonLoader,
  },
};
</script>

<template>
  <div class="gl-mt-3">
    <div class="mr-widget-heading p-3">
      <gl-skeleton-loader :width="577" :height="12">
        <rect width="86" height="12" rx="2" />
        <rect x="96" width="300" height="12" rx="2" />
      </gl-skeleton-loader>
    </div>
    <div class="mr-widget-heading mr-widget-workflow p-3">
      <gl-skeleton-loader :width="577" :height="72">
        <rect width="120" height="12" rx="2" />
        <rect y="20" width="300" height="12" rx="2" />
        <rect y="40" width="60" height="12" rx="2" />
        <rect y="40" x="68" width="100" height="12" rx="2" />
        <rect y="60" width="40" height="12" rx="2" />
      </gl-skeleton-loader>
    </div>
  </div>
</template>