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"
|
prop="password"
|
||||||
>
|
>
|
||||||
<el-input type="password" show-password clearable v-model="form.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>
|
<template #append>
|
||||||
<CopyButton :content="form.password" />
|
<el-button @click="random">
|
||||||
<el-button @click="random" class="p-ml-5">
|
|
||||||
{{ $t('commons.button.random') }}
|
{{ $t('commons.button.random') }}
|
||||||
</el-button>
|
</el-button>
|
||||||
</template>
|
</template>
|
||||||
|
|
|
@ -82,9 +82,11 @@
|
||||||
prop="password"
|
prop="password"
|
||||||
>
|
>
|
||||||
<el-input type="password" show-password clearable v-model="form.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>
|
<template #append>
|
||||||
<CopyButton :content="form.password" />
|
<el-button @click="random">
|
||||||
<el-button @click="random" class="p-ml-5">
|
|
||||||
{{ $t('commons.button.random') }}
|
{{ $t('commons.button.random') }}
|
||||||
</el-button>
|
</el-button>
|
||||||
</template>
|
</template>
|
||||||
|
|
|
@ -68,9 +68,11 @@
|
||||||
<el-divider border-style="dashed" />
|
<el-divider border-style="dashed" />
|
||||||
<el-form-item :label="$t('commons.login.password')" v-if="form.from === 'local'" prop="password">
|
<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">
|
<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>
|
<template #append>
|
||||||
<CopyButton :content="form.password" />
|
<el-button @click="random">
|
||||||
<el-button @click="random" class="p-ml-5">
|
|
||||||
{{ $t('commons.button.random') }}
|
{{ $t('commons.button.random') }}
|
||||||
</el-button>
|
</el-button>
|
||||||
</template>
|
</template>
|
||||||
|
|
Loading…
Reference in New Issue