-
-
Notifications
You must be signed in to change notification settings - Fork 57
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
5 changed files
with
92 additions
and
8 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,66 @@ | ||
<template> | ||
<q-layout> | ||
<q-page-container> | ||
<q-page class="flex flex-center"> | ||
<q-card class="ub-login-card"> | ||
<q-card-section class="ub-login-hdr text-white"> | ||
<q-btn round color="secondary" icon="mdi-google" class="absolute" style="z-index:10; top: 40px; right: 12px; transform: translateY(-50%);"> | ||
<q-tooltip>Login With Google</q-tooltip> | ||
</q-btn> | ||
<q-btn round color="secondary" icon="mdi-facebook" class="absolute" style="z-index:10; top: 100px; right: 12px; transform: translateY(-50%);"> | ||
<q-tooltip>Login With Facebook</q-tooltip> | ||
</q-btn> | ||
<q-btn round color="secondary" icon="mdi-github" class="absolute" style="z-index:10; top: 160px; right: 12px; transform: translateY(-50%);"> | ||
<q-tooltip>Login With GitHub</q-tooltip> | ||
</q-btn> | ||
<div class="text-h5 absolute-bottom text-center" style="margin-bottom: 24px;">dashblocks.io</div> | ||
</q-card-section> | ||
|
||
<q-card-section> | ||
<q-card-section> | ||
<q-input v-model="username" debounce="400" clearable label="Username or Email"> | ||
<template v-slot:prepend> | ||
<q-icon name="mdi-account" /> | ||
</template> | ||
</q-input> | ||
<q-input v-model="password" debounce="400" clearable label="password"> | ||
<template v-slot:prepend> | ||
<q-icon name="mdi-lock" /> | ||
</template> | ||
</q-input> | ||
</q-card-section> | ||
</q-card-section> | ||
|
||
<q-card-actions align="right"> | ||
<q-btn flat>Register</q-btn> | ||
<q-btn color="primary" unelevated>Login</q-btn> | ||
</q-card-actions> | ||
</q-card> | ||
</q-page> | ||
</q-page-container> | ||
</q-layout> | ||
</template> | ||
|
||
<script> | ||
export default { | ||
data() { | ||
return { | ||
username: '', | ||
password: '' | ||
}; | ||
} | ||
}; | ||
</script> | ||
|
||
<style lang="scss"> | ||
.ub-login-card { | ||
width: 100%; | ||
max-width: 400px; | ||
.ub-login-hdr { | ||
height: 200px; | ||
background: #0f2027; /* fallback for old browsers */ | ||
background: -webkit-linear-gradient(to right, #2c5364, #203a43, #0f2027); /* Chrome 10-25, Safari 5.1-6 */ | ||
background: linear-gradient(to right, #2c5364, #203a43, #0f2027); /* W3C, IE 10+/ Edge, Firefox 16+, Chrome 26+, Opera 12+, Safari 7+ */ | ||
} | ||
} | ||
</style> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters