blob: a769b4a6ad8379ad36e28bbf49c2d8d1fcd5a446 (
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
|
<script>
import { GlButton, GlIcon } from '@gitlab/ui';
import { s__ } from '~/locale';
import { DOCS_URL } from 'jh_else_ce/lib/utils/url_utility';
export default {
components: {
GlButton,
GlIcon,
},
methods: {
onClose() {
this.$emit('close');
},
},
I18N_INSTRUCTIONS_TEXT: s__(
'Runners|To install Runner in Kubernetes follow the instructions described in the GitLab documentation.',
),
I18N_VIEW_INSTRUCTIONS: s__('Runners|View installation instructions'),
HELP_URL: `${DOCS_URL}/runner/install/kubernetes.html`,
};
</script>
<template>
<div>
<p>
{{ $options.I18N_INSTRUCTIONS_TEXT }}
</p>
<gl-button :href="$options.HELP_URL">
<gl-icon name="external-link" />
{{ $options.I18N_VIEW_INSTRUCTIONS }}
</gl-button>
<footer class="gl-display-flex gl-justify-content-end gl-pt-3">
<gl-button @click="onClose()">{{ __('Close') }}</gl-button>
</footer>
</div>
</template>
|