debian-mirror-gitlab/app/assets/javascripts/serverless/components/url.vue

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

29 lines
560 B
Vue
Raw Normal View History

2019-03-02 22:35:43 +05:30
<script>
2022-06-21 17:19:12 +05:30
import ClipboardButton from '~/vue_shared/components/clipboard_button.vue';
2019-03-02 22:35:43 +05:30
export default {
components: {
ClipboardButton,
},
props: {
uri: {
type: String,
required: true,
},
},
};
</script>
<template>
<div class="clipboard-group">
2021-01-03 14:25:43 +05:30
<div class="gl-cursor-text label label-monospace monospace" data-testid="url-text-field">
{{ uri }}
</div>
2019-03-02 22:35:43 +05:30
<clipboard-button
:text="uri"
2019-12-21 20:55:43 +05:30
:title="s__('ServerlessURL|Copy URL')"
2019-03-02 22:35:43 +05:30
class="input-group-text js-clipboard-btn"
/>
</div>
</template>