summaryrefslogtreecommitdiff
path: root/app/assets/javascripts/serverless/components/empty_state.vue
blob: 2683805f2f78588fc9913674be6ba296cc4f6922 (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
30
31
32
33
34
35
36
37
38
39
40
<script>
export default {
  props: {
    clustersPath: {
      type: String,
      required: true,
    },
    helpPath: {
      type: String,
      required: true,
    },
  },
};
</script>

<template>
  <div class="row empty-state js-empty-state">
    <div class="col-12">
      <div class="text-content">
        <h4 class="state-title text-center">
          {{ s__('Serverless|Getting started with serverless') }}
        </h4>
        <p class="state-description">
          {{
            s__(`Serverless| In order to start using functions as a service,
                 you must first install Knative on your Kubernetes cluster.`)
          }}

          <a :href="helpPath"> {{ __('More information') }} </a>
        </p>

        <div class="text-center">
          <a :href="clustersPath" class="btn btn-success">
            {{ s__('Serverless|Install Knative') }}
          </a>
        </div>
      </div>
    </div>
  </div>
</template>