feat: add admin account page with logout and responsive address bar (#803)

- Add admin account tab to display current login method
- Support logout for admin password login only
- Show login method (password/user admin/disabled check)
- Improve address bar responsive layout with auto-wrap
- Update changelog for new features

🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-authored-by: Claude Opus 4.5 <noreply@anthropic.com>
This commit is contained in:
Dream Hunter
2026-01-03 19:16:39 +08:00
committed by GitHub
parent a771446b9b
commit 8964d4461d
5 changed files with 83 additions and 6 deletions

View File

@@ -230,7 +230,7 @@ watch([userJwt, isTelegram, () => settings.value.address], async () => {
</script>
<template>
<n-flex class="address-row" align="center" justify="center" :wrap="false">
<n-flex class="address-row" align="center" justify="center" :wrap="true">
<n-select v-model:value="addressValue" :options="addressOptions" :size="size" filterable
:loading="addressLoading" :placeholder="t('address')" @update:value="onAddressChange"
class="address-select" />
@@ -244,16 +244,17 @@ watch([userJwt, isTelegram, () => settings.value.address], async () => {
<style scoped>
.address-row {
width: 100%;
gap: 10px;
}
.address-select {
min-width: 220px;
max-width: 420px;
flex: 0 1 420px;
flex: 1 1 220px;
}
.address-copy {
margin-left: 10px;
flex: 0 0 auto;
white-space: nowrap;
}
</style>