Skip to content

Instantly share code, notes, and snippets.

Show Gist options
  • Star 29 You must be signed in to star a gist
  • Fork 6 You must be signed in to fork a gist
  • Save justinatack/39ec7f37064b2e9fa61fbd450cba3826 to your computer and use it in GitHub Desktop.
Save justinatack/39ec7f37064b2e9fa61fbd450cba3826 to your computer and use it in GitHub Desktop.
Quasar Framework Login Form Card Component Example
<template>
<q-page class="bg-light-green window-height window-width row justify-center items-center">
<div class="column">
<div class="row">
<h5 class="text-h5 text-white q-my-md">Company & Co</h5>
</div>
<div class="row">
<q-card square bordered class="q-pa-lg shadow-1">
<q-card-section>
<q-form class="q-gutter-md">
<q-input square filled clearable v-model="email" type="email" label="email" />
<q-input square filled clearable v-model="password" type="password" label="password" />
</q-form>
</q-card-section>
<q-card-actions class="q-px-md">
<q-btn unelevated color="light-green-7" size="lg" class="full-width" label="Login" />
</q-card-actions>
<q-card-section class="text-center q-pa-none">
<p class="text-grey-6">Not reigistered? Created an Account</p>
</q-card-section>
</q-card>
</div>
</div>
</q-page>
</template>
<script>
export default {
name: 'Login',
data () {
return {
email: '',
password: ''
}
}
}
</script>
<style>
.q-card {
width: 360px;
}
</style>
@justinatack
Copy link
Author

alt text
Requires Quasar Framework v1.0.0

@patrickphandera
Copy link

its a nice page

@NEOdinok
Copy link

Thanks a log

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment