mirror of
https://github.com/1Panel-dev/1Panel.git
synced 2025-01-18 22:22:59 +08:00
fix: 随机密码按钮样式统一修改 (#1542)
This commit is contained in:
parent
271be81557
commit
006c27fee5
@ -45,6 +45,8 @@ const message = {
|
||||
get: 'Get',
|
||||
upgrade: 'Upgrade',
|
||||
ignoreUpgrade: 'Ignore upgrade',
|
||||
copy: 'Copy',
|
||||
random: 'Random',
|
||||
},
|
||||
search: {
|
||||
timeStart: 'Time start',
|
||||
@ -1006,6 +1008,7 @@ const message = {
|
||||
entranceError:
|
||||
'Please enter a secure login entry point of 6-10 characters, only numbers or letters are supported.',
|
||||
entranceInputHelper: 'When the security entry is set to blank, the security entry is cancelled.',
|
||||
randomGenerate: 'Random',
|
||||
expirationTime: 'Expiration Time',
|
||||
unSetting: 'Not Set',
|
||||
noneSetting:
|
||||
@ -1401,7 +1404,6 @@ const message = {
|
||||
basicAuth: 'Password Access',
|
||||
editBasicAuthHelper:
|
||||
'The password is asymmetrically encrypted and cannot be echoed. Editing needs to reset the password',
|
||||
createPassword: 'Generate password',
|
||||
antiLeech: 'Anti-leech',
|
||||
extends: 'Extension',
|
||||
browserCache: 'browser cache',
|
||||
|
@ -45,6 +45,8 @@ const message = {
|
||||
get: '獲取',
|
||||
upgrade: '升級',
|
||||
ignoreUpgrade: '忽略升級',
|
||||
copy: '復製',
|
||||
random: '隨機密碼',
|
||||
},
|
||||
search: {
|
||||
timeStart: '開始時間',
|
||||
@ -999,6 +1001,7 @@ const message = {
|
||||
entranceHelper: '開啟安全入口後只能通過指定安全入口登錄面板',
|
||||
entranceError: '請輸入 6-10 位安全登錄入口,僅支持輸入數字或字母',
|
||||
entranceInputHelper: '安全入口設置為空時,則取消安全入口',
|
||||
randomGenerate: '隨機生成',
|
||||
expirationTime: '密碼過期時間',
|
||||
unSetting: '未設置',
|
||||
noneSetting: '為面板密碼設置過期時間,過期後需要重新設置密碼',
|
||||
@ -1332,7 +1335,6 @@ const message = {
|
||||
replacedErr2: '搜索字符串不能重復',
|
||||
basicAuth: '密碼訪問',
|
||||
editBasicAuthHelper: '密碼為非對稱加密,無法回顯,編輯需要重新設置密碼',
|
||||
createPassword: '生成密碼',
|
||||
antiLeech: '防盜鏈',
|
||||
extends: '擴展名',
|
||||
browserCache: '瀏覽器緩存',
|
||||
|
@ -45,6 +45,8 @@ const message = {
|
||||
get: '获取',
|
||||
upgrade: '升级',
|
||||
ignoreUpgrade: '忽略升级',
|
||||
copy: '复制',
|
||||
random: '随机密码',
|
||||
},
|
||||
search: {
|
||||
timeStart: '开始时间',
|
||||
@ -1005,6 +1007,7 @@ const message = {
|
||||
entranceHelper: '开启安全入口后只能通过指定安全入口登录面板',
|
||||
entranceError: '请输入 6-10 位安全登录入口,仅支持输入数字或字母',
|
||||
entranceInputHelper: '安全入口设置为空时,则取消安全入口',
|
||||
randomGenerate: '随机生成',
|
||||
expirationTime: '密码过期时间',
|
||||
unSetting: '未设置',
|
||||
noneSetting: '为面板密码设置过期时间,过期后需要重新设置密码',
|
||||
@ -1338,7 +1341,6 @@ const message = {
|
||||
replacedErr2: '搜索字符串不能重复',
|
||||
basicAuth: '密码访问',
|
||||
editBasicAuthHelper: '密码为非对称加密,无法回显,编辑需要重新设置密码',
|
||||
createPassword: '生成密码',
|
||||
antiLeech: '防盗链',
|
||||
extends: '扩展名',
|
||||
browserCache: '浏览器缓存',
|
||||
|
@ -25,7 +25,7 @@
|
||||
<el-form-item :label="$t('commons.login.password')" prop="password">
|
||||
<el-input type="password" clearable show-password v-model.trim="form.password">
|
||||
<template #append>
|
||||
<el-button @click="random" icon="RefreshRight"></el-button>
|
||||
<el-button @click="random">{{ $t('commons.button.random') }}</el-button>
|
||||
</template>
|
||||
</el-input>
|
||||
</el-form-item>
|
||||
|
@ -9,8 +9,11 @@
|
||||
<el-form-item :label="$t('database.rootPassword')" :rules="Rules.requiredInput" prop="password">
|
||||
<el-input type="password" show-password clearable v-model="form.password">
|
||||
<template #append>
|
||||
<el-button @click="onCopy(form.password)" icon="DocumentCopy"></el-button>
|
||||
<el-button style="margin-left: 1px" @click="random" icon="RefreshRight"></el-button>
|
||||
<el-button @click="onCopy(form.password)">{{ $t('commons.button.copy') }}</el-button>
|
||||
<el-divider direction="vertical" />
|
||||
<el-button @click="random">
|
||||
{{ $t('commons.button.random') }}
|
||||
</el-button>
|
||||
</template>
|
||||
</el-input>
|
||||
</el-form-item>
|
||||
|
@ -9,8 +9,11 @@
|
||||
<el-form-item :label="$t('commons.login.password')" :rules="Rules.requiredInput" prop="password">
|
||||
<el-input type="password" show-password clearable v-model="form.password">
|
||||
<template #append>
|
||||
<el-button @click="onCopy(form.password)" icon="DocumentCopy"></el-button>
|
||||
<el-button style="margin-left: 1px" @click="random" icon="RefreshRight"></el-button>
|
||||
<el-button @click="onCopy(form.password)">{{ $t('commons.button.copy') }}</el-button>
|
||||
<el-divider direction="vertical" />
|
||||
<el-button style="margin-left: 1px" @click="random">
|
||||
{{ $t('commons.button.random') }}
|
||||
</el-button>
|
||||
</template>
|
||||
</el-input>
|
||||
</el-form-item>
|
||||
|
@ -24,8 +24,13 @@
|
||||
<el-form-item :label="$t('commons.login.password')" prop="password">
|
||||
<el-input v-model="form.password" type="password" show-password>
|
||||
<template #append>
|
||||
<el-button @click="onCopy(form.password)" icon="DocumentCopy"></el-button>
|
||||
<el-button style="margin-left: 1px" @click="random" icon="RefreshRight"></el-button>
|
||||
<el-button @click="onCopy(form.password)">
|
||||
{{ $t('commons.button.copy') }}
|
||||
</el-button>
|
||||
<el-divider direction="vertical" />
|
||||
<el-button @click="random">
|
||||
{{ $t('commons.button.random') }}
|
||||
</el-button>
|
||||
</template>
|
||||
</el-input>
|
||||
</el-form-item>
|
||||
|
@ -17,7 +17,7 @@
|
||||
<el-form-item :label="$t('setting.entrance')" prop="securityEntrance">
|
||||
<el-input clearable v-model="form.securityEntrance">
|
||||
<template #append>
|
||||
<el-button @click="random" icon="RefreshRight"></el-button>
|
||||
<el-button @click="random">{{ $t('setting.randomGenerate') }}</el-button>
|
||||
</template>
|
||||
</el-input>
|
||||
<span class="input-help">
|
||||
|
@ -24,7 +24,7 @@
|
||||
<el-input type="password" clearable show-password v-model.trim="authBasic.password">
|
||||
<template #append>
|
||||
<el-button @click="random">
|
||||
{{ $t('website.createPassword') }}
|
||||
{{ $t('commons.button.random') }}
|
||||
</el-button>
|
||||
</template>
|
||||
</el-input>
|
||||
|
Loading…
Reference in New Issue
Block a user