code refactor

This commit is contained in:
MaysWind
2020-12-05 00:18:40 +08:00
parent e4e06fef0c
commit 9ac9f16a04
7 changed files with 13 additions and 13 deletions
+3 -3
View File
@@ -45,7 +45,7 @@
<img alt="qrcode" width="240px" height="240px" :src="new2FAQRCode" />
</div>
</div>
<f7-list no-hairlines class="no-margin-top margin-bottom">
<f7-list form no-hairlines class="no-margin-top margin-bottom">
<f7-list-input
type="number"
outline
@@ -73,7 +73,7 @@
</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>
<f7-list no-hairlines class="no-margin-top margin-bottom">
<f7-list form no-hairlines class="no-margin-top margin-bottom">
<f7-list-input
type="password"
outline
@@ -101,7 +101,7 @@
</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>
<f7-list no-hairlines class="no-margin-top margin-bottom">
<f7-list form no-hairlines class="no-margin-top margin-bottom">
<f7-list-input
type="password"
outline
+2 -2
View File
@@ -22,7 +22,7 @@
<f7-card v-else-if="!loading">
<f7-card-content class="no-safe-areas" :padding="false">
<f7-list>
<f7-list form>
<f7-list-input
type="password"
clear-button
@@ -85,7 +85,7 @@
</div>
<div class="padding-horizontal padding-bottom">
<p class="no-margin-top">{{ $t('Please enter your current password when modifying your password') }}</p>
<f7-list no-hairlines class="no-margin-top margin-bottom">
<f7-list form no-hairlines class="no-margin-top margin-bottom">
<f7-list-input
type="password"
outline