Skip to content
Projects
Groups
Snippets
Help
Loading...
Sign in / Register
Toggle navigation
C
CO-OP Search
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Packages
Packages
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Kittisak Maneewong
CO-OP Search
Commits
caa1a8dc
Commit
caa1a8dc
authored
Apr 06, 2019
by
Kittisak Maneewong
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Edit account
parent
93331e9a
Show whitespace changes
Inline
Side-by-side
Showing
5 changed files
with
60 additions
and
93 deletions
+60
-93
app.js
public/js/app.js
+0
-0
AppLayout.vue
resources/js/layouts/AppLayout.vue
+1
-1
route.js
resources/js/route.js
+2
-8
Login.vue
resources/js/views/Login.vue
+57
-4
Register.vue
resources/js/views/Register.vue
+0
-80
No files found.
public/js/app.js
View file @
caa1a8dc
This source diff could not be displayed because it is too large. You can
view the blob
instead.
resources/js/layouts/AppLayout.vue
View file @
caa1a8dc
<
template
>
<
template
>
<div>
<div>
<Toolbar
page=
"app"
></Toolbar>
<Toolbar
page=
"app"
></Toolbar>
<v-content
class=
"mt-5"
>
<v-content>
<v-container
fluid
>
<v-container
fluid
>
<v-layout>
<v-layout>
<v-flex
xs12
sm10
offset-sm1
>
<v-flex
xs12
sm10
offset-sm1
>
...
...
resources/js/route.js
View file @
caa1a8dc
...
@@ -8,7 +8,6 @@ import EmployerLayout from './layouts/EmployerLayout.vue';
...
@@ -8,7 +8,6 @@ import EmployerLayout from './layouts/EmployerLayout.vue';
import
Home
from
'./views/Home.vue'
;
import
Home
from
'./views/Home.vue'
;
import
Login
from
'./views/Login.vue'
;
import
Login
from
'./views/Login.vue'
;
import
Register
from
'./views/Register.vue'
;
import
LoginEmployer
from
'./views/LoginEmployer.vue'
;
import
LoginEmployer
from
'./views/LoginEmployer.vue'
;
import
PageNotFound
from
'./views/PageNotFound.vue'
;
import
PageNotFound
from
'./views/PageNotFound.vue'
;
...
@@ -43,15 +42,10 @@ export default new VueRouter({
...
@@ -43,15 +42,10 @@ export default new VueRouter({
component
:
Home
component
:
Home
},
},
{
{
path
:
'
login
'
,
path
:
'
account
'
,
name
:
'
login
'
,
name
:
'
account
'
,
component
:
Login
component
:
Login
},
},
{
path
:
'register'
,
name
:
'register'
,
component
:
Register
},
{
{
path
:
'*'
,
path
:
'*'
,
name
:
'pageNotFound'
,
name
:
'pageNotFound'
,
...
...
resources/js/views/Login.vue
View file @
caa1a8dc
<
template
>
<
template
>
<div>
<div>
<v-container
grid-list-md
text-xs-center
>
<v-container
grid-list-md
text-xs-center
>
<
p
class=
"headline my-4"
>
ลงชื่อเข้าใช้
</
p>
<
v-layout
row
wra
p
>
<v-flex
sm4
offset-sm4
>
<v-flex
xs12
sm4
offset-sm1
align-center
py-2
>
<v-form
@
submit
.
prevent=
"login()"
>
<v-form
@
submit
.
prevent=
"login()"
>
<div
class=
"text-sm-left"
>
<span
class=
"headline font-weight-bold"
>
เข้าสู่ระบบ
</span>
</div>
<v-text-field
<v-text-field
label=
"อีเมล"
label=
"อีเมล"
prepend-inner-icon=
"email"
prepend-inner-icon=
"email"
...
@@ -22,7 +25,7 @@
...
@@ -22,7 +25,7 @@
<p
class=
"text-xs-right"
><a
href=
"#"
class=
"body-2 font-weight-medium"
>
ลืมรหัสผ่าน?
</a></p>
<p
class=
"text-xs-right"
><a
href=
"#"
class=
"body-2 font-weight-medium"
>
ลืมรหัสผ่าน?
</a></p>
<v-btn
color=
"blue"
block
dark
large
type=
"submit"
>
เข้าสู่ระบบ
</v-btn>
<v-btn
color=
"blue"
block
dark
large
type=
"submit"
>
เข้าสู่ระบบ
</v-btn>
</v-form>
</v-form>
<v-layout
row
wrap
align-center
justify-center
fill-height
>
<v-layout
row
wrap
align-center
justify-center
>
<v-flex
sm5
>
<v-flex
sm5
>
<v-divider></v-divider>
<v-divider></v-divider>
</v-flex>
</v-flex>
...
@@ -41,8 +44,58 @@
...
@@ -41,8 +44,58 @@
<v-btn
color=
"deep-orange"
class=
"white--text"
block
><v-icon>
fab fa-google
</v-icon>
เข้าสู่ระบบ Google
</v-btn>
<v-btn
color=
"deep-orange"
class=
"white--text"
block
><v-icon>
fab fa-google
</v-icon>
เข้าสู่ระบบ Google
</v-btn>
</v-flex>
</v-flex>
</v-layout>
</v-layout>
<p
class=
"text-xs-center body-2 font-weight-medium"
>
ยังไม่มีบัญชีผู้ใช้?
<a
href=
"#"
>
สมัครสมาชิก
</a></p>
</v-flex>
</v-flex>
<v-flex
sm4
offset-sm1
xs12
align-center
py-2
>
<div
class=
"text-sm-left"
>
<span
class=
"headline font-weight-bold"
>
สมัครสมาชิก
</span>
</div>
<v-layout
row
wrap
>
<v-flex
sm6
xs12
>
<v-text-field
label=
"ชื่อ"
v-model=
"ชื่อ"
clearable
required
class=
"fix-size"
></v-text-field>
</v-flex>
<v-flex
sm6
xs12
>
<v-text-field
label=
"นามสกุล"
v-model=
"นามสกุล"
clearable
required
class=
"fix-size"
></v-text-field>
</v-flex>
</v-layout>
<v-text-field
label=
"อีเมล"
v-model=
"อีเมล"
clearable
required
class=
"fix-size"
></v-text-field>
<v-text-field
label=
"รหัสผ่าน"
v-model=
"รหัสผ่าน"
clearable
type=
"password"
required
class=
"fix-size"
></v-text-field>
<v-text-field
label=
"ยืนยันรหัสผ่าน"
v-model=
"ยืนยันรหัสผ่าน"
clearable
type=
"password"
required
class=
"fix-size"
></v-text-field>
<v-btn
color=
"red accent-3"
block
dark
large
>
สมัครสมาชิก
</v-btn>
</v-flex>
</v-layout>
</v-container>
</v-container>
</div>
</div>
</
template
>
</
template
>
...
...
resources/js/views/Register.vue
deleted
100644 → 0
View file @
93331e9a
<
template
>
<div>
<v-container
grid-list-md
text-xs-center
>
<p
class=
"headline my-4"
>
สมัครสมาชิก
</p>
<v-flex
sm4
offset-sm4
>
<v-layout
row
wrap
>
<v-flex
sm6
xs12
>
<v-text-field
label=
"ชื่อ"
v-model=
"ชื่อ"
clearable
required
class=
"fix-size"
></v-text-field>
</v-flex>
<v-flex
sm6
xs12
>
<v-text-field
label=
"นามสกุล"
v-model=
"นามสกุล"
clearable
required
class=
"fix-size"
></v-text-field>
</v-flex>
</v-layout>
<v-text-field
label=
"อีเมล"
v-model=
"อีเมล"
clearable
required
class=
"fix-size"
></v-text-field>
<v-text-field
label=
"รหัสผ่าน"
v-model=
"รหัสผ่าน"
clearable
type=
"password"
required
class=
"fix-size"
></v-text-field>
<v-text-field
label=
"ยืนยันรหัสผ่าน"
v-model=
"ยืนยันรหัสผ่าน"
clearable
type=
"password"
required
class=
"fix-size"
></v-text-field>
<v-btn
color=
"red accent-3"
block
dark
large
>
สมัครสมาชิก
</v-btn>
<v-layout
row
wrap
align-center
justify-center
fill-height
>
<v-flex
sm5
>
<v-divider></v-divider>
</v-flex>
<v-flex
sm2
>
หรือ
</v-flex>
<v-flex
sm5
>
<v-divider></v-divider>
</v-flex>
</v-layout>
<v-layout
row
wrap
>
<v-flex
sm6
>
<v-btn
color=
"primary"
block
><v-icon>
fab fa-facebook
</v-icon>
สมัครด้วย Facebook
</v-btn>
</v-flex>
<v-flex
sm6
>
<v-btn
color=
"deep-orange"
class=
"white--text"
block
><v-icon>
fab fa-google
</v-icon>
สมัครด้วย Google
</v-btn>
</v-flex>
</v-layout>
<p
class=
"text-xs-center body-2 font-weight-medium"
>
มีบัญชีผู้ใช้อยู่แล้ว?
<a
href=
"#"
>
เข้าสู่ระบบ
</a></p>
</v-flex>
</v-container>
</div>
</
template
>
<
style
lang=
"scss"
scoped
>
.fix-size
{
height
:
70px
;
}
</
style
>
\ No newline at end of file
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