Feature(custom): change the position of save/cancel button in advanced rename page

This commit is contained in:
Kuingsmile
2025-12-31 14:36:01 +08:00
parent b5802cfcb3
commit 33ccd4b6ec
2 changed files with 9 additions and 8 deletions

View File

@@ -1188,6 +1188,14 @@
{{ t('pages.settings.upload.advancedRnameFormat') }}
</label>
<input v-model="advancedRename.format" type="text" class="form-input" placeholder="Ex. {Y}-{m}-{uuid}" />
<div class="dialog-footer">
<button class="btn btn-secondary" @click="handleCancelAdvancedRename">
{{ t('common.cancel') }}
</button>
<button class="btn btn-primary" @click="handleSaveAdvancedRename">
{{ t('common.confirm') }}
</button>
</div>
</div>
<div class="form-group">
<label>{{ t('pages.settings.upload.availablePlaceholders') }}</label>
@@ -1245,14 +1253,6 @@
</div>
</div>
</div>
<div class="dialog-footer">
<button class="btn btn-secondary" @click="handleCancelAdvancedRename">
{{ t('common.cancel') }}
</button>
<button class="btn btn-primary" @click="handleSaveAdvancedRename">
{{ t('common.confirm') }}
</button>
</div>
</div>
</div>

View File

@@ -545,6 +545,7 @@
.dialog-footer {
display: flex;
justify-content: flex-end;
margin-top: 1rem;
gap: 0.75rem;
}