Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Submit feedback
Sign in
Toggle navigation
K
kiaisoft_tuananh_nuxt
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
1
Issues
1
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
TTS Tran Viet Anh
kiaisoft_tuananh_nuxt
Commits
43bf84cb
Commit
43bf84cb
authored
Apr 10, 2023
by
Le Dinh Trung
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fixbuf miss ID
parent
95ae8349
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
35 additions
and
35 deletions
+35
-35
LoginModal.vue
components/LoginModal.vue
+35
-35
No files found.
components/LoginModal.vue
View file @
43bf84cb
<
template
>
<
template
>
<v-row
<v-dialog
justify=
"center"
v-model=
"dialog"
width=
"450px"
@
click:outside=
"closeDialog"
>
>
<v-dialog
<v-card-title
class=
"justify-center"
>
v-model=
"dialog"
<p
class=
"font-weight-black"
style=
"font-size: 35px"
>
width=
"450px"
LOGIN
@
click:outside=
"closeDialog"
</p>
>
</v-card-title>
<v-card-title
class=
"justify-center"
>
<v-form
ref=
"form"
justify=
"center"
class=
"formlogin"
>
<p
class=
"font-weight-black"
style=
"font-size: 35px"
>
<v-col
cols=
"12"
sm=
"6"
md=
"12"
>
LOGIN
<v-text-field
</p>
v-model=
"email"
</v-card-title>
variant=
"underlined"
<v-form
ref=
"form"
justify=
"center"
class=
"formlogin"
>
label=
"Email"
<v-col
cols=
"12"
sm=
"6"
md=
"12"
>
required
<v-text-field
/>
v-model=
"email"
</v-col>
variant=
"underlined"
<v-col
cols=
"12"
sm=
"6"
md=
"12"
>
label=
"Email"
<v-text-field
required
v-model=
"password"
/>
variant=
"underlined"
</v-col>
label=
"Password"
<v-col
cols=
"12"
sm=
"6"
md=
"12"
>
type=
"password"
<v-text-field
required
v-model=
"password"
/>
variant=
"underlined"
</v-col>
label=
"Password"
<v-col
cols=
"12"
sm=
"6"
md=
"12"
justify-content:
space-between
>
type=
"password"
<v-checkbox
required
label=
"Remember me"
/>
/>
</v-col>
</v-col>
<v-col
cols=
"12"
sm=
"6"
md=
"12"
justify-content:
space-between
>
<v-checkbox
label=
"Remember me"
/>
</v-col>
<div
class=
"d-flex flex-column"
>
<div
class=
"d-flex flex-column"
>
<v-btn
<v-btn
...
@@ -102,6 +99,7 @@ export default {
...
@@ -102,6 +99,7 @@ export default {
this
.
$auth
.
$storage
.
setUniversal
(
'
token
'
,
resp
.
data
.
data
.
bearer_token
)
this
.
$auth
.
$storage
.
setUniversal
(
'
token
'
,
resp
.
data
.
data
.
bearer_token
)
this
.
$auth
.
$storage
.
setUniversal
(
'
userName
'
,
resp
.
data
.
data
.
name
)
this
.
$auth
.
$storage
.
setUniversal
(
'
userName
'
,
resp
.
data
.
data
.
name
)
this
.
$auth
.
$storage
.
setUniversal
(
'
loggedIn
'
,
'
true
'
)
this
.
$auth
.
$storage
.
setUniversal
(
'
loggedIn
'
,
'
true
'
)
this
.
$auth
.
$storage
.
setUniversal
(
'
ID
'
,
resp
.
data
.
data
.
id
)
if
(
resp
.
status
===
200
)
{
if
(
resp
.
status
===
200
)
{
this
.
$toast
.
success
(
'
Successfully authenticated
'
,
{
this
.
$toast
.
success
(
'
Successfully authenticated
'
,
{
duration
:
2000
duration
:
2000
...
@@ -129,4 +127,6 @@ export default {
...
@@ -129,4 +127,6 @@ export default {
::v-deep
.v-dialog
{
::v-deep
.v-dialog
{
background-color
:
#5ae2dc
;
background-color
:
#5ae2dc
;
}
}
.v-row
{
}
</
style
>
</
style
>
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment