1
0
mirror of https://github.com/1Panel-dev/1Panel.git synced 2025-03-13 17:24:44 +08:00

fix: 调整按钮位置,取消统一放左边

This commit is contained in:
ssongliu 2022-12-06 15:06:28 +08:00 committed by ssongliu
parent 0da3caba65
commit 415200492a
8 changed files with 21 additions and 13 deletions

View File

@ -60,8 +60,10 @@
<template #footer>
<span class="dialog-footer">
<el-button @click="onSubmit(formRef)">{{ $t('container.build') }}</el-button>
<el-button @click="buildVisiable = false">{{ $t('commons.button.cancel') }}</el-button>
<el-button type="primary" @click="onSubmit(formRef)">
{{ $t('commons.button.confirm') }}
</el-button>
</span>
</template>
</el-dialog>

View File

@ -63,10 +63,14 @@
</el-form>
<template #footer>
<span class="dialog-footer">
<el-button :disabled="deleteForm.deleteTags.length === 0" @click="batchDelete('byname')">
<el-button @click="deleteVisiable = false">{{ $t('commons.button.cancel') }}</el-button>
<el-button
type="primary"
:disabled="deleteForm.deleteTags.length === 0"
@click="batchDelete('byname')"
>
{{ $t('commons.button.delete') }}
</el-button>
<el-button @click="deleteVisiable = false">{{ $t('commons.button.cancel') }}</el-button>
</span>
</template>
</el-dialog>

View File

@ -16,8 +16,8 @@
</el-form>
<template #footer>
<span class="dialog-footer">
<el-button @click="onSubmit(formRef)">{{ $t('container.import') }}</el-button>
<el-button @click="loadVisiable = false">{{ $t('commons.button.cancel') }}</el-button>
<el-button type="primary" @click="onSubmit(formRef)">{{ $t('container.import') }}</el-button>
</span>
</template>
</el-dialog>

View File

@ -27,10 +27,10 @@
</el-form>
<template #footer>
<span class="dialog-footer">
<el-button @click="onSubmit(formRef)">
<el-button @click="pullVisiable = false">{{ $t('commons.button.cancel') }}</el-button>
<el-button type="primary" @click="onSubmit(formRef)">
{{ $t('container.pull') }}
</el-button>
<el-button @click="pullVisiable = false">{{ $t('commons.button.cancel') }}</el-button>
</span>
</template>
</el-dialog>

View File

@ -24,10 +24,10 @@
</el-form>
<template #footer>
<span class="dialog-footer">
<el-button @click="onSubmit(formRef)">
<el-button @click="pushVisiable = false">{{ $t('commons.button.cancel') }}</el-button>
<el-button type="primary" @click="onSubmit(formRef)">
{{ $t('container.push') }}
</el-button>
<el-button @click="pushVisiable = false">{{ $t('commons.button.cancel') }}</el-button>
</span>
</template>
</el-dialog>

View File

@ -32,10 +32,10 @@
</el-form>
<template #footer>
<span class="dialog-footer">
<el-button @click="onSubmit(formRef)">
<el-button @click="saveVisiable = false">{{ $t('commons.button.cancel') }}</el-button>
<el-button type="primary" @click="onSubmit(formRef)">
{{ $t('container.export') }}
</el-button>
<el-button @click="saveVisiable = false">{{ $t('commons.button.cancel') }}</el-button>
</span>
</template>
</el-dialog>

View File

@ -27,8 +27,8 @@
</el-form>
<template #footer>
<span class="dialog-footer">
<el-button @click="onSubmit(formRef)">{{ $t('commons.button.save') }}</el-button>
<el-button @click="tagVisiable = false">{{ $t('commons.button.cancel') }}</el-button>
<el-button type="primary" @click="onSubmit(formRef)">{{ $t('commons.button.save') }}</el-button>
</span>
</template>
</el-dialog>

View File

@ -93,7 +93,9 @@
<el-button @click="onCancelMfaBind">
{{ $t('commons.button.cancel') }}
</el-button>
<el-button @click="onBind">{{ $t('commons.button.saveAndEnable') }}</el-button>
<el-button type="primary" @click="onBind">
{{ $t('commons.button.saveAndEnable') }}
</el-button>
</div>
</ul>
</el-card>
@ -118,7 +120,7 @@
<template #footer>
<span class="dialog-footer">
<el-button @click="timeoutVisiable = false">{{ $t('commons.button.cancel') }}</el-button>
<el-button @click="submitTimeout(timeoutFormRef)">
<el-button type="primary" @click="submitTimeout(timeoutFormRef)">
{{ $t('commons.button.confirm') }}
</el-button>
</span>