feat(login): commented the stay-connected toggle and added margin-top to the connection button

This commit is contained in:
Matthieu Haineault 2025-12-23 07:58:10 -05:00
parent 395b597f35
commit 1a15930063

View File

@ -2,13 +2,13 @@
setup setup
lang="ts" lang="ts"
> >
import { computed, ref } from 'vue'; import { computed } from 'vue';
import { useAuthApi } from 'src/modules/auth/composables/use-auth-api'; import { useAuthApi } from 'src/modules/auth/composables/use-auth-api';
const auth_api = useAuthApi(); const auth_api = useAuthApi();
const email = defineModel<string>('email', { default: '', }); const email = defineModel<string>('email', { default: '', });
const is_remembered = ref<boolean>(false); // const is_remembered = ref<boolean>(false);
const is_employee_email = computed(() => email.value.includes('@targ')); const is_employee_email = computed(() => email.value.includes('@targ'));
</script> </script>
@ -44,8 +44,7 @@
<span class="text-weight-bolder text-uppercase text-overline"> {{ $t('login.email') }} </span> <span class="text-weight-bolder text-uppercase text-overline"> {{ $t('login.email') }} </span>
</template> </template>
</q-input> </q-input>
<!-- <q-card-section
<q-card-section
horizontal horizontal
class="q-mb-md q-pa-none text-uppercase text-caption text-weight-medium" class="q-mb-md q-pa-none text-uppercase text-caption text-weight-medium"
> >
@ -63,7 +62,7 @@
{{ $t('login.button.remember_me') }} {{ $t('login.button.remember_me') }}
</span> </span>
</q-card-section> </q-card-section> -->
<q-card-actions> <q-card-actions>
<q-btn <q-btn
@ -73,7 +72,7 @@
type="submit" type="submit"
color="accent" color="accent"
:label="$t('login.button.connect')" :label="$t('login.button.connect')"
class="full-width" class="full-width q-mt-lg"
/> />
</q-card-actions> </q-card-actions>