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,48 +54,44 @@ 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" type="number"
type="number" min="0"
min="0" />
/> <VnInput
<VnInput :label="t('accounts.max')"
:label="t('accounts.max')" v-model="data.max"
v-model="data.max" type="number"
type="number" min="0"
min="0" />
/> </VnRow>
</VnRow> <VnRow>
<VnRow class="row q-gutter-md q-mb-md"> <VnInput
<VnInput :label="t('accounts.warn')"
:label="t('accounts.warn')" v-model="data.warn"
v-model="data.warn" type="number"
type="number" min="0"
min="0" />
/> <VnInput
<VnInput :label="t('accounts.inact')"
:label="t('accounts.inact')" v-model="data.inact"
v-model="data.inact" type="number"
type="number" min="0"
min="0" />
/> </VnRow>
</VnRow> </div>
</template> </template>
</FormModel> </FormModel>
</QPage> </QPage>