mirror of
https://github.com/apache/cloudstack.git
synced 2025-10-26 08:42:29 +01:00
displaying info of the labels from form CreateSSHKeyPair (#9970)
This commit is contained in:
parent
c63c7ee63e
commit
a2d5aa997f
@ -27,11 +27,8 @@
|
|||||||
@finish="handleSubmit"
|
@finish="handleSubmit"
|
||||||
layout="vertical">
|
layout="vertical">
|
||||||
<a-form-item name="name" ref="name">
|
<a-form-item name="name" ref="name">
|
||||||
<template #label :title="apiParams.name.description">
|
<template #label>
|
||||||
{{ $t('label.name') }}
|
<tooltip-label :title="$t('label.name')" :tooltip="apiParams.name.description"/>
|
||||||
<a-tooltip>
|
|
||||||
<info-circle-outlined style="color: rgba(0,0,0,.45)" />
|
|
||||||
</a-tooltip>
|
|
||||||
</template>
|
</template>
|
||||||
<a-input
|
<a-input
|
||||||
v-model:value="form.name"
|
v-model:value="form.name"
|
||||||
@ -39,22 +36,16 @@
|
|||||||
v-focus="true" />
|
v-focus="true" />
|
||||||
</a-form-item>
|
</a-form-item>
|
||||||
<a-form-item name="publickey" ref="publickey">
|
<a-form-item name="publickey" ref="publickey">
|
||||||
<template #label :title="apiParams.publickey.description">
|
<template #label>
|
||||||
{{ $t('label.publickey') }}
|
<tooltip-label :title="$t('label.publickey')" :tooltip="apiParams.publickey.description"/>
|
||||||
<a-tooltip>
|
|
||||||
<info-circle-outlined style="color: rgba(0,0,0,.45)" />
|
|
||||||
</a-tooltip>
|
|
||||||
</template>
|
</template>
|
||||||
<a-input
|
<a-input
|
||||||
v-model:value="form.publickey"
|
v-model:value="form.publickey"
|
||||||
:placeholder="apiParams.publickey.description"/>
|
:placeholder="apiParams.publickey.description"/>
|
||||||
</a-form-item>
|
</a-form-item>
|
||||||
<a-form-item name="domainid" ref="domainid" v-if="isAdminOrDomainAdmin()">
|
<a-form-item name="domainid" ref="domainid" v-if="isAdminOrDomainAdmin()">
|
||||||
<template #label :title="apiParams.domainid.description">
|
<template #label>
|
||||||
{{ $t('label.domainid') }}
|
<tooltip-label :title="$t('label.domainid')" :tooltip="apiParams.domainid.description"/>
|
||||||
<a-tooltip>
|
|
||||||
<info-circle-outlined style="color: rgba(0,0,0,.45)" />
|
|
||||||
</a-tooltip>
|
|
||||||
</template>
|
</template>
|
||||||
<a-select
|
<a-select
|
||||||
id="domain-selection"
|
id="domain-selection"
|
||||||
@ -105,11 +96,15 @@
|
|||||||
import { ref, reactive, toRaw } from 'vue'
|
import { ref, reactive, toRaw } from 'vue'
|
||||||
import { api } from '@/api'
|
import { api } from '@/api'
|
||||||
import { mixinForm } from '@/utils/mixin'
|
import { mixinForm } from '@/utils/mixin'
|
||||||
|
import TooltipLabel from '@/components/widgets/TooltipLabel'
|
||||||
|
|
||||||
export default {
|
export default {
|
||||||
name: 'CreateSSHKeyPair',
|
name: 'CreateSSHKeyPair',
|
||||||
mixins: [mixinForm],
|
mixins: [mixinForm],
|
||||||
props: {},
|
props: {},
|
||||||
|
components: {
|
||||||
|
TooltipLabel
|
||||||
|
},
|
||||||
data () {
|
data () {
|
||||||
return {
|
return {
|
||||||
domains: [],
|
domains: [],
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user