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
634ce2d5
Commit
634ce2d5
authored
Apr 05, 2019
by
Kittisak Maneewong
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Add Register
parent
882c75e2
Expand all
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
87 additions
and
1 deletion
+87
-1
app.js
public/js/app.js
+0
-0
route.js
resources/js/route.js
+6
-0
Login.vue
resources/js/views/Login.vue
+1
-1
Register.vue
resources/js/views/Register.vue
+80
-0
No files found.
public/js/app.js
View file @
634ce2d5
This diff is collapsed.
Click to expand it.
resources/js/route.js
View file @
634ce2d5
...
...
@@ -8,6 +8,7 @@ import EmployerLayout from './layouts/EmployerLayout.vue';
import
Home
from
'./views/Home.vue'
;
import
Login
from
'./views/Login.vue'
;
import
Register
from
'./views/Register.vue'
;
import
LoginEmployer
from
'./views/LoginEmployer.vue'
;
import
PageNotFound
from
'./views/PageNotFound.vue'
;
...
...
@@ -46,6 +47,11 @@ export default new VueRouter({
name
:
'login'
,
component
:
Login
},
{
path
:
'register'
,
name
:
'register'
,
component
:
Register
},
{
path
:
'*'
,
name
:
'pageNotFound'
,
...
...
resources/js/views/Login.vue
View file @
634ce2d5
<
template
>
<div>
<v-container
grid-list-md
text-xs-center
>
<p
class=
"
display-2
my-4"
>
ลงชื่อเข้าใช้
</p>
<p
class=
"
headline
my-4"
>
ลงชื่อเข้าใช้
</p>
<v-flex
sm4
offset-sm4
>
<v-text-field
label=
"อีเมล"
...
...
resources/js/views/Register.vue
0 → 100644
View file @
634ce2d5
<
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