mirror of https://github.com/1Panel-dev/1Panel
style: Improve password action buttons styling in database connection info (#7309)
Refs #7284pull/7311/head
parent
6ad48250f8
commit
88b70eba53
|
@ -81,9 +81,11 @@
|
|||
prop="password"
|
||||
>
|
||||
<el-input type="password" show-password clearable v-model="form.password">
|
||||
<template #suffix>
|
||||
<CopyButton type="icon" :content="form.password" class="w-30" />
|
||||
</template>
|
||||
<template #append>
|
||||
<CopyButton :content="form.password" />
|
||||
<el-button @click="random" class="p-ml-5">
|
||||
<el-button @click="random">
|
||||
{{ $t('commons.button.random') }}
|
||||
</el-button>
|
||||
</template>
|
||||
|
|
|
@ -82,9 +82,11 @@
|
|||
prop="password"
|
||||
>
|
||||
<el-input type="password" show-password clearable v-model="form.password">
|
||||
<template #suffix>
|
||||
<CopyButton type="icon" :content="form.password" class="w-30" />
|
||||
</template>
|
||||
<template #append>
|
||||
<CopyButton :content="form.password" />
|
||||
<el-button @click="random" class="p-ml-5">
|
||||
<el-button @click="random">
|
||||
{{ $t('commons.button.random') }}
|
||||
</el-button>
|
||||
</template>
|
||||
|
|
|
@ -68,9 +68,11 @@
|
|||
<el-divider border-style="dashed" />
|
||||
<el-form-item :label="$t('commons.login.password')" v-if="form.from === 'local'" prop="password">
|
||||
<el-input type="password" show-password clearable v-model="form.password">
|
||||
<template #suffix>
|
||||
<CopyButton type="icon" :content="form.password" class="w-30" />
|
||||
</template>
|
||||
<template #append>
|
||||
<CopyButton :content="form.password" />
|
||||
<el-button @click="random" class="p-ml-5">
|
||||
<el-button @click="random">
|
||||
{{ $t('commons.button.random') }}
|
||||
</el-button>
|
||||
</template>
|
||||
|
|
Loading…
Reference in New Issue