diff options
| author | Tusooa Zhu <tusooa@kazv.moe> | 2022-02-09 16:51:13 -0500 |
|---|---|---|
| committer | tusooa <tusooa@kazv.moe> | 2023-01-20 23:39:08 -0500 |
| commit | c202c89ca0f8c9bc1957bff3bbe3ea39e21ddbba (patch) | |
| tree | dd9a43f7902a3c38fd9407d66f538e5bff9f9755 /src/components/mobile_nav/mobile_nav.vue | |
| parent | 0bfe100ef77ca36e2789310b204987ea54ec2696 (diff) | |
Add confirmation for logout
Diffstat (limited to 'src/components/mobile_nav/mobile_nav.vue')
| -rw-r--r-- | src/components/mobile_nav/mobile_nav.vue | 18 |
1 files changed, 18 insertions, 0 deletions
diff --git a/src/components/mobile_nav/mobile_nav.vue b/src/components/mobile_nav/mobile_nav.vue index d6fe102c..de97624b 100644 --- a/src/components/mobile_nav/mobile_nav.vue +++ b/src/components/mobile_nav/mobile_nav.vue @@ -88,6 +88,16 @@ ref="sideDrawer" :logout="logout" /> + <confirm-modal + :showing="showingConfirmLogout" + :title="$t('login.mute_confirm_title')" + :confirm-text="$t('login.logout_confirm_accept_button')" + :cancel-text="$t('login.logout_confirm_cancel_button')" + @accepted="doLogout" + @cancelled="hideConfirmLogout" + > + {{ $t('login.logout_confirm') }} + </confirm-modal> </div> </template> @@ -235,6 +245,14 @@ } } } + .confirm-modal.dark-overlay { + &::before { + z-index: 3000; + } + .dialog-modal.panel { + z-index: 3001; + } + } } </style> |
