Skip to content

Commit

Permalink
Re-aranged user preferences UI
Browse files Browse the repository at this point in the history
  • Loading branch information
cioraneanu committed May 23, 2024
1 parent 33cf74f commit b12cc67
Showing 1 changed file with 8 additions and 7 deletions.
15 changes: 8 additions & 7 deletions front/pages/settings/user-preferences-ui.vue
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,11 @@

<van-form @submit="onSave" class="">
<van-cell-group inset>
<!-- <div class="van-cell-group-title">Date settings:</div>-->
<app-boolean label="Dark theme:" v-model="darkTheme">
<template #icon="{ value }">
<app-icon :size="23" :stroke-width="2.0" :icon="value ? TablerIconConstants.darkTheme : TablerIconConstants.whiteTheme" />
</template>
</app-boolean>

<app-select
label="Numbers formatting:"
Expand All @@ -18,12 +22,10 @@
required
:clearable="false"
/>
</van-cell-group>

<app-boolean label="Dark theme (alpha):" v-model="darkTheme">
<template #icon="{ value }">
<app-icon :size="23" :stroke-width="2.0" :icon="value ? TablerIconConstants.darkTheme : TablerIconConstants.whiteTheme" />
</template>
</app-boolean>
<van-cell-group inset>
<!-- <div class="van-cell-group-title">Date settings:</div>-->

<app-boolean label="Force transaction description lowercase:" v-model="lowerCaseTransactionDescription" />
<app-boolean label="Force account name lowercase:" v-model="lowerCaseAccountName" />
Expand All @@ -44,7 +46,6 @@ import UIUtils from '~/utils/UIUtils'
import { useToolbar } from '~/composables/useToolbar'
import RouteConstants from '~/constants/RouteConstants'
import { NUMBER_FORMAT } from '~/utils/MathUtils.js'
import SettingsTokenField from '~/components/settings/settings-token-field.vue'
import TablerIconConstants from '~/constants/TablerIconConstants.js'
const appStore = useAppStore()
Expand Down

0 comments on commit b12cc67

Please sign in to comment.