mirror of
https://github.com/sky-systems/sky_phone.git
synced 2026-09-04 17:23:25 +00:00
FIX - align iFruit account navigation
This commit is contained in:
@@ -5,6 +5,7 @@ import {
|
||||
kButton,
|
||||
kDialog,
|
||||
kDialogButton,
|
||||
kLink,
|
||||
kList,
|
||||
kListButton,
|
||||
kListInput,
|
||||
@@ -466,6 +467,21 @@ onBeforeUnmount(() => {
|
||||
@click="goBack"
|
||||
/>
|
||||
</template>
|
||||
<template #right>
|
||||
<k-link
|
||||
v-if="activeView === 'account' && !account.email"
|
||||
component="button"
|
||||
@click="accountMode = accountMode === 'login' ? 'register' : 'login'"
|
||||
>
|
||||
{{
|
||||
phone.t(
|
||||
accountMode === 'login'
|
||||
? 'Apps.mail.registerLink'
|
||||
: 'Apps.mail.login',
|
||||
)
|
||||
}}
|
||||
</k-link>
|
||||
</template>
|
||||
</k-navbar>
|
||||
|
||||
<template v-if="activeView === 'account'">
|
||||
@@ -548,19 +564,6 @@ onBeforeUnmount(() => {
|
||||
</template>
|
||||
</k-button>
|
||||
</k-block>
|
||||
<k-list strong inset>
|
||||
<k-list-button
|
||||
@click="accountMode = accountMode === 'login' ? 'register' : 'login'"
|
||||
>
|
||||
{{
|
||||
phone.t(
|
||||
accountMode === 'login'
|
||||
? 'Apps.mail.register'
|
||||
: 'Apps.mail.login',
|
||||
)
|
||||
}}
|
||||
</k-list-button>
|
||||
</k-list>
|
||||
</template>
|
||||
|
||||
<template v-else>
|
||||
|
||||
@@ -4,7 +4,7 @@
|
||||
<meta charset="UTF-8" />
|
||||
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
|
||||
<title>Sky Phone</title>
|
||||
<script type="module" crossorigin src="./assets/sky-index-CQTHKAXi.js"></script>
|
||||
<script type="module" crossorigin src="./assets/sky-index-CYhwYsUy.js"></script>
|
||||
<link rel="stylesheet" crossorigin href="./assets/sky-index-CsEJ7-yo.css">
|
||||
</head>
|
||||
<body>
|
||||
|
||||
Reference in New Issue
Block a user