Skip to content

Commit

Permalink
optimize layout
Browse files Browse the repository at this point in the history
  • Loading branch information
tinohager committed Jun 17, 2024
1 parent fcd7ee5 commit df6214d
Show file tree
Hide file tree
Showing 2 changed files with 11 additions and 9 deletions.
16 changes: 9 additions & 7 deletions src/Frontend/src/components/MfaConfigurationBox.vue
Original file line number Diff line number Diff line change
Expand Up @@ -153,18 +153,20 @@ function stepperPrevious () {
</template>
</q-stepper>
<div v-else>
<div>
<div class="mfa-box bg-green q-pa-md rounded-borders">
<q-card
flat
bordered
>
<q-card-section class="mfa-box bg-green q-pa-md rounded-borders">
<q-icon
name="security"
color="white"
size="3rem"
class="q-pr-md"
/>
MFA is active
</div>

<div class="q-mt-md">
</q-card-section>
<q-card-section>
To deactivate MFA, please provide another code.
<q-form @submit.prevent="deactivate()">
<q-input
Expand All @@ -183,8 +185,8 @@ function stepperPrevious () {
:loading="processing"
/>
</q-form>
</div>
</div>
</q-card-section>
</q-card>
</div>
</div>
</template>
Expand Down
4 changes: 2 additions & 2 deletions src/Frontend/src/pages/AccountPage.vue
Original file line number Diff line number Diff line change
Expand Up @@ -10,10 +10,10 @@ import MfaConfigurationBox from '../components/MfaConfigurationBox.vue'
<h1>Account</h1>

<div class="row q-col-gutter-xl">
<div class="col-12 col-md-4">
<div class="col-12 col-md-5 col-lg-4">
<PasswordChangeBox />
</div>
<div class="col-12 col-md-4">
<div class="col-12 col-md-5 col-lg-4">
<MfaConfigurationBox />
</div>
</div>
Expand Down

0 comments on commit df6214d

Please sign in to comment.