feat: simplify html
gitea/salix-front/pipeline/pr-dev This commit looks good Details

This commit is contained in:
Alex Moreno 2024-06-11 08:22:26 +02:00
parent fa4a18fbbb
commit 5e7ef68439
1 changed files with 30 additions and 34 deletions

View File

@ -54,21 +54,16 @@ const onSynchronizeRoles = async () => {
/> />
</template> </template>
<template #form="{ data }"> <template #form="{ data }">
<VnRow class="row q-gutter-md q-mb-md"> <div class="q-gutter-y-sm">
<VnInput :label="t('accounts.homedir')" v-model="data.homedir" /> <VnInput :label="t('accounts.homedir')" v-model="data.homedir" />
</VnRow>
<VnRow class="row q-gutter-md q-mb-md">
<VnInput :label="t('accounts.shell')" v-model="data.shell" /> <VnInput :label="t('accounts.shell')" v-model="data.shell" />
</VnRow>
<VnRow class="row q-gutter-md q-mb-md">
<VnInput <VnInput
:label="t('accounts.idBase')" :label="t('accounts.idBase')"
v-model="data.idBase" v-model="data.idBase"
type="number" type="number"
min="0" min="0"
/> />
</VnRow> <VnRow>
<VnRow class="row q-gutter-md q-mb-md">
<VnInput <VnInput
:label="t('accounts.min')" :label="t('accounts.min')"
v-model="data.min" v-model="data.min"
@ -82,7 +77,7 @@ const onSynchronizeRoles = async () => {
min="0" min="0"
/> />
</VnRow> </VnRow>
<VnRow class="row q-gutter-md q-mb-md"> <VnRow>
<VnInput <VnInput
:label="t('accounts.warn')" :label="t('accounts.warn')"
v-model="data.warn" v-model="data.warn"
@ -96,6 +91,7 @@ const onSynchronizeRoles = async () => {
min="0" min="0"
/> />
</VnRow> </VnRow>
</div>
</template> </template>
</FormModel> </FormModel>
</QPage> </QPage>