code refactor

This commit is contained in:
MaysWind
2020-11-17 20:44:48 +08:00
parent 0573494d7b
commit 3da6068d75
3 changed files with 7 additions and 7 deletions
+2 -2
View File
@@ -23,7 +23,7 @@
<f7-list>
<f7-list-button :class="{ 'disabled': inputIsEmpty || logining }" :text="$t('Log In')" @click="login"></f7-list-button>
<f7-block-footer>
<span v-t="'Don\'t have an account?'"></span>&nbsp;
<span>{{ $t('Don\'t have an account?') }}</span>&nbsp;
<f7-link :class="{'disabled': !isUserRegistrationEnabled}" href="/signup" :text="$t('Create an account')"></f7-link>
<br/>
<f7-link class="disabled" href="/forget-pwd" :text="$t('Forget Password?')"></f7-link>
@@ -58,7 +58,7 @@
>
<f7-page-content>
<div class="display-flex padding justify-content-space-between align-items-center">
<div style="font-size: 18px"><b v-t="'Two-Factor Authentication'"></b></div>
<div style="font-size: 18px"><b>{{ $t('Two-Factor Authentication') }}</b></div>
</div>
<div class="padding-horizontal padding-bottom">
<f7-list no-hairlines class="no-margin-top margin-bottom">
+4 -4
View File
@@ -36,7 +36,7 @@
>
<f7-page-content>
<div class="display-flex padding justify-content-space-between align-items-center">
<div style="font-size: 18px"><b v-t="'Passcode'"></b></div>
<div style="font-size: 18px"><b>{{ $t('Passcode') }}</b></div>
</div>
<div class="padding-horizontal padding-bottom">
<p class="no-margin-top margin-bottom-half">{{ $t('Please use two factor authentication app scan the below qrcode and input current passcode') }}</p>
@@ -69,7 +69,7 @@
>
<f7-page-content>
<div class="display-flex padding justify-content-space-between align-items-center">
<div style="font-size: 18px"><b v-t="'Current Password'"></b></div>
<div style="font-size: 18px"><b>{{ $t('Current Password') }}</b></div>
</div>
<div class="padding-horizontal padding-bottom">
<p class="no-margin-top margin-bottom-half">{{ $t('Please enter your current password when disable two factor authentication') }}</p>
@@ -97,7 +97,7 @@
>
<f7-page-content>
<div class="display-flex padding justify-content-space-between align-items-center">
<div style="font-size: 18px"><b v-t="'Current Password'"></b></div>
<div style="font-size: 18px"><b>{{ $t('Current Password') }}</b></div>
</div>
<div class="padding-horizontal padding-bottom">
<p class="no-margin-top margin-bottom-half">{{ $t('Please enter your current password when regenerate two factor authentication backup codes. If you regenerate backup codes, the old codes will be invalidated.') }}</p>
@@ -125,7 +125,7 @@
>
<f7-page-content>
<div class="display-flex padding justify-content-space-between align-items-center">
<div style="font-size: 18px"><b v-t="'Backup Code'"></b></div>
<div style="font-size: 18px"><b>{{ $t('Backup Code') }}</b></div>
</div>
<div class="padding-horizontal padding-bottom">
<p class="no-margin-top margin-bottom-half">
+1 -1
View File
@@ -81,7 +81,7 @@
>
<f7-page-content>
<div class="display-flex padding justify-content-space-between align-items-center">
<div style="font-size: 18px"><b v-t="'Current Password'"></b></div>
<div style="font-size: 18px"><b>{{ $t('Current Password') }}</b></div>
</div>
<div class="padding-horizontal padding-bottom">
<p class="no-margin-top">{{ $t('Please enter your current password when modifying your password') }}</p>