mirror of
https://github.com/apache/cloudstack.git
synced 2025-10-26 08:42:29 +01:00
UI: show checksum field when register or upload template/isos (#10725)
This commit is contained in:
parent
0c4ed1e5b7
commit
4c072b5bf9
@ -88,6 +88,15 @@
|
||||
<a-switch v-model:checked="form.directdownload"/>
|
||||
</a-form-item>
|
||||
|
||||
<a-form-item ref="checksum" name="checksum">
|
||||
<template #label>
|
||||
<tooltip-label :title="$t('label.checksum')" :tooltip="apiParams.checksum.description"/>
|
||||
</template>
|
||||
<a-input
|
||||
v-model:value="form.checksum"
|
||||
:placeholder="apiParams.checksum.description" />
|
||||
</a-form-item>
|
||||
|
||||
<a-form-item ref="zoneid" name="zoneid">
|
||||
<template #label>
|
||||
<tooltip-label :title="$t('label.zoneid')" :tooltip="apiParams.zoneid.description"/>
|
||||
|
||||
@ -214,8 +214,8 @@
|
||||
</a-form-item>
|
||||
</a-col>
|
||||
</a-row>
|
||||
<a-row :gutter="12" v-if="allowed && (hyperKVMShow || hyperCustomShow) && currentForm === 'Create'">
|
||||
<a-col :md="24" :lg="12">
|
||||
<a-row :gutter="12">
|
||||
<a-col :md="24" :lg="12" v-if="(hyperKVMShow || hyperCustomShow) && currentForm === 'Create'">
|
||||
<a-form-item ref="directdownload" name="directdownload">
|
||||
<template #label>
|
||||
<tooltip-label :title="$t('label.directdownload')" :tooltip="apiParams.directdownload.description"/>
|
||||
@ -223,7 +223,7 @@
|
||||
<a-switch v-model:checked="form.directdownload" @change="handleChangeDirect" />
|
||||
</a-form-item>
|
||||
</a-col>
|
||||
<a-col :md="24" :lg="12" v-if="allowDirectDownload">
|
||||
<a-col :md="24" :lg="12">
|
||||
<a-form-item ref="checksum" name="checksum">
|
||||
<template #label>
|
||||
<tooltip-label :title="$t('label.checksum')" :tooltip="apiParams.checksum.description"/>
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user