Welcome to mirror list, hosted at ThFree Co, Russian Federation.

runner_instructions.vue « runner_instructions « components « vue_shared « javascripts « assets « app - gitlab.com/gitlab-org/gitlab-foss.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
blob: 06852f511bfa7250b33719de034ed9ca213c8166 (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
<script>
import { GlButton, GlModalDirective } from '@gitlab/ui';
import { s__ } from '~/locale';
import RunnerInstructionsModal from './runner_instructions_modal.vue';

export default {
  components: {
    GlButton,
    RunnerInstructionsModal,
  },
  directives: {
    GlModal: GlModalDirective,
  },
  modalId: 'runner-instructions-modal',
  i18n: {
    buttonText: s__('Runners|Show runner installation instructions'),
  },
};
</script>
<template>
  <div>
    <gl-button v-gl-modal="$options.modalId" class="gl-mt-4" data-testid="show-modal-button">
      {{ $options.i18n.buttonText }}
    </gl-button>
    <runner-instructions-modal :modal-id="$options.modalId" />
  </div>
</template>