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
b8a7da9b
Commit
b8a7da9b
authored
Apr 24, 2019
by
Kittisak Maneewong
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
add toolbar
parent
b21189d1
Show whitespace changes
Inline
Side-by-side
Showing
73 changed files
with
9734 additions
and
62 deletions
+9734
-62
Toolbar_20190423193208.vue
.history/resources/js/components/Toolbar_20190423193208.vue
+131
-0
Toolbar_20190424104659.vue
.history/resources/js/components/Toolbar_20190424104659.vue
+154
-0
Toolbar_20190424104744.vue
.history/resources/js/components/Toolbar_20190424104744.vue
+152
-0
Toolbar_20190424104940.vue
.history/resources/js/components/Toolbar_20190424104940.vue
+154
-0
Toolbar_20190424105117.vue
.history/resources/js/components/Toolbar_20190424105117.vue
+157
-0
Toolbar_20190424105131.vue
.history/resources/js/components/Toolbar_20190424105131.vue
+158
-0
Toolbar_20190424105215.vue
.history/resources/js/components/Toolbar_20190424105215.vue
+156
-0
Toolbar_20190424105249.vue
.history/resources/js/components/Toolbar_20190424105249.vue
+154
-0
Toolbar_20190424105329.vue
.history/resources/js/components/Toolbar_20190424105329.vue
+154
-0
Toolbar_20190424105357.vue
.history/resources/js/components/Toolbar_20190424105357.vue
+131
-0
Toolbar_20190424110801.vue
.history/resources/js/components/Toolbar_20190424110801.vue
+131
-0
Toolbar_20190424110910.vue
.history/resources/js/components/Toolbar_20190424110910.vue
+131
-0
Toolbar_20190424110954.vue
.history/resources/js/components/Toolbar_20190424110954.vue
+130
-0
Toolbar_20190424111033.vue
.history/resources/js/components/Toolbar_20190424111033.vue
+130
-0
Toolbar_20190424111111.vue
.history/resources/js/components/Toolbar_20190424111111.vue
+130
-0
Toolbar_20190424111114.vue
.history/resources/js/components/Toolbar_20190424111114.vue
+130
-0
Toolbar_20190424111447.vue
.history/resources/js/components/Toolbar_20190424111447.vue
+130
-0
Toolbar_20190424111543.vue
.history/resources/js/components/Toolbar_20190424111543.vue
+130
-0
Toolbar_20190424111702.vue
.history/resources/js/components/Toolbar_20190424111702.vue
+137
-0
Toolbar_20190424111718.vue
.history/resources/js/components/Toolbar_20190424111718.vue
+137
-0
Toolbar_20190424111755.vue
.history/resources/js/components/Toolbar_20190424111755.vue
+137
-0
Toolbar_20190424111842.vue
.history/resources/js/components/Toolbar_20190424111842.vue
+137
-0
Toolbar_20190424111911.vue
.history/resources/js/components/Toolbar_20190424111911.vue
+137
-0
Toolbar_20190424111925.vue
.history/resources/js/components/Toolbar_20190424111925.vue
+137
-0
Toolbar_20190424112010.vue
.history/resources/js/components/Toolbar_20190424112010.vue
+137
-0
Toolbar_20190424112038.vue
.history/resources/js/components/Toolbar_20190424112038.vue
+137
-0
Toolbar_20190424112051.vue
.history/resources/js/components/Toolbar_20190424112051.vue
+137
-0
Toolbar_20190424112139.vue
.history/resources/js/components/Toolbar_20190424112139.vue
+137
-0
Toolbar_20190424112241.vue
.history/resources/js/components/Toolbar_20190424112241.vue
+139
-0
Toolbar_20190424112249.vue
.history/resources/js/components/Toolbar_20190424112249.vue
+139
-0
Toolbar_20190424112255.vue
.history/resources/js/components/Toolbar_20190424112255.vue
+139
-0
Toolbar_20190424112654.vue
.history/resources/js/components/Toolbar_20190424112654.vue
+139
-0
Toolbar_20190424112717.vue
.history/resources/js/components/Toolbar_20190424112717.vue
+139
-0
Toolbar_20190424112739.vue
.history/resources/js/components/Toolbar_20190424112739.vue
+139
-0
Toolbar_20190424112903.vue
.history/resources/js/components/Toolbar_20190424112903.vue
+139
-0
Toolbar_20190424112921.vue
.history/resources/js/components/Toolbar_20190424112921.vue
+139
-0
Toolbar_20190424112936.vue
.history/resources/js/components/Toolbar_20190424112936.vue
+139
-0
Toolbar_20190424113112.vue
.history/resources/js/components/Toolbar_20190424113112.vue
+141
-0
Toolbar_20190424113222.vue
.history/resources/js/components/Toolbar_20190424113222.vue
+141
-0
Toolbar_20190424113400.vue
.history/resources/js/components/Toolbar_20190424113400.vue
+141
-0
Toolbar_20190424113457.vue
.history/resources/js/components/Toolbar_20190424113457.vue
+141
-0
Toolbar_20190424113526.vue
.history/resources/js/components/Toolbar_20190424113526.vue
+141
-0
Toolbar_20190424113649.vue
.history/resources/js/components/Toolbar_20190424113649.vue
+129
-0
Toolbar_20190424113712.vue
.history/resources/js/components/Toolbar_20190424113712.vue
+129
-0
Toolbar_20190424113828.vue
.history/resources/js/components/Toolbar_20190424113828.vue
+131
-0
Toolbar_20190424113851.vue
.history/resources/js/components/Toolbar_20190424113851.vue
+131
-0
Toolbar_20190424114241.vue
.history/resources/js/components/Toolbar_20190424114241.vue
+131
-0
Toolbar_20190424114322.vue
.history/resources/js/components/Toolbar_20190424114322.vue
+131
-0
Toolbar_20190424114345.vue
.history/resources/js/components/Toolbar_20190424114345.vue
+131
-0
Toolbar_20190424114511.vue
.history/resources/js/components/Toolbar_20190424114511.vue
+136
-0
Toolbar_20190424114829.vue
.history/resources/js/components/Toolbar_20190424114829.vue
+134
-0
Toolbar_20190424114851.vue
.history/resources/js/components/Toolbar_20190424114851.vue
+134
-0
Toolbar_20190424115249.vue
.history/resources/js/components/Toolbar_20190424115249.vue
+137
-0
Toolbar_20190424115315.vue
.history/resources/js/components/Toolbar_20190424115315.vue
+137
-0
Toolbar_20190424115439.vue
.history/resources/js/components/Toolbar_20190424115439.vue
+112
-0
Toolbar_20190424115619.vue
.history/resources/js/components/Toolbar_20190424115619.vue
+113
-0
Toolbar_20190424115627.vue
.history/resources/js/components/Toolbar_20190424115627.vue
+113
-0
Toolbar_20190424115726.vue
.history/resources/js/components/Toolbar_20190424115726.vue
+113
-0
Toolbar_20190424115801.vue
.history/resources/js/components/Toolbar_20190424115801.vue
+113
-0
Toolbar_20190424120029.vue
.history/resources/js/components/Toolbar_20190424120029.vue
+113
-0
Toolbar_20190424120049.vue
.history/resources/js/components/Toolbar_20190424120049.vue
+113
-0
Toolbar_20190424120121.vue
.history/resources/js/components/Toolbar_20190424120121.vue
+113
-0
Toolbar_20190424120259.vue
.history/resources/js/components/Toolbar_20190424120259.vue
+97
-0
Toolbar_20190424120559.vue
.history/resources/js/components/Toolbar_20190424120559.vue
+97
-0
DetailJob_20190424121225.vue
.history/resources/js/views/DetailJob_20190424121225.vue
+189
-0
DetailJob_20190424121322.vue
.history/resources/js/views/DetailJob_20190424121322.vue
+189
-0
DetailJob_20190424121423.vue
.history/resources/js/views/DetailJob_20190424121423.vue
+191
-0
DetailJob_20190424121523.vue
.history/resources/js/views/DetailJob_20190424121523.vue
+196
-0
DetailJob_20190424121702.vue
.history/resources/js/views/DetailJob_20190424121702.vue
+193
-0
DetailJob_20190424121729.vue
.history/resources/js/views/DetailJob_20190424121729.vue
+191
-0
logocoop.png
public/images/logocoop.png
+0
-0
app.js
public/js/app.js
+0
-0
Toolbar.vue
resources/js/components/Toolbar.vue
+28
-62
No files found.
.history/resources/js/components/Toolbar_20190423193208.vue
0 → 100644
View file @
b8a7da9b
<
template
>
<div>
<v-layout
row
wrap
white
>
<v-flex
xs12
sm10
offset-sm1
>
<v-toolbar
flat
color=
"white"
height=
"40"
>
<v-spacer></v-spacer>
<v-btn
small=
""
dark
color=
"deep-orange darken-4"
class=
"elevation-0"
@
click=
"$router.push('/employer')"
>
สำหรับผู้ประกอบการ
</v-btn>
<v-divider
inset
vertical
></v-divider>
<v-btn
v-if=
"!currentUser"
small
outline
color=
"deep-orange darken-4"
@
click
.
stop=
"login()"
>
<v-icon>
person
</v-icon>
เข้าสู่ระบบ
</v-btn>
<v-btn
v-if=
"!currentUser"
small
outline
color=
"deep-orange darken-4"
@
click
.
stop=
"register()"
>
<v-icon>
account_box
</v-icon>
ลงทะเบียน
</v-btn>
<v-btn
v-else
small
outline
color=
"deep-orange darken-4"
@
click=
"logout()"
>
<v-icon>
account_circle
</v-icon>
{{
currentUser
}}
</v-btn>
</v-toolbar>
</v-flex>
</v-layout>
<v-layout
row
wrap
white
>
<v-flex
xs12
sm10
offset-sm1
>
<v-toolbar
flat
color=
"white"
>
<!--v-if="page == 'app'"-->
<v-toolbar-title>
<router-link
to=
"/"
><img
src=
"../../../public/img/banner.png"
class=
"my-2"
width=
"150"
></router-link>
</v-toolbar-title>
<v-spacer></v-spacer>
<v-btn
v-if=
"!responsive"
flat
color=
"black"
class=
"mx-0 px-0"
>
<v-icon>
home
</v-icon>
<span
class=
"body-2 font-weight-bold"
>
หน้าหลัก
</span>
</v-btn>
<v-btn
v-if=
"!responsive"
flat
color=
"black"
class=
"mx-0 px-0 body-2 font-weight-bold"
>
<span
class=
"body-2 font-weight-bold"
>
เกี่ยวกับเรา
</span>
</v-btn>
<v-btn
v-if=
"!responsive"
flat
color=
"black"
class=
"mx-0 px-0 body-2 font-weight-bold"
>
<span
class=
"body-2 font-weight-bold"
>
เกี่ยวกับเรา
</span>
</v-btn>
<v-btn
v-if=
"!responsive"
flat
color=
"black"
class=
"m x-0 px-0 body-2 font-weight-bold"
>
<span
class=
"body-2 font-weight-bold"
>
เกี่ยวกับเรา
</span>
</v-btn>
<v-btn
v-if=
"!responsive"
flat
color=
"black"
class=
"mx-0 px-0 body-2 font-weight-bold"
>
<span
class=
"body-2 font-weight-bold"
>
เกี่ยวกับเรา
</span>
</v-btn>
<v-btn
v-if=
"!responsive"
flat
color=
"black"
class=
"mx-0 px-0 body-2 font-weight-bold"
>
<span
class=
"body-2 font-weight-bold"
>
เกี่ยวกับเรา
</span>
</v-btn>
<v-btn
v-if=
"!responsive"
flat
color=
"black"
class=
"mx-0 px-0 body-2 font-weight-bold"
>
<span
class=
"body-2 font-weight-bold"
>
เกี่ยวกับเรา
</span>
</v-btn>
<v-menu
left
bottom
v-if=
"responsive"
>
<template
v-slot:activator=
"
{ on }">
<v-toolbar-side-icon
v-on=
"on"
></v-toolbar-side-icon>
</
template
>
<v-list>
<v-list-tile>
<v-list-tile-title>
หน้าหลัก
</v-list-tile-title>
</v-list-tile>
<v-list-tile>
<v-list-tile-title>
หน้าหลัก
</v-list-tile-title>
</v-list-tile>
<v-list-tile
>
<v-list-tile-title>
หน้าหลัก
</v-list-tile-title>
</v-list-tile>
<v-list-tile
>
<v-list-tile-title>
หน้าหลัก
</v-list-tile-title>
</v-list-tile>
<v-list-tile
>
<v-list-tile-title>
หน้าหลัก
</v-list-tile-title>
</v-list-tile>
<v-list-tile
>
<v-list-tile-title>
หน้าหลัก
</v-list-tile-title>
</v-list-tile>
</v-list>
</v-menu>
</v-toolbar>
</v-flex>
</v-layout>
<login
v-if=
"dialog === 'login'"
></login>
<register
v-if=
"dialog === 'register'"
></register>
</div>
</template>
<
script
>
import
Login
from
'../views/Login.vue'
;
import
Register
from
'../views/Register.vue'
;
export
default
{
props
:
[
'page'
],
components
:
{
'login'
:
Login
,
'register'
:
Register
},
data
()
{
return
{
responsive
:
false
,
dialog
:
'login'
}
},
computed
:
{
currentUser
()
{
return
this
.
$store
.
getters
.
getUser
.
name
}
},
mounted
()
{
this
.
onResponsiveInverted
()
window
.
addEventListener
(
'resize'
,
this
.
onResponsiveInverted
)
},
beforeDestroy
()
{
window
.
removeEventListener
(
'resize'
,
this
.
onResponsiveInverted
)
},
methods
:
{
onResponsiveInverted
()
{
if
(
window
.
innerWidth
<
991
)
{
this
.
responsive
=
true
}
else
{
this
.
responsive
=
false
}
},
logout
()
{
this
.
$store
.
dispatch
(
'logout'
)
},
login
()
{
this
.
dialog
=
'login'
this
.
$store
.
commit
(
'setDialog'
,
!
this
.
$store
.
getters
.
getDialog
)
},
register
()
{
this
.
dialog
=
'register'
this
.
$store
.
commit
(
'setDialog'
,
!
this
.
$store
.
getters
.
getDialog
)
}
}
}
</
script
>
.history/resources/js/components/Toolbar_20190424104659.vue
0 → 100644
View file @
b8a7da9b
<
template
>
<div>
<v-layout
row
wrap
white
>
<v-flex
xs12
sm10
offset-sm1
>
<v-toolbar
flat
color=
"white"
height=
"40"
>
<v-spacer></v-spacer>
<v-btn
small=
""
dark
color=
"deep-orange darken-4"
class=
"elevation-0"
@
click=
"$router.push('/employer')"
>
สำหรับผู้ประกอบการ
</v-btn>
<v-divider
inset
vertical
></v-divider>
<v-btn
v-if=
"!currentUser"
small
outline
color=
"deep-orange darken-4"
@
click
.
stop=
"login()"
>
<v-icon>
person
</v-icon>
เข้าสู่ระบบ
</v-btn>
<v-btn
v-if=
"!currentUser"
small
outline
color=
"deep-orange darken-4"
@
click
.
stop=
"register()"
>
<v-icon>
account_box
</v-icon>
ลงทะเบียน
</v-btn>
<v-btn
v-else
small
outline
color=
"deep-orange darken-4"
@
click=
"logout()"
>
<v-icon>
account_circle
</v-icon>
{{
currentUser
}}
</v-btn>
</v-toolbar>
</v-flex>
</v-layout>
<v-layout
row
wrap
white
>
<v-flex
xs12
sm10
offset-sm1
>
<v-toolbar
flat
color=
"white"
>
<!--v-if="page == 'app'"-->
<v-toolbar-title>
<router-link
to=
"/"
><img
src=
"../../../public/img/banner.png"
class=
"my-2"
width=
"150"
></router-link>
</v-toolbar-title>
<v-spacer></v-spacer>
<v-btn
v-if=
"!responsive"
flat
color=
"black"
class=
"mx-0 px-0"
>
<v-icon>
home
</v-icon>
<span
class=
"body-2 font-weight-bold"
>
หน้าหลัก
</span>
</v-btn>
<v-btn
v-if=
"!responsive"
flat
color=
"black"
class=
"mx-0 px-0 body-2 font-weight-bold"
>
<span
class=
"body-2 font-weight-bold"
>
เกี่ยวกับเรา
</span>
</v-btn>
<v-btn
v-if=
"!responsive"
flat
color=
"black"
class=
"mx-0 px-0 body-2 font-weight-bold"
>
<span
class=
"body-2 font-weight-bold"
>
เกี่ยวกับเรา
</span>
</v-btn>
<v-btn
v-if=
"!responsive"
flat
color=
"black"
class=
"m x-0 px-0 body-2 font-weight-bold"
>
<span
class=
"body-2 font-weight-bold"
>
เกี่ยวกับเรา
</span>
</v-btn>
<v-btn
v-if=
"!responsive"
flat
color=
"black"
class=
"mx-0 px-0 body-2 font-weight-bold"
>
<span
class=
"body-2 font-weight-bold"
>
เกี่ยวกับเรา
</span>
</v-btn>
<v-btn
v-if=
"!responsive"
flat
color=
"black"
class=
"mx-0 px-0 body-2 font-weight-bold"
>
<span
class=
"body-2 font-weight-bold"
>
เกี่ยวกับเรา
</span>
</v-btn>
<v-btn
v-if=
"!responsive"
flat
color=
"black"
class=
"mx-0 px-0 body-2 font-weight-bold"
>
<span
class=
"body-2 font-weight-bold"
>
เกี่ยวกับเรา
</span>
</v-btn>
<v-menu
left
bottom
v-if=
"responsive"
>
<template
v-slot:activator=
"
{ on }">
<v-toolbar-side-icon
v-on=
"on"
></v-toolbar-side-icon>
</
template
>
<v-list>
<v-list-tile>
<v-list-tile-title>
หน้าหลัก
</v-list-tile-title>
</v-list-tile>
<v-list-tile>
<v-list-tile-title>
หน้าหลัก
</v-list-tile-title>
</v-list-tile>
<v-list-tile
>
<v-list-tile-title>
หน้าหลัก
</v-list-tile-title>
</v-list-tile>
<v-list-tile
>
<v-list-tile-title>
หน้าหลัก
</v-list-tile-title>
</v-list-tile>
<v-list-tile
>
<v-list-tile-title>
หน้าหลัก
</v-list-tile-title>
</v-list-tile>
<v-list-tile
>
<v-list-tile-title>
หน้าหลัก
</v-list-tile-title>
</v-list-tile>
</v-list>
</v-menu>
</v-toolbar>
</v-flex>
</v-layout>
<v-toolbar
dark
color=
"primary"
>
<v-toolbar-side-icon></v-toolbar-side-icon>
<v-toolbar-title
class=
"white--text"
>
Title
</v-toolbar-title>
<v-spacer></v-spacer>
<v-btn
icon
>
<v-icon>
search
</v-icon>
</v-btn>
<v-btn
icon
>
<v-icon>
apps
</v-icon>
</v-btn>
<v-btn
icon
>
<v-icon>
refresh
</v-icon>
</v-btn>
<v-btn
icon
>
<v-icon>
more_vert
</v-icon>
</v-btn>
</v-toolbar>
<login
v-if=
"dialog === 'login'"
></login>
<register
v-if=
"dialog === 'register'"
></register>
</div>
</template>
<
script
>
import
Login
from
'../views/Login.vue'
;
import
Register
from
'../views/Register.vue'
;
export
default
{
props
:
[
'page'
],
components
:
{
'login'
:
Login
,
'register'
:
Register
},
data
()
{
return
{
responsive
:
false
,
dialog
:
'login'
}
},
computed
:
{
currentUser
()
{
return
this
.
$store
.
getters
.
getUser
.
name
}
},
mounted
()
{
this
.
onResponsiveInverted
()
window
.
addEventListener
(
'resize'
,
this
.
onResponsiveInverted
)
},
beforeDestroy
()
{
window
.
removeEventListener
(
'resize'
,
this
.
onResponsiveInverted
)
},
methods
:
{
onResponsiveInverted
()
{
if
(
window
.
innerWidth
<
991
)
{
this
.
responsive
=
true
}
else
{
this
.
responsive
=
false
}
},
logout
()
{
this
.
$store
.
dispatch
(
'logout'
)
},
login
()
{
this
.
dialog
=
'login'
this
.
$store
.
commit
(
'setDialog'
,
!
this
.
$store
.
getters
.
getDialog
)
},
register
()
{
this
.
dialog
=
'register'
this
.
$store
.
commit
(
'setDialog'
,
!
this
.
$store
.
getters
.
getDialog
)
}
}
}
</
script
>
.history/resources/js/components/Toolbar_20190424104744.vue
0 → 100644
View file @
b8a7da9b
<
template
>
<div>
<v-layout
row
wrap
white
>
<v-flex
xs12
sm10
offset-sm1
>
<v-toolbar
flat
color=
"white"
height=
"40"
>
<v-spacer></v-spacer>
<v-btn
small=
""
dark
color=
"deep-orange darken-4"
class=
"elevation-0"
@
click=
"$router.push('/employer')"
>
สำหรับผู้ประกอบการ
</v-btn>
<v-divider
inset
vertical
></v-divider>
<v-btn
v-if=
"!currentUser"
small
outline
color=
"deep-orange darken-4"
@
click
.
stop=
"login()"
>
<v-icon>
person
</v-icon>
เข้าสู่ระบบ
</v-btn>
<v-btn
v-if=
"!currentUser"
small
outline
color=
"deep-orange darken-4"
@
click
.
stop=
"register()"
>
<v-icon>
account_box
</v-icon>
ลงทะเบียน
</v-btn>
<v-btn
v-else
small
outline
color=
"deep-orange darken-4"
@
click=
"logout()"
>
<v-icon>
account_circle
</v-icon>
{{
currentUser
}}
</v-btn>
</v-toolbar>
</v-flex>
</v-layout>
<v-layout
row
wrap
white
>
<v-flex
xs12
sm10
offset-sm1
>
<v-toolbar
flat
color=
"white"
>
<!--v-if="page == 'app'"-->
<v-toolbar-title>
<router-link
to=
"/"
><img
src=
"../../../public/img/banner.png"
class=
"my-2"
width=
"150"
></router-link>
</v-toolbar-title>
<v-spacer></v-spacer>
<v-btn
v-if=
"!responsive"
flat
color=
"black"
class=
"mx-0 px-0"
>
<v-icon>
home
</v-icon>
<span
class=
"body-2 font-weight-bold"
>
หน้าหลัก
</span>
</v-btn>
<v-btn
v-if=
"!responsive"
flat
color=
"black"
class=
"mx-0 px-0 body-2 font-weight-bold"
>
<span
class=
"body-2 font-weight-bold"
>
เกี่ยวกับเรา
</span>
</v-btn>
<v-btn
v-if=
"!responsive"
flat
color=
"black"
class=
"mx-0 px-0 body-2 font-weight-bold"
>
<span
class=
"body-2 font-weight-bold"
>
เกี่ยวกับเรา
</span>
</v-btn>
<v-btn
v-if=
"!responsive"
flat
color=
"black"
class=
"m x-0 px-0 body-2 font-weight-bold"
>
<span
class=
"body-2 font-weight-bold"
>
เกี่ยวกับเรา
</span>
</v-btn>
<v-btn
v-if=
"!responsive"
flat
color=
"black"
class=
"mx-0 px-0 body-2 font-weight-bold"
>
<span
class=
"body-2 font-weight-bold"
>
เกี่ยวกับเรา
</span>
</v-btn>
<v-btn
v-if=
"!responsive"
flat
color=
"black"
class=
"mx-0 px-0 body-2 font-weight-bold"
>
<span
class=
"body-2 font-weight-bold"
>
เกี่ยวกับเรา
</span>
</v-btn>
<v-btn
v-if=
"!responsive"
flat
color=
"black"
class=
"mx-0 px-0 body-2 font-weight-bold"
>
<span
class=
"body-2 font-weight-bold"
>
เกี่ยวกับเรา
</span>
</v-btn>
<v-menu
left
bottom
v-if=
"responsive"
>
<template
v-slot:activator=
"
{ on }">
<v-toolbar-side-icon
v-on=
"on"
></v-toolbar-side-icon>
</
template
>
<v-list>
<v-list-tile>
<v-list-tile-title>
หน้าหลัก
</v-list-tile-title>
</v-list-tile>
<v-list-tile>
<v-list-tile-title>
หน้าหลัก
</v-list-tile-title>
</v-list-tile>
<v-list-tile
>
<v-list-tile-title>
หน้าหลัก
</v-list-tile-title>
</v-list-tile>
<v-list-tile
>
<v-list-tile-title>
หน้าหลัก
</v-list-tile-title>
</v-list-tile>
<v-list-tile
>
<v-list-tile-title>
หน้าหลัก
</v-list-tile-title>
</v-list-tile>
<v-list-tile
>
<v-list-tile-title>
หน้าหลัก
</v-list-tile-title>
</v-list-tile>
</v-list>
</v-menu>
</v-toolbar>
</v-flex>
</v-layout>
<v-toolbar
dark
color=
"primary"
>
<v-toolbar-title
class=
"white--text"
>
Title
</v-toolbar-title>
<v-spacer></v-spacer>
<v-btn
icon
>
<v-icon>
search
</v-icon>
</v-btn>
<v-btn
icon
>
<v-icon>
apps
</v-icon>
</v-btn>
<v-btn
icon
>
<v-icon>
refresh
</v-icon>
</v-btn>
<v-btn
icon
>
<v-icon>
more_vert
</v-icon>
</v-btn>
</v-toolbar>
<login
v-if=
"dialog === 'login'"
></login>
<register
v-if=
"dialog === 'register'"
></register>
</div>
</template>
<
script
>
import
Login
from
'../views/Login.vue'
;
import
Register
from
'../views/Register.vue'
;
export
default
{
props
:
[
'page'
],
components
:
{
'login'
:
Login
,
'register'
:
Register
},
data
()
{
return
{
responsive
:
false
,
dialog
:
'login'
}
},
computed
:
{
currentUser
()
{
return
this
.
$store
.
getters
.
getUser
.
name
}
},
mounted
()
{
this
.
onResponsiveInverted
()
window
.
addEventListener
(
'resize'
,
this
.
onResponsiveInverted
)
},
beforeDestroy
()
{
window
.
removeEventListener
(
'resize'
,
this
.
onResponsiveInverted
)
},
methods
:
{
onResponsiveInverted
()
{
if
(
window
.
innerWidth
<
991
)
{
this
.
responsive
=
true
}
else
{
this
.
responsive
=
false
}
},
logout
()
{
this
.
$store
.
dispatch
(
'logout'
)
},
login
()
{
this
.
dialog
=
'login'
this
.
$store
.
commit
(
'setDialog'
,
!
this
.
$store
.
getters
.
getDialog
)
},
register
()
{
this
.
dialog
=
'register'
this
.
$store
.
commit
(
'setDialog'
,
!
this
.
$store
.
getters
.
getDialog
)
}
}
}
</
script
>
.history/resources/js/components/Toolbar_20190424104940.vue
0 → 100644
View file @
b8a7da9b
<
template
>
<div>
<v-layout
row
wrap
white
>
<v-flex
xs12
sm10
offset-sm1
>
<v-toolbar
flat
color=
"white"
height=
"40"
>
<v-spacer></v-spacer>
<v-btn
small=
""
dark
color=
"deep-orange darken-4"
class=
"elevation-0"
@
click=
"$router.push('/employer')"
>
สำหรับผู้ประกอบการ
</v-btn>
<v-divider
inset
vertical
></v-divider>
<v-btn
v-if=
"!currentUser"
small
outline
color=
"deep-orange darken-4"
@
click
.
stop=
"login()"
>
<v-icon>
person
</v-icon>
เข้าสู่ระบบ
</v-btn>
<v-btn
v-if=
"!currentUser"
small
outline
color=
"deep-orange darken-4"
@
click
.
stop=
"register()"
>
<v-icon>
account_box
</v-icon>
ลงทะเบียน
</v-btn>
<v-btn
v-else
small
outline
color=
"deep-orange darken-4"
@
click=
"logout()"
>
<v-icon>
account_circle
</v-icon>
{{
currentUser
}}
</v-btn>
</v-toolbar>
</v-flex>
</v-layout>
<v-layout
row
wrap
white
>
<v-flex
xs12
sm10
offset-sm1
>
<v-toolbar
flat
color=
"white"
>
<!--v-if="page == 'app'"-->
<v-toolbar-title>
<router-link
to=
"/"
><img
src=
"../../../public/img/banner.png"
class=
"my-2"
width=
"150"
></router-link>
</v-toolbar-title>
<v-spacer></v-spacer>
<v-btn
v-if=
"!responsive"
flat
color=
"black"
class=
"mx-0 px-0"
>
<v-icon>
home
</v-icon>
<span
class=
"body-2 font-weight-bold"
>
หน้าหลัก
</span>
</v-btn>
<v-btn
v-if=
"!responsive"
flat
color=
"black"
class=
"mx-0 px-0 body-2 font-weight-bold"
>
<span
class=
"body-2 font-weight-bold"
>
เกี่ยวกับเรา
</span>
</v-btn>
<v-btn
v-if=
"!responsive"
flat
color=
"black"
class=
"mx-0 px-0 body-2 font-weight-bold"
>
<span
class=
"body-2 font-weight-bold"
>
เกี่ยวกับเรา
</span>
</v-btn>
<v-btn
v-if=
"!responsive"
flat
color=
"black"
class=
"m x-0 px-0 body-2 font-weight-bold"
>
<span
class=
"body-2 font-weight-bold"
>
เกี่ยวกับเรา
</span>
</v-btn>
<v-btn
v-if=
"!responsive"
flat
color=
"black"
class=
"mx-0 px-0 body-2 font-weight-bold"
>
<span
class=
"body-2 font-weight-bold"
>
เกี่ยวกับเรา
</span>
</v-btn>
<v-btn
v-if=
"!responsive"
flat
color=
"black"
class=
"mx-0 px-0 body-2 font-weight-bold"
>
<span
class=
"body-2 font-weight-bold"
>
เกี่ยวกับเรา
</span>
</v-btn>
<v-btn
v-if=
"!responsive"
flat
color=
"black"
class=
"mx-0 px-0 body-2 font-weight-bold"
>
<span
class=
"body-2 font-weight-bold"
>
เกี่ยวกับเรา
</span>
</v-btn>
<v-menu
left
bottom
v-if=
"responsive"
>
<template
v-slot:activator=
"
{ on }">
<v-toolbar-side-icon
v-on=
"on"
></v-toolbar-side-icon>
</
template
>
<v-list>
<v-list-tile>
<v-list-tile-title>
หน้าหลัก
</v-list-tile-title>
</v-list-tile>
<v-list-tile>
<v-list-tile-title>
หน้าหลัก
</v-list-tile-title>
</v-list-tile>
<v-list-tile
>
<v-list-tile-title>
หน้าหลัก
</v-list-tile-title>
</v-list-tile>
<v-list-tile
>
<v-list-tile-title>
หน้าหลัก
</v-list-tile-title>
</v-list-tile>
<v-list-tile
>
<v-list-tile-title>
หน้าหลัก
</v-list-tile-title>
</v-list-tile>
<v-list-tile
>
<v-list-tile-title>
หน้าหลัก
</v-list-tile-title>
</v-list-tile>
</v-list>
</v-menu>
</v-toolbar>
</v-flex>
</v-layout>
<v-toolbar
dark
color=
"primary"
>
<v-toolbar-title
class=
"white--text"
>
<router-link
to=
"/"
><img
src=
"../../../public/images/logocoop.png"
class=
"my-2"
width=
"150"
></router-link>
</v-toolbar-title>
<v-spacer></v-spacer>
<v-btn
icon
>
<v-icon>
search
</v-icon>
</v-btn>
<v-btn
icon
>
<v-icon>
apps
</v-icon>
</v-btn>
<v-btn
icon
>
<v-icon>
refresh
</v-icon>
</v-btn>
<v-btn
icon
>
<v-icon>
more_vert
</v-icon>
</v-btn>
</v-toolbar>
<login
v-if=
"dialog === 'login'"
></login>
<register
v-if=
"dialog === 'register'"
></register>
</div>
</template>
<
script
>
import
Login
from
'../views/Login.vue'
;
import
Register
from
'../views/Register.vue'
;
export
default
{
props
:
[
'page'
],
components
:
{
'login'
:
Login
,
'register'
:
Register
},
data
()
{
return
{
responsive
:
false
,
dialog
:
'login'
}
},
computed
:
{
currentUser
()
{
return
this
.
$store
.
getters
.
getUser
.
name
}
},
mounted
()
{
this
.
onResponsiveInverted
()
window
.
addEventListener
(
'resize'
,
this
.
onResponsiveInverted
)
},
beforeDestroy
()
{
window
.
removeEventListener
(
'resize'
,
this
.
onResponsiveInverted
)
},
methods
:
{
onResponsiveInverted
()
{
if
(
window
.
innerWidth
<
991
)
{
this
.
responsive
=
true
}
else
{
this
.
responsive
=
false
}
},
logout
()
{
this
.
$store
.
dispatch
(
'logout'
)
},
login
()
{
this
.
dialog
=
'login'
this
.
$store
.
commit
(
'setDialog'
,
!
this
.
$store
.
getters
.
getDialog
)
},
register
()
{
this
.
dialog
=
'register'
this
.
$store
.
commit
(
'setDialog'
,
!
this
.
$store
.
getters
.
getDialog
)
}
}
}
</
script
>
.history/resources/js/components/Toolbar_20190424105117.vue
0 → 100644
View file @
b8a7da9b
<
template
>
<div>
<v-layout
row
wrap
white
>
<v-flex
xs12
sm10
offset-sm1
>
<v-toolbar
flat
color=
"white"
height=
"40"
>
<v-spacer></v-spacer>
<v-btn
small=
""
dark
color=
"deep-orange darken-4"
class=
"elevation-0"
@
click=
"$router.push('/employer')"
>
สำหรับผู้ประกอบการ
</v-btn>
<v-divider
inset
vertical
></v-divider>
<v-btn
v-if=
"!currentUser"
small
outline
color=
"deep-orange darken-4"
@
click
.
stop=
"login()"
>
<v-icon>
person
</v-icon>
เข้าสู่ระบบ
</v-btn>
<v-btn
v-if=
"!currentUser"
small
outline
color=
"deep-orange darken-4"
@
click
.
stop=
"register()"
>
<v-icon>
account_box
</v-icon>
ลงทะเบียน
</v-btn>
<v-btn
v-else
small
outline
color=
"deep-orange darken-4"
@
click=
"logout()"
>
<v-icon>
account_circle
</v-icon>
{{
currentUser
}}
</v-btn>
</v-toolbar>
</v-flex>
</v-layout>
<v-layout
row
wrap
white
>
<v-flex
xs12
sm10
offset-sm1
>
<v-toolbar
flat
color=
"white"
>
<!--v-if="page == 'app'"-->
<v-toolbar-title>
<router-link
to=
"/"
><img
src=
"../../../public/img/banner.png"
class=
"my-2"
width=
"150"
></router-link>
</v-toolbar-title>
<v-spacer></v-spacer>
<v-btn
v-if=
"!responsive"
flat
color=
"black"
class=
"mx-0 px-0"
>
<v-icon>
home
</v-icon>
<span
class=
"body-2 font-weight-bold"
>
หน้าหลัก
</span>
</v-btn>
<v-btn
v-if=
"!responsive"
flat
color=
"black"
class=
"mx-0 px-0 body-2 font-weight-bold"
>
<span
class=
"body-2 font-weight-bold"
>
เกี่ยวกับเรา
</span>
</v-btn>
<v-btn
v-if=
"!responsive"
flat
color=
"black"
class=
"mx-0 px-0 body-2 font-weight-bold"
>
<span
class=
"body-2 font-weight-bold"
>
เกี่ยวกับเรา
</span>
</v-btn>
<v-btn
v-if=
"!responsive"
flat
color=
"black"
class=
"m x-0 px-0 body-2 font-weight-bold"
>
<span
class=
"body-2 font-weight-bold"
>
เกี่ยวกับเรา
</span>
</v-btn>
<v-btn
v-if=
"!responsive"
flat
color=
"black"
class=
"mx-0 px-0 body-2 font-weight-bold"
>
<span
class=
"body-2 font-weight-bold"
>
เกี่ยวกับเรา
</span>
</v-btn>
<v-btn
v-if=
"!responsive"
flat
color=
"black"
class=
"mx-0 px-0 body-2 font-weight-bold"
>
<span
class=
"body-2 font-weight-bold"
>
เกี่ยวกับเรา
</span>
</v-btn>
<v-btn
v-if=
"!responsive"
flat
color=
"black"
class=
"mx-0 px-0 body-2 font-weight-bold"
>
<span
class=
"body-2 font-weight-bold"
>
เกี่ยวกับเรา
</span>
</v-btn>
<v-menu
left
bottom
v-if=
"responsive"
>
<template
v-slot:activator=
"
{ on }">
<v-toolbar-side-icon
v-on=
"on"
></v-toolbar-side-icon>
</
template
>
<v-list>
<v-list-tile>
<v-list-tile-title>
หน้าหลัก
</v-list-tile-title>
</v-list-tile>
<v-list-tile>
<v-list-tile-title>
หน้าหลัก
</v-list-tile-title>
</v-list-tile>
<v-list-tile
>
<v-list-tile-title>
หน้าหลัก
</v-list-tile-title>
</v-list-tile>
<v-list-tile
>
<v-list-tile-title>
หน้าหลัก
</v-list-tile-title>
</v-list-tile>
<v-list-tile
>
<v-list-tile-title>
หน้าหลัก
</v-list-tile-title>
</v-list-tile>
<v-list-tile
>
<v-list-tile-title>
หน้าหลัก
</v-list-tile-title>
</v-list-tile>
</v-list>
</v-menu>
</v-toolbar>
</v-flex>
</v-layout>
<v-toolbar
dark
color=
"primary"
>
<v-flex
sm10
offset-sm-1
>
</v-flex>
<v-toolbar-title
class=
"white--text"
>
<router-link
to=
"/"
><img
src=
"../../../public/images/logocoop.png"
class=
"my-2"
width=
"150"
></router-link>
</v-toolbar-title>
<v-spacer></v-spacer>
<v-btn
icon
>
<v-icon>
search
</v-icon>
</v-btn>
<v-btn
icon
>
<v-icon>
apps
</v-icon>
</v-btn>
<v-btn
icon
>
<v-icon>
refresh
</v-icon>
</v-btn>
<v-btn
icon
>
<v-icon>
more_vert
</v-icon>
</v-btn>
</v-toolbar>
<login
v-if=
"dialog === 'login'"
></login>
<register
v-if=
"dialog === 'register'"
></register>
</div>
</template>
<
script
>
import
Login
from
'../views/Login.vue'
;
import
Register
from
'../views/Register.vue'
;
export
default
{
props
:
[
'page'
],
components
:
{
'login'
:
Login
,
'register'
:
Register
},
data
()
{
return
{
responsive
:
false
,
dialog
:
'login'
}
},
computed
:
{
currentUser
()
{
return
this
.
$store
.
getters
.
getUser
.
name
}
},
mounted
()
{
this
.
onResponsiveInverted
()
window
.
addEventListener
(
'resize'
,
this
.
onResponsiveInverted
)
},
beforeDestroy
()
{
window
.
removeEventListener
(
'resize'
,
this
.
onResponsiveInverted
)
},
methods
:
{
onResponsiveInverted
()
{
if
(
window
.
innerWidth
<
991
)
{
this
.
responsive
=
true
}
else
{
this
.
responsive
=
false
}
},
logout
()
{
this
.
$store
.
dispatch
(
'logout'
)
},
login
()
{
this
.
dialog
=
'login'
this
.
$store
.
commit
(
'setDialog'
,
!
this
.
$store
.
getters
.
getDialog
)
},
register
()
{
this
.
dialog
=
'register'
this
.
$store
.
commit
(
'setDialog'
,
!
this
.
$store
.
getters
.
getDialog
)
}
}
}
</
script
>
.history/resources/js/components/Toolbar_20190424105131.vue
0 → 100644
View file @
b8a7da9b
<
template
>
<div>
<v-layout
row
wrap
white
>
<v-flex
xs12
sm10
offset-sm1
>
<v-toolbar
flat
color=
"white"
height=
"40"
>
<v-spacer></v-spacer>
<v-btn
small=
""
dark
color=
"deep-orange darken-4"
class=
"elevation-0"
@
click=
"$router.push('/employer')"
>
สำหรับผู้ประกอบการ
</v-btn>
<v-divider
inset
vertical
></v-divider>
<v-btn
v-if=
"!currentUser"
small
outline
color=
"deep-orange darken-4"
@
click
.
stop=
"login()"
>
<v-icon>
person
</v-icon>
เข้าสู่ระบบ
</v-btn>
<v-btn
v-if=
"!currentUser"
small
outline
color=
"deep-orange darken-4"
@
click
.
stop=
"register()"
>
<v-icon>
account_box
</v-icon>
ลงทะเบียน
</v-btn>
<v-btn
v-else
small
outline
color=
"deep-orange darken-4"
@
click=
"logout()"
>
<v-icon>
account_circle
</v-icon>
{{
currentUser
}}
</v-btn>
</v-toolbar>
</v-flex>
</v-layout>
<v-layout
row
wrap
white
>
<v-flex
xs12
sm10
offset-sm1
>
<v-toolbar
flat
color=
"white"
>
<!--v-if="page == 'app'"-->
<v-toolbar-title>
<router-link
to=
"/"
><img
src=
"../../../public/img/banner.png"
class=
"my-2"
width=
"150"
></router-link>
</v-toolbar-title>
<v-spacer></v-spacer>
<v-btn
v-if=
"!responsive"
flat
color=
"black"
class=
"mx-0 px-0"
>
<v-icon>
home
</v-icon>
<span
class=
"body-2 font-weight-bold"
>
หน้าหลัก
</span>
</v-btn>
<v-btn
v-if=
"!responsive"
flat
color=
"black"
class=
"mx-0 px-0 body-2 font-weight-bold"
>
<span
class=
"body-2 font-weight-bold"
>
เกี่ยวกับเรา
</span>
</v-btn>
<v-btn
v-if=
"!responsive"
flat
color=
"black"
class=
"mx-0 px-0 body-2 font-weight-bold"
>
<span
class=
"body-2 font-weight-bold"
>
เกี่ยวกับเรา
</span>
</v-btn>
<v-btn
v-if=
"!responsive"
flat
color=
"black"
class=
"m x-0 px-0 body-2 font-weight-bold"
>
<span
class=
"body-2 font-weight-bold"
>
เกี่ยวกับเรา
</span>
</v-btn>
<v-btn
v-if=
"!responsive"
flat
color=
"black"
class=
"mx-0 px-0 body-2 font-weight-bold"
>
<span
class=
"body-2 font-weight-bold"
>
เกี่ยวกับเรา
</span>
</v-btn>
<v-btn
v-if=
"!responsive"
flat
color=
"black"
class=
"mx-0 px-0 body-2 font-weight-bold"
>
<span
class=
"body-2 font-weight-bold"
>
เกี่ยวกับเรา
</span>
</v-btn>
<v-btn
v-if=
"!responsive"
flat
color=
"black"
class=
"mx-0 px-0 body-2 font-weight-bold"
>
<span
class=
"body-2 font-weight-bold"
>
เกี่ยวกับเรา
</span>
</v-btn>
<v-menu
left
bottom
v-if=
"responsive"
>
<template
v-slot:activator=
"
{ on }">
<v-toolbar-side-icon
v-on=
"on"
></v-toolbar-side-icon>
</
template
>
<v-list>
<v-list-tile>
<v-list-tile-title>
หน้าหลัก
</v-list-tile-title>
</v-list-tile>
<v-list-tile>
<v-list-tile-title>
หน้าหลัก
</v-list-tile-title>
</v-list-tile>
<v-list-tile
>
<v-list-tile-title>
หน้าหลัก
</v-list-tile-title>
</v-list-tile>
<v-list-tile
>
<v-list-tile-title>
หน้าหลัก
</v-list-tile-title>
</v-list-tile>
<v-list-tile
>
<v-list-tile-title>
หน้าหลัก
</v-list-tile-title>
</v-list-tile>
<v-list-tile
>
<v-list-tile-title>
หน้าหลัก
</v-list-tile-title>
</v-list-tile>
</v-list>
</v-menu>
</v-toolbar>
</v-flex>
</v-layout>
<v-toolbar
dark
color=
"primary"
>
<v-flex
sm10
offset-sm-1
>
<v-toolbar-title
class=
"white--text"
>
<router-link
to=
"/"
><img
src=
"../../../public/images/logocoop.png"
class=
"my-2"
width=
"150"
></router-link>
</v-toolbar-title>
<v-spacer></v-spacer>
<v-btn
icon
>
<v-icon>
search
</v-icon>
</v-btn>
<v-btn
icon
>
<v-icon>
apps
</v-icon>
</v-btn>
<v-btn
icon
>
<v-icon>
refresh
</v-icon>
</v-btn>
<v-btn
icon
>
<v-icon>
more_vert
</v-icon>
</v-btn>
</v-flex>
</v-toolbar>
<login
v-if=
"dialog === 'login'"
></login>
<register
v-if=
"dialog === 'register'"
></register>
</div>
</template>
<
script
>
import
Login
from
'../views/Login.vue'
;
import
Register
from
'../views/Register.vue'
;
export
default
{
props
:
[
'page'
],
components
:
{
'login'
:
Login
,
'register'
:
Register
},
data
()
{
return
{
responsive
:
false
,
dialog
:
'login'
}
},
computed
:
{
currentUser
()
{
return
this
.
$store
.
getters
.
getUser
.
name
}
},
mounted
()
{
this
.
onResponsiveInverted
()
window
.
addEventListener
(
'resize'
,
this
.
onResponsiveInverted
)
},
beforeDestroy
()
{
window
.
removeEventListener
(
'resize'
,
this
.
onResponsiveInverted
)
},
methods
:
{
onResponsiveInverted
()
{
if
(
window
.
innerWidth
<
991
)
{
this
.
responsive
=
true
}
else
{
this
.
responsive
=
false
}
},
logout
()
{
this
.
$store
.
dispatch
(
'logout'
)
},
login
()
{
this
.
dialog
=
'login'
this
.
$store
.
commit
(
'setDialog'
,
!
this
.
$store
.
getters
.
getDialog
)
},
register
()
{
this
.
dialog
=
'register'
this
.
$store
.
commit
(
'setDialog'
,
!
this
.
$store
.
getters
.
getDialog
)
}
}
}
</
script
>
.history/resources/js/components/Toolbar_20190424105215.vue
0 → 100644
View file @
b8a7da9b
<
template
>
<div>
<v-layout
row
wrap
white
>
<v-flex
xs12
sm10
offset-sm1
>
<v-toolbar
flat
color=
"white"
height=
"40"
>
<v-spacer></v-spacer>
<v-btn
small=
""
dark
color=
"deep-orange darken-4"
class=
"elevation-0"
@
click=
"$router.push('/employer')"
>
สำหรับผู้ประกอบการ
</v-btn>
<v-divider
inset
vertical
></v-divider>
<v-btn
v-if=
"!currentUser"
small
outline
color=
"deep-orange darken-4"
@
click
.
stop=
"login()"
>
<v-icon>
person
</v-icon>
เข้าสู่ระบบ
</v-btn>
<v-btn
v-if=
"!currentUser"
small
outline
color=
"deep-orange darken-4"
@
click
.
stop=
"register()"
>
<v-icon>
account_box
</v-icon>
ลงทะเบียน
</v-btn>
<v-btn
v-else
small
outline
color=
"deep-orange darken-4"
@
click=
"logout()"
>
<v-icon>
account_circle
</v-icon>
{{
currentUser
}}
</v-btn>
</v-toolbar>
</v-flex>
</v-layout>
<v-layout
row
wrap
white
>
<v-flex
xs12
sm10
offset-sm1
>
<v-toolbar
flat
color=
"white"
>
<!--v-if="page == 'app'"-->
<v-toolbar-title>
<router-link
to=
"/"
><img
src=
"../../../public/img/banner.png"
class=
"my-2"
width=
"150"
></router-link>
</v-toolbar-title>
<v-spacer></v-spacer>
<v-btn
v-if=
"!responsive"
flat
color=
"black"
class=
"mx-0 px-0"
>
<v-icon>
home
</v-icon>
<span
class=
"body-2 font-weight-bold"
>
หน้าหลัก
</span>
</v-btn>
<v-btn
v-if=
"!responsive"
flat
color=
"black"
class=
"mx-0 px-0 body-2 font-weight-bold"
>
<span
class=
"body-2 font-weight-bold"
>
เกี่ยวกับเรา
</span>
</v-btn>
<v-btn
v-if=
"!responsive"
flat
color=
"black"
class=
"mx-0 px-0 body-2 font-weight-bold"
>
<span
class=
"body-2 font-weight-bold"
>
เกี่ยวกับเรา
</span>
</v-btn>
<v-btn
v-if=
"!responsive"
flat
color=
"black"
class=
"m x-0 px-0 body-2 font-weight-bold"
>
<span
class=
"body-2 font-weight-bold"
>
เกี่ยวกับเรา
</span>
</v-btn>
<v-btn
v-if=
"!responsive"
flat
color=
"black"
class=
"mx-0 px-0 body-2 font-weight-bold"
>
<span
class=
"body-2 font-weight-bold"
>
เกี่ยวกับเรา
</span>
</v-btn>
<v-btn
v-if=
"!responsive"
flat
color=
"black"
class=
"mx-0 px-0 body-2 font-weight-bold"
>
<span
class=
"body-2 font-weight-bold"
>
เกี่ยวกับเรา
</span>
</v-btn>
<v-btn
v-if=
"!responsive"
flat
color=
"black"
class=
"mx-0 px-0 body-2 font-weight-bold"
>
<span
class=
"body-2 font-weight-bold"
>
เกี่ยวกับเรา
</span>
</v-btn>
<v-menu
left
bottom
v-if=
"responsive"
>
<template
v-slot:activator=
"
{ on }">
<v-toolbar-side-icon
v-on=
"on"
></v-toolbar-side-icon>
</
template
>
<v-list>
<v-list-tile>
<v-list-tile-title>
หน้าหลัก
</v-list-tile-title>
</v-list-tile>
<v-list-tile>
<v-list-tile-title>
หน้าหลัก
</v-list-tile-title>
</v-list-tile>
<v-list-tile
>
<v-list-tile-title>
หน้าหลัก
</v-list-tile-title>
</v-list-tile>
<v-list-tile
>
<v-list-tile-title>
หน้าหลัก
</v-list-tile-title>
</v-list-tile>
<v-list-tile
>
<v-list-tile-title>
หน้าหลัก
</v-list-tile-title>
</v-list-tile>
<v-list-tile
>
<v-list-tile-title>
หน้าหลัก
</v-list-tile-title>
</v-list-tile>
</v-list>
</v-menu>
</v-toolbar>
</v-flex>
</v-layout>
<v-toolbar
dark
color=
"primary"
>
<v-flex
sm10
offset-sm-1
>
<v-toolbar-title
class=
"white--text"
>
<router-link
to=
"/"
><img
src=
"../../../public/images/logocoop.png"
class=
"my-2"
width=
"120"
></router-link>
</v-toolbar-title>
<v-spacer></v-spacer>
<v-btn
icon
>
<v-icon>
search
</v-icon>
</v-btn>
<v-btn
icon
>
<v-icon>
apps
</v-icon>
</v-btn>
<v-btn
icon
>
<v-icon>
refresh
</v-icon>
</v-btn>
<v-btn
icon
>
<v-icon>
more_vert
</v-icon>
</v-btn>
</v-flex>
</v-toolbar>
<login
v-if=
"dialog === 'login'"
></login>
<register
v-if=
"dialog === 'register'"
></register>
</div>
</template>
<
script
>
import
Login
from
'../views/Login.vue'
;
import
Register
from
'../views/Register.vue'
;
export
default
{
props
:
[
'page'
],
components
:
{
'login'
:
Login
,
'register'
:
Register
},
data
()
{
return
{
responsive
:
false
,
dialog
:
'login'
}
},
computed
:
{
currentUser
()
{
return
this
.
$store
.
getters
.
getUser
.
name
}
},
mounted
()
{
this
.
onResponsiveInverted
()
window
.
addEventListener
(
'resize'
,
this
.
onResponsiveInverted
)
},
beforeDestroy
()
{
window
.
removeEventListener
(
'resize'
,
this
.
onResponsiveInverted
)
},
methods
:
{
onResponsiveInverted
()
{
if
(
window
.
innerWidth
<
991
)
{
this
.
responsive
=
true
}
else
{
this
.
responsive
=
false
}
},
logout
()
{
this
.
$store
.
dispatch
(
'logout'
)
},
login
()
{
this
.
dialog
=
'login'
this
.
$store
.
commit
(
'setDialog'
,
!
this
.
$store
.
getters
.
getDialog
)
},
register
()
{
this
.
dialog
=
'register'
this
.
$store
.
commit
(
'setDialog'
,
!
this
.
$store
.
getters
.
getDialog
)
}
}
}
</
script
>
.history/resources/js/components/Toolbar_20190424105249.vue
0 → 100644
View file @
b8a7da9b
<
template
>
<div>
<v-layout
row
wrap
white
>
<v-flex
xs12
sm10
offset-sm1
>
<v-toolbar
flat
color=
"white"
height=
"40"
>
<v-spacer></v-spacer>
<v-btn
small=
""
dark
color=
"deep-orange darken-4"
class=
"elevation-0"
@
click=
"$router.push('/employer')"
>
สำหรับผู้ประกอบการ
</v-btn>
<v-divider
inset
vertical
></v-divider>
<v-btn
v-if=
"!currentUser"
small
outline
color=
"deep-orange darken-4"
@
click
.
stop=
"login()"
>
<v-icon>
person
</v-icon>
เข้าสู่ระบบ
</v-btn>
<v-btn
v-if=
"!currentUser"
small
outline
color=
"deep-orange darken-4"
@
click
.
stop=
"register()"
>
<v-icon>
account_box
</v-icon>
ลงทะเบียน
</v-btn>
<v-btn
v-else
small
outline
color=
"deep-orange darken-4"
@
click=
"logout()"
>
<v-icon>
account_circle
</v-icon>
{{
currentUser
}}
</v-btn>
</v-toolbar>
</v-flex>
</v-layout>
<v-layout
row
wrap
white
>
<v-flex
xs12
sm10
offset-sm1
>
<v-toolbar
flat
color=
"white"
>
<!--v-if="page == 'app'"-->
<v-toolbar-title>
<router-link
to=
"/"
><img
src=
"../../../public/img/banner.png"
class=
"my-2"
width=
"150"
></router-link>
</v-toolbar-title>
<v-spacer></v-spacer>
<v-btn
v-if=
"!responsive"
flat
color=
"black"
class=
"mx-0 px-0"
>
<v-icon>
home
</v-icon>
<span
class=
"body-2 font-weight-bold"
>
หน้าหลัก
</span>
</v-btn>
<v-btn
v-if=
"!responsive"
flat
color=
"black"
class=
"mx-0 px-0 body-2 font-weight-bold"
>
<span
class=
"body-2 font-weight-bold"
>
เกี่ยวกับเรา
</span>
</v-btn>
<v-btn
v-if=
"!responsive"
flat
color=
"black"
class=
"mx-0 px-0 body-2 font-weight-bold"
>
<span
class=
"body-2 font-weight-bold"
>
เกี่ยวกับเรา
</span>
</v-btn>
<v-btn
v-if=
"!responsive"
flat
color=
"black"
class=
"m x-0 px-0 body-2 font-weight-bold"
>
<span
class=
"body-2 font-weight-bold"
>
เกี่ยวกับเรา
</span>
</v-btn>
<v-btn
v-if=
"!responsive"
flat
color=
"black"
class=
"mx-0 px-0 body-2 font-weight-bold"
>
<span
class=
"body-2 font-weight-bold"
>
เกี่ยวกับเรา
</span>
</v-btn>
<v-btn
v-if=
"!responsive"
flat
color=
"black"
class=
"mx-0 px-0 body-2 font-weight-bold"
>
<span
class=
"body-2 font-weight-bold"
>
เกี่ยวกับเรา
</span>
</v-btn>
<v-btn
v-if=
"!responsive"
flat
color=
"black"
class=
"mx-0 px-0 body-2 font-weight-bold"
>
<span
class=
"body-2 font-weight-bold"
>
เกี่ยวกับเรา
</span>
</v-btn>
<v-menu
left
bottom
v-if=
"responsive"
>
<template
v-slot:activator=
"
{ on }">
<v-toolbar-side-icon
v-on=
"on"
></v-toolbar-side-icon>
</
template
>
<v-list>
<v-list-tile>
<v-list-tile-title>
หน้าหลัก
</v-list-tile-title>
</v-list-tile>
<v-list-tile>
<v-list-tile-title>
หน้าหลัก
</v-list-tile-title>
</v-list-tile>
<v-list-tile
>
<v-list-tile-title>
หน้าหลัก
</v-list-tile-title>
</v-list-tile>
<v-list-tile
>
<v-list-tile-title>
หน้าหลัก
</v-list-tile-title>
</v-list-tile>
<v-list-tile
>
<v-list-tile-title>
หน้าหลัก
</v-list-tile-title>
</v-list-tile>
<v-list-tile
>
<v-list-tile-title>
หน้าหลัก
</v-list-tile-title>
</v-list-tile>
</v-list>
</v-menu>
</v-toolbar>
</v-flex>
</v-layout>
<v-toolbar
dark
color=
"primary"
>
<v-toolbar-title
class=
"white--text"
>
<router-link
to=
"/"
><img
src=
"../../../public/images/logocoop.png"
class=
"my-2"
width=
"120"
></router-link>
</v-toolbar-title>
<v-spacer></v-spacer>
<v-btn
icon
>
<v-icon>
search
</v-icon>
</v-btn>
<v-btn
icon
>
<v-icon>
apps
</v-icon>
</v-btn>
<v-btn
icon
>
<v-icon>
refresh
</v-icon>
</v-btn>
<v-btn
icon
>
<v-icon>
more_vert
</v-icon>
</v-btn>
</v-toolbar>
<login
v-if=
"dialog === 'login'"
></login>
<register
v-if=
"dialog === 'register'"
></register>
</div>
</template>
<
script
>
import
Login
from
'../views/Login.vue'
;
import
Register
from
'../views/Register.vue'
;
export
default
{
props
:
[
'page'
],
components
:
{
'login'
:
Login
,
'register'
:
Register
},
data
()
{
return
{
responsive
:
false
,
dialog
:
'login'
}
},
computed
:
{
currentUser
()
{
return
this
.
$store
.
getters
.
getUser
.
name
}
},
mounted
()
{
this
.
onResponsiveInverted
()
window
.
addEventListener
(
'resize'
,
this
.
onResponsiveInverted
)
},
beforeDestroy
()
{
window
.
removeEventListener
(
'resize'
,
this
.
onResponsiveInverted
)
},
methods
:
{
onResponsiveInverted
()
{
if
(
window
.
innerWidth
<
991
)
{
this
.
responsive
=
true
}
else
{
this
.
responsive
=
false
}
},
logout
()
{
this
.
$store
.
dispatch
(
'logout'
)
},
login
()
{
this
.
dialog
=
'login'
this
.
$store
.
commit
(
'setDialog'
,
!
this
.
$store
.
getters
.
getDialog
)
},
register
()
{
this
.
dialog
=
'register'
this
.
$store
.
commit
(
'setDialog'
,
!
this
.
$store
.
getters
.
getDialog
)
}
}
}
</
script
>
.history/resources/js/components/Toolbar_20190424105329.vue
0 → 100644
View file @
b8a7da9b
<
template
>
<div>
<v-layout
row
wrap
white
>
<v-flex
xs12
sm10
offset-sm1
>
<v-toolbar
flat
color=
"white"
height=
"40"
>
<v-spacer></v-spacer>
<v-btn
small=
""
dark
color=
"deep-orange darken-4"
class=
"elevation-0"
@
click=
"$router.push('/employer')"
>
สำหรับผู้ประกอบการ
</v-btn>
<v-divider
inset
vertical
></v-divider>
<v-btn
v-if=
"!currentUser"
small
outline
color=
"deep-orange darken-4"
@
click
.
stop=
"login()"
>
<v-icon>
person
</v-icon>
เข้าสู่ระบบ
</v-btn>
<v-btn
v-if=
"!currentUser"
small
outline
color=
"deep-orange darken-4"
@
click
.
stop=
"register()"
>
<v-icon>
account_box
</v-icon>
ลงทะเบียน
</v-btn>
<v-btn
v-else
small
outline
color=
"deep-orange darken-4"
@
click=
"logout()"
>
<v-icon>
account_circle
</v-icon>
{{
currentUser
}}
</v-btn>
</v-toolbar>
</v-flex>
</v-layout>
<v-layout
row
wrap
white
>
<v-flex
xs12
sm10
offset-sm1
>
<v-toolbar
flat
color=
"white"
>
<!--v-if="page == 'app'"-->
<v-toolbar-title>
<router-link
to=
"/"
><img
src=
"../../../public/images/logocoop.png"
class=
"my-2"
width=
"150"
></router-link>
</v-toolbar-title>
<v-spacer></v-spacer>
<v-btn
v-if=
"!responsive"
flat
color=
"black"
class=
"mx-0 px-0"
>
<v-icon>
home
</v-icon>
<span
class=
"body-2 font-weight-bold"
>
หน้าหลัก
</span>
</v-btn>
<v-btn
v-if=
"!responsive"
flat
color=
"black"
class=
"mx-0 px-0 body-2 font-weight-bold"
>
<span
class=
"body-2 font-weight-bold"
>
เกี่ยวกับเรา
</span>
</v-btn>
<v-btn
v-if=
"!responsive"
flat
color=
"black"
class=
"mx-0 px-0 body-2 font-weight-bold"
>
<span
class=
"body-2 font-weight-bold"
>
เกี่ยวกับเรา
</span>
</v-btn>
<v-btn
v-if=
"!responsive"
flat
color=
"black"
class=
"m x-0 px-0 body-2 font-weight-bold"
>
<span
class=
"body-2 font-weight-bold"
>
เกี่ยวกับเรา
</span>
</v-btn>
<v-btn
v-if=
"!responsive"
flat
color=
"black"
class=
"mx-0 px-0 body-2 font-weight-bold"
>
<span
class=
"body-2 font-weight-bold"
>
เกี่ยวกับเรา
</span>
</v-btn>
<v-btn
v-if=
"!responsive"
flat
color=
"black"
class=
"mx-0 px-0 body-2 font-weight-bold"
>
<span
class=
"body-2 font-weight-bold"
>
เกี่ยวกับเรา
</span>
</v-btn>
<v-btn
v-if=
"!responsive"
flat
color=
"black"
class=
"mx-0 px-0 body-2 font-weight-bold"
>
<span
class=
"body-2 font-weight-bold"
>
เกี่ยวกับเรา
</span>
</v-btn>
<v-menu
left
bottom
v-if=
"responsive"
>
<template
v-slot:activator=
"
{ on }">
<v-toolbar-side-icon
v-on=
"on"
></v-toolbar-side-icon>
</
template
>
<v-list>
<v-list-tile>
<v-list-tile-title>
หน้าหลัก
</v-list-tile-title>
</v-list-tile>
<v-list-tile>
<v-list-tile-title>
หน้าหลัก
</v-list-tile-title>
</v-list-tile>
<v-list-tile
>
<v-list-tile-title>
หน้าหลัก
</v-list-tile-title>
</v-list-tile>
<v-list-tile
>
<v-list-tile-title>
หน้าหลัก
</v-list-tile-title>
</v-list-tile>
<v-list-tile
>
<v-list-tile-title>
หน้าหลัก
</v-list-tile-title>
</v-list-tile>
<v-list-tile
>
<v-list-tile-title>
หน้าหลัก
</v-list-tile-title>
</v-list-tile>
</v-list>
</v-menu>
</v-toolbar>
</v-flex>
</v-layout>
<v-toolbar
dark
color=
"primary"
>
<v-toolbar-title
class=
"white--text"
>
<router-link
to=
"/"
><img
src=
"../../../public/images/logocoop.png"
class=
"my-2"
width=
"120"
></router-link>
</v-toolbar-title>
<v-spacer></v-spacer>
<v-btn
icon
>
<v-icon>
search
</v-icon>
</v-btn>
<v-btn
icon
>
<v-icon>
apps
</v-icon>
</v-btn>
<v-btn
icon
>
<v-icon>
refresh
</v-icon>
</v-btn>
<v-btn
icon
>
<v-icon>
more_vert
</v-icon>
</v-btn>
</v-toolbar>
<login
v-if=
"dialog === 'login'"
></login>
<register
v-if=
"dialog === 'register'"
></register>
</div>
</template>
<
script
>
import
Login
from
'../views/Login.vue'
;
import
Register
from
'../views/Register.vue'
;
export
default
{
props
:
[
'page'
],
components
:
{
'login'
:
Login
,
'register'
:
Register
},
data
()
{
return
{
responsive
:
false
,
dialog
:
'login'
}
},
computed
:
{
currentUser
()
{
return
this
.
$store
.
getters
.
getUser
.
name
}
},
mounted
()
{
this
.
onResponsiveInverted
()
window
.
addEventListener
(
'resize'
,
this
.
onResponsiveInverted
)
},
beforeDestroy
()
{
window
.
removeEventListener
(
'resize'
,
this
.
onResponsiveInverted
)
},
methods
:
{
onResponsiveInverted
()
{
if
(
window
.
innerWidth
<
991
)
{
this
.
responsive
=
true
}
else
{
this
.
responsive
=
false
}
},
logout
()
{
this
.
$store
.
dispatch
(
'logout'
)
},
login
()
{
this
.
dialog
=
'login'
this
.
$store
.
commit
(
'setDialog'
,
!
this
.
$store
.
getters
.
getDialog
)
},
register
()
{
this
.
dialog
=
'register'
this
.
$store
.
commit
(
'setDialog'
,
!
this
.
$store
.
getters
.
getDialog
)
}
}
}
</
script
>
.history/resources/js/components/Toolbar_20190424105357.vue
0 → 100644
View file @
b8a7da9b
<
template
>
<div>
<v-layout
row
wrap
white
>
<v-flex
xs12
sm10
offset-sm1
>
<v-toolbar
flat
color=
"white"
height=
"40"
>
<v-spacer></v-spacer>
<v-btn
small=
""
dark
color=
"deep-orange darken-4"
class=
"elevation-0"
@
click=
"$router.push('/employer')"
>
สำหรับผู้ประกอบการ
</v-btn>
<v-divider
inset
vertical
></v-divider>
<v-btn
v-if=
"!currentUser"
small
outline
color=
"deep-orange darken-4"
@
click
.
stop=
"login()"
>
<v-icon>
person
</v-icon>
เข้าสู่ระบบ
</v-btn>
<v-btn
v-if=
"!currentUser"
small
outline
color=
"deep-orange darken-4"
@
click
.
stop=
"register()"
>
<v-icon>
account_box
</v-icon>
ลงทะเบียน
</v-btn>
<v-btn
v-else
small
outline
color=
"deep-orange darken-4"
@
click=
"logout()"
>
<v-icon>
account_circle
</v-icon>
{{
currentUser
}}
</v-btn>
</v-toolbar>
</v-flex>
</v-layout>
<v-layout
row
wrap
white
>
<v-flex
xs12
sm10
offset-sm1
>
<v-toolbar
flat
color=
"white"
>
<!--v-if="page == 'app'"-->
<v-toolbar-title>
<router-link
to=
"/"
><img
src=
"../../../public/images/logocoop.png"
class=
"my-2"
width=
"150"
></router-link>
</v-toolbar-title>
<v-spacer></v-spacer>
<v-btn
v-if=
"!responsive"
flat
color=
"black"
class=
"mx-0 px-0"
>
<v-icon>
home
</v-icon>
<span
class=
"body-2 font-weight-bold"
>
หน้าหลัก
</span>
</v-btn>
<v-btn
v-if=
"!responsive"
flat
color=
"black"
class=
"mx-0 px-0 body-2 font-weight-bold"
>
<span
class=
"body-2 font-weight-bold"
>
เกี่ยวกับเรา
</span>
</v-btn>
<v-btn
v-if=
"!responsive"
flat
color=
"black"
class=
"mx-0 px-0 body-2 font-weight-bold"
>
<span
class=
"body-2 font-weight-bold"
>
เกี่ยวกับเรา
</span>
</v-btn>
<v-btn
v-if=
"!responsive"
flat
color=
"black"
class=
"m x-0 px-0 body-2 font-weight-bold"
>
<span
class=
"body-2 font-weight-bold"
>
เกี่ยวกับเรา
</span>
</v-btn>
<v-btn
v-if=
"!responsive"
flat
color=
"black"
class=
"mx-0 px-0 body-2 font-weight-bold"
>
<span
class=
"body-2 font-weight-bold"
>
เกี่ยวกับเรา
</span>
</v-btn>
<v-btn
v-if=
"!responsive"
flat
color=
"black"
class=
"mx-0 px-0 body-2 font-weight-bold"
>
<span
class=
"body-2 font-weight-bold"
>
เกี่ยวกับเรา
</span>
</v-btn>
<v-btn
v-if=
"!responsive"
flat
color=
"black"
class=
"mx-0 px-0 body-2 font-weight-bold"
>
<span
class=
"body-2 font-weight-bold"
>
เกี่ยวกับเรา
</span>
</v-btn>
<v-menu
left
bottom
v-if=
"responsive"
>
<template
v-slot:activator=
"
{ on }">
<v-toolbar-side-icon
v-on=
"on"
></v-toolbar-side-icon>
</
template
>
<v-list>
<v-list-tile>
<v-list-tile-title>
หน้าหลัก
</v-list-tile-title>
</v-list-tile>
<v-list-tile>
<v-list-tile-title>
หน้าหลัก
</v-list-tile-title>
</v-list-tile>
<v-list-tile
>
<v-list-tile-title>
หน้าหลัก
</v-list-tile-title>
</v-list-tile>
<v-list-tile
>
<v-list-tile-title>
หน้าหลัก
</v-list-tile-title>
</v-list-tile>
<v-list-tile
>
<v-list-tile-title>
หน้าหลัก
</v-list-tile-title>
</v-list-tile>
<v-list-tile
>
<v-list-tile-title>
หน้าหลัก
</v-list-tile-title>
</v-list-tile>
</v-list>
</v-menu>
</v-toolbar>
</v-flex>
</v-layout>
<login
v-if=
"dialog === 'login'"
></login>
<register
v-if=
"dialog === 'register'"
></register>
</div>
</template>
<
script
>
import
Login
from
'../views/Login.vue'
;
import
Register
from
'../views/Register.vue'
;
export
default
{
props
:
[
'page'
],
components
:
{
'login'
:
Login
,
'register'
:
Register
},
data
()
{
return
{
responsive
:
false
,
dialog
:
'login'
}
},
computed
:
{
currentUser
()
{
return
this
.
$store
.
getters
.
getUser
.
name
}
},
mounted
()
{
this
.
onResponsiveInverted
()
window
.
addEventListener
(
'resize'
,
this
.
onResponsiveInverted
)
},
beforeDestroy
()
{
window
.
removeEventListener
(
'resize'
,
this
.
onResponsiveInverted
)
},
methods
:
{
onResponsiveInverted
()
{
if
(
window
.
innerWidth
<
991
)
{
this
.
responsive
=
true
}
else
{
this
.
responsive
=
false
}
},
logout
()
{
this
.
$store
.
dispatch
(
'logout'
)
},
login
()
{
this
.
dialog
=
'login'
this
.
$store
.
commit
(
'setDialog'
,
!
this
.
$store
.
getters
.
getDialog
)
},
register
()
{
this
.
dialog
=
'register'
this
.
$store
.
commit
(
'setDialog'
,
!
this
.
$store
.
getters
.
getDialog
)
}
}
}
</
script
>
.history/resources/js/components/Toolbar_20190424110801.vue
0 → 100644
View file @
b8a7da9b
<
template
>
<div>
<v-layout
row
wrap
white
>
<v-flex
xs12
sm10
offset-sm1
>
<v-toolbar
flat
color=
"white"
height=
"40"
>
<v-spacer></v-spacer>
<v-btn
small=
""
dark
color=
"deep-orange darken-4"
class=
"elevation-0"
@
click=
"$router.push('/employer')"
>
สำหรับผู้ประกอบการ
</v-btn>
<v-divider
inset
vertical
></v-divider>
<v-btn
v-if=
"!currentUser"
small
outline
color=
"deep-orange darken-4"
@
click
.
stop=
"login()"
>
<v-icon>
person
</v-icon>
เข้าสู่ระบบ
</v-btn>
<v-btn
v-if=
"!currentUser"
small
outline
color=
"deep-orange darken-4"
@
click
.
stop=
"register()"
>
<v-icon>
account_box
</v-icon>
ลงทะเบียน
</v-btn>
<v-btn
v-else
small
outline
color=
"deep-orange darken-4"
@
click=
"logout()"
>
<v-icon>
account_circle
</v-icon>
{{
currentUser
}}
</v-btn>
</v-toolbar>
</v-flex>
</v-layout>
<v-layout
row
wrap
indigo
darken-4
>
<v-flex
xs12
sm10
offset-sm1
>
<v-toolbar
flat
color=
"indigo darken-4"
>
<!--v-if="page == 'app'"-->
<v-toolbar-title>
<router-link
to=
"/"
><img
src=
"../../../public/images/logocoop.png"
class=
"my-2"
width=
"150"
></router-link>
</v-toolbar-title>
<v-spacer></v-spacer>
<v-btn
v-if=
"!responsive"
flat
color=
"black"
class=
"mx-0 px-0"
>
<v-icon>
home
</v-icon>
<span
class=
"body-2 font-weight-bold"
>
หน้าหลัก
</span>
</v-btn>
<v-btn
v-if=
"!responsive"
flat
color=
"black"
class=
"mx-0 px-0 body-2 font-weight-bold"
>
<span
class=
"body-2 font-weight-bold"
>
เกี่ยวกับเรา
</span>
</v-btn>
<v-btn
v-if=
"!responsive"
flat
color=
"black"
class=
"mx-0 px-0 body-2 font-weight-bold"
>
<span
class=
"body-2 font-weight-bold"
>
เกี่ยวกับเรา
</span>
</v-btn>
<v-btn
v-if=
"!responsive"
flat
color=
"black"
class=
"m x-0 px-0 body-2 font-weight-bold"
>
<span
class=
"body-2 font-weight-bold"
>
เกี่ยวกับเรา
</span>
</v-btn>
<v-btn
v-if=
"!responsive"
flat
color=
"black"
class=
"mx-0 px-0 body-2 font-weight-bold"
>
<span
class=
"body-2 font-weight-bold"
>
เกี่ยวกับเรา
</span>
</v-btn>
<v-btn
v-if=
"!responsive"
flat
color=
"black"
class=
"mx-0 px-0 body-2 font-weight-bold"
>
<span
class=
"body-2 font-weight-bold"
>
เกี่ยวกับเรา
</span>
</v-btn>
<v-btn
v-if=
"!responsive"
flat
color=
"black"
class=
"mx-0 px-0 body-2 font-weight-bold"
>
<span
class=
"body-2 font-weight-bold"
>
เกี่ยวกับเรา
</span>
</v-btn>
<v-menu
left
bottom
v-if=
"responsive"
>
<template
v-slot:activator=
"
{ on }">
<v-toolbar-side-icon
v-on=
"on"
></v-toolbar-side-icon>
</
template
>
<v-list>
<v-list-tile>
<v-list-tile-title>
หน้าหลัก
</v-list-tile-title>
</v-list-tile>
<v-list-tile>
<v-list-tile-title>
หน้าหลัก
</v-list-tile-title>
</v-list-tile>
<v-list-tile
>
<v-list-tile-title>
หน้าหลัก
</v-list-tile-title>
</v-list-tile>
<v-list-tile
>
<v-list-tile-title>
หน้าหลัก
</v-list-tile-title>
</v-list-tile>
<v-list-tile
>
<v-list-tile-title>
หน้าหลัก
</v-list-tile-title>
</v-list-tile>
<v-list-tile
>
<v-list-tile-title>
หน้าหลัก
</v-list-tile-title>
</v-list-tile>
</v-list>
</v-menu>
</v-toolbar>
</v-flex>
</v-layout>
<login
v-if=
"dialog === 'login'"
></login>
<register
v-if=
"dialog === 'register'"
></register>
</div>
</template>
<
script
>
import
Login
from
'../views/Login.vue'
;
import
Register
from
'../views/Register.vue'
;
export
default
{
props
:
[
'page'
],
components
:
{
'login'
:
Login
,
'register'
:
Register
},
data
()
{
return
{
responsive
:
false
,
dialog
:
'login'
}
},
computed
:
{
currentUser
()
{
return
this
.
$store
.
getters
.
getUser
.
name
}
},
mounted
()
{
this
.
onResponsiveInverted
()
window
.
addEventListener
(
'resize'
,
this
.
onResponsiveInverted
)
},
beforeDestroy
()
{
window
.
removeEventListener
(
'resize'
,
this
.
onResponsiveInverted
)
},
methods
:
{
onResponsiveInverted
()
{
if
(
window
.
innerWidth
<
991
)
{
this
.
responsive
=
true
}
else
{
this
.
responsive
=
false
}
},
logout
()
{
this
.
$store
.
dispatch
(
'logout'
)
},
login
()
{
this
.
dialog
=
'login'
this
.
$store
.
commit
(
'setDialog'
,
!
this
.
$store
.
getters
.
getDialog
)
},
register
()
{
this
.
dialog
=
'register'
this
.
$store
.
commit
(
'setDialog'
,
!
this
.
$store
.
getters
.
getDialog
)
}
}
}
</
script
>
.history/resources/js/components/Toolbar_20190424110910.vue
0 → 100644
View file @
b8a7da9b
<
template
>
<div>
<v-layout
row
wrap
white
>
<v-flex
xs12
sm10
offset-sm1
>
<v-toolbar
flat
color=
"white"
height=
"40"
>
<v-spacer></v-spacer>
<v-btn
small=
""
dark
color=
"deep-orange darken-4"
class=
"elevation-0"
@
click=
"$router.push('/employer')"
>
สำหรับผู้ประกอบการ
</v-btn>
<v-divider
inset
vertical
></v-divider>
<v-btn
v-if=
"!currentUser"
small
outline
color=
"deep-orange darken-4"
@
click
.
stop=
"login()"
>
<v-icon>
person
</v-icon>
เข้าสู่ระบบ
</v-btn>
<v-btn
v-if=
"!currentUser"
small
outline
color=
"deep-orange darken-4"
@
click
.
stop=
"register()"
>
<v-icon>
account_box
</v-icon>
ลงทะเบียน
</v-btn>
<v-btn
v-else
small
outline
color=
"deep-orange darken-4"
@
click=
"logout()"
>
<v-icon>
account_circle
</v-icon>
{{
currentUser
}}
</v-btn>
</v-toolbar>
</v-flex>
</v-layout>
<v-layout
row
wrap
indigo
darken-4
>
<v-flex
xs12
sm10
offset-sm1
>
<v-toolbar
flat
color=
"indigo darken-4"
>
<!--v-if="page == 'app'"-->
<v-toolbar-title>
<router-link
to=
"/"
><img
src=
"../../../public/images/logocoop.png"
class=
"my-3"
width=
"150"
></router-link>
</v-toolbar-title>
<v-spacer></v-spacer>
<v-btn
v-if=
"!responsive"
flat
color=
"black"
class=
"mx-0 px-0"
>
<v-icon>
home
</v-icon>
<span
class=
"body-2 font-weight-bold"
>
หน้าหลัก
</span>
</v-btn>
<v-btn
v-if=
"!responsive"
flat
color=
"black"
class=
"mx-0 px-0 body-2 font-weight-bold"
>
<span
class=
"body-2 font-weight-bold"
>
เกี่ยวกับเรา
</span>
</v-btn>
<v-btn
v-if=
"!responsive"
flat
color=
"black"
class=
"mx-0 px-0 body-2 font-weight-bold"
>
<span
class=
"body-2 font-weight-bold"
>
เกี่ยวกับเรา
</span>
</v-btn>
<v-btn
v-if=
"!responsive"
flat
color=
"black"
class=
"m x-0 px-0 body-2 font-weight-bold"
>
<span
class=
"body-2 font-weight-bold"
>
เกี่ยวกับเรา
</span>
</v-btn>
<v-btn
v-if=
"!responsive"
flat
color=
"black"
class=
"mx-0 px-0 body-2 font-weight-bold"
>
<span
class=
"body-2 font-weight-bold"
>
เกี่ยวกับเรา
</span>
</v-btn>
<v-btn
v-if=
"!responsive"
flat
color=
"black"
class=
"mx-0 px-0 body-2 font-weight-bold"
>
<span
class=
"body-2 font-weight-bold"
>
เกี่ยวกับเรา
</span>
</v-btn>
<v-btn
v-if=
"!responsive"
flat
color=
"black"
class=
"mx-0 px-0 body-2 font-weight-bold"
>
<span
class=
"body-2 font-weight-bold"
>
เกี่ยวกับเรา
</span>
</v-btn>
<v-menu
left
bottom
v-if=
"responsive"
>
<template
v-slot:activator=
"
{ on }">
<v-toolbar-side-icon
v-on=
"on"
></v-toolbar-side-icon>
</
template
>
<v-list>
<v-list-tile>
<v-list-tile-title>
หน้าหลัก
</v-list-tile-title>
</v-list-tile>
<v-list-tile>
<v-list-tile-title>
หน้าหลัก
</v-list-tile-title>
</v-list-tile>
<v-list-tile
>
<v-list-tile-title>
หน้าหลัก
</v-list-tile-title>
</v-list-tile>
<v-list-tile
>
<v-list-tile-title>
หน้าหลัก
</v-list-tile-title>
</v-list-tile>
<v-list-tile
>
<v-list-tile-title>
หน้าหลัก
</v-list-tile-title>
</v-list-tile>
<v-list-tile
>
<v-list-tile-title>
หน้าหลัก
</v-list-tile-title>
</v-list-tile>
</v-list>
</v-menu>
</v-toolbar>
</v-flex>
</v-layout>
<login
v-if=
"dialog === 'login'"
></login>
<register
v-if=
"dialog === 'register'"
></register>
</div>
</template>
<
script
>
import
Login
from
'../views/Login.vue'
;
import
Register
from
'../views/Register.vue'
;
export
default
{
props
:
[
'page'
],
components
:
{
'login'
:
Login
,
'register'
:
Register
},
data
()
{
return
{
responsive
:
false
,
dialog
:
'login'
}
},
computed
:
{
currentUser
()
{
return
this
.
$store
.
getters
.
getUser
.
name
}
},
mounted
()
{
this
.
onResponsiveInverted
()
window
.
addEventListener
(
'resize'
,
this
.
onResponsiveInverted
)
},
beforeDestroy
()
{
window
.
removeEventListener
(
'resize'
,
this
.
onResponsiveInverted
)
},
methods
:
{
onResponsiveInverted
()
{
if
(
window
.
innerWidth
<
991
)
{
this
.
responsive
=
true
}
else
{
this
.
responsive
=
false
}
},
logout
()
{
this
.
$store
.
dispatch
(
'logout'
)
},
login
()
{
this
.
dialog
=
'login'
this
.
$store
.
commit
(
'setDialog'
,
!
this
.
$store
.
getters
.
getDialog
)
},
register
()
{
this
.
dialog
=
'register'
this
.
$store
.
commit
(
'setDialog'
,
!
this
.
$store
.
getters
.
getDialog
)
}
}
}
</
script
>
.history/resources/js/components/Toolbar_20190424110954.vue
0 → 100644
View file @
b8a7da9b
<
template
>
<div>
<v-layout
row
wrap
white
>
<v-flex
xs12
sm10
offset-sm1
>
<v-toolbar
flat
color=
"white"
height=
"40"
>
<v-spacer></v-spacer>
<v-btn
small=
""
dark
color=
"deep-orange darken-4"
class=
"elevation-0"
@
click=
"$router.push('/employer')"
>
สำหรับผู้ประกอบการ
</v-btn>
<v-divider
inset
vertical
></v-divider>
<v-btn
v-if=
"!currentUser"
small
outline
color=
"deep-orange darken-4"
@
click
.
stop=
"login()"
>
<v-icon>
person
</v-icon>
เข้าสู่ระบบ
</v-btn>
<v-btn
v-if=
"!currentUser"
small
outline
color=
"deep-orange darken-4"
@
click
.
stop=
"register()"
>
<v-icon>
account_box
</v-icon>
ลงทะเบียน
</v-btn>
<v-btn
v-else
small
outline
color=
"deep-orange darken-4"
@
click=
"logout()"
>
<v-icon>
account_circle
</v-icon>
{{
currentUser
}}
</v-btn>
</v-toolbar>
</v-flex>
</v-layout>
<v-layout
row
wrap
indigo
darken-4
>
<v-flex
xs12
sm10
offset-sm1
>
<v-toolbar
flat
color=
"indigo darken-4"
>
<!--v-if="page == 'app'"-->
<v-toolbar-title>
<router-link
to=
"/"
><img
src=
"../../../public/images/logocoop.png"
class=
"my-3"
width=
"150"
></router-link>
</v-toolbar-title>
<v-spacer></v-spacer>
<v-btn
v-if=
"!responsive"
flat
color=
"black"
class=
"mx-0 px-0"
>
<v-icon>
home
</v-icon>
</v-btn>
<v-btn
v-if=
"!responsive"
flat
color=
"black"
class=
"mx-0 px-0 body-2 font-weight-bold"
>
<span
class=
"body-2 font-weight-bold"
>
เกี่ยวกับเรา
</span>
</v-btn>
<v-btn
v-if=
"!responsive"
flat
color=
"black"
class=
"mx-0 px-0 body-2 font-weight-bold"
>
<span
class=
"body-2 font-weight-bold"
>
เกี่ยวกับเรา
</span>
</v-btn>
<v-btn
v-if=
"!responsive"
flat
color=
"black"
class=
"m x-0 px-0 body-2 font-weight-bold"
>
<span
class=
"body-2 font-weight-bold"
>
เกี่ยวกับเรา
</span>
</v-btn>
<v-btn
v-if=
"!responsive"
flat
color=
"black"
class=
"mx-0 px-0 body-2 font-weight-bold"
>
<span
class=
"body-2 font-weight-bold"
>
เกี่ยวกับเรา
</span>
</v-btn>
<v-btn
v-if=
"!responsive"
flat
color=
"black"
class=
"mx-0 px-0 body-2 font-weight-bold"
>
<span
class=
"body-2 font-weight-bold"
>
เกี่ยวกับเรา
</span>
</v-btn>
<v-btn
v-if=
"!responsive"
flat
color=
"black"
class=
"mx-0 px-0 body-2 font-weight-bold"
>
<span
class=
"body-2 font-weight-bold"
>
เกี่ยวกับเรา
</span>
</v-btn>
<v-menu
left
bottom
v-if=
"responsive"
>
<template
v-slot:activator=
"
{ on }">
<v-toolbar-side-icon
v-on=
"on"
></v-toolbar-side-icon>
</
template
>
<v-list>
<v-list-tile>
<v-list-tile-title>
หน้าหลัก
</v-list-tile-title>
</v-list-tile>
<v-list-tile>
<v-list-tile-title>
หน้าหลัก
</v-list-tile-title>
</v-list-tile>
<v-list-tile
>
<v-list-tile-title>
หน้าหลัก
</v-list-tile-title>
</v-list-tile>
<v-list-tile
>
<v-list-tile-title>
หน้าหลัก
</v-list-tile-title>
</v-list-tile>
<v-list-tile
>
<v-list-tile-title>
หน้าหลัก
</v-list-tile-title>
</v-list-tile>
<v-list-tile
>
<v-list-tile-title>
หน้าหลัก
</v-list-tile-title>
</v-list-tile>
</v-list>
</v-menu>
</v-toolbar>
</v-flex>
</v-layout>
<login
v-if=
"dialog === 'login'"
></login>
<register
v-if=
"dialog === 'register'"
></register>
</div>
</template>
<
script
>
import
Login
from
'../views/Login.vue'
;
import
Register
from
'../views/Register.vue'
;
export
default
{
props
:
[
'page'
],
components
:
{
'login'
:
Login
,
'register'
:
Register
},
data
()
{
return
{
responsive
:
false
,
dialog
:
'login'
}
},
computed
:
{
currentUser
()
{
return
this
.
$store
.
getters
.
getUser
.
name
}
},
mounted
()
{
this
.
onResponsiveInverted
()
window
.
addEventListener
(
'resize'
,
this
.
onResponsiveInverted
)
},
beforeDestroy
()
{
window
.
removeEventListener
(
'resize'
,
this
.
onResponsiveInverted
)
},
methods
:
{
onResponsiveInverted
()
{
if
(
window
.
innerWidth
<
991
)
{
this
.
responsive
=
true
}
else
{
this
.
responsive
=
false
}
},
logout
()
{
this
.
$store
.
dispatch
(
'logout'
)
},
login
()
{
this
.
dialog
=
'login'
this
.
$store
.
commit
(
'setDialog'
,
!
this
.
$store
.
getters
.
getDialog
)
},
register
()
{
this
.
dialog
=
'register'
this
.
$store
.
commit
(
'setDialog'
,
!
this
.
$store
.
getters
.
getDialog
)
}
}
}
</
script
>
.history/resources/js/components/Toolbar_20190424111033.vue
0 → 100644
View file @
b8a7da9b
<
template
>
<div>
<v-layout
row
wrap
white
>
<v-flex
xs12
sm10
offset-sm1
>
<v-toolbar
flat
color=
"white"
height=
"40"
>
<v-spacer></v-spacer>
<v-btn
small=
""
dark
color=
"deep-orange darken-4"
class=
"elevation-0"
@
click=
"$router.push('/employer')"
>
สำหรับผู้ประกอบการ
</v-btn>
<v-divider
inset
vertical
></v-divider>
<v-btn
v-if=
"!currentUser"
small
outline
color=
"deep-orange darken-4"
@
click
.
stop=
"login()"
>
<v-icon>
person
</v-icon>
เข้าสู่ระบบ
</v-btn>
<v-btn
v-if=
"!currentUser"
small
outline
color=
"deep-orange darken-4"
@
click
.
stop=
"register()"
>
<v-icon>
account_box
</v-icon>
ลงทะเบียน
</v-btn>
<v-btn
v-else
small
outline
color=
"deep-orange darken-4"
@
click=
"logout()"
>
<v-icon>
account_circle
</v-icon>
{{
currentUser
}}
</v-btn>
</v-toolbar>
</v-flex>
</v-layout>
<v-layout
row
wrap
indigo
darken-4
>
<v-flex
xs12
sm10
offset-sm1
>
<v-toolbar
flat
color=
"indigo darken-4"
>
<!--v-if="page == 'app'"-->
<v-toolbar-title
class=
"py-2"
>
<router-link
to=
"/"
><img
src=
"../../../public/images/logocoop.png"
class=
"my-3"
width=
"150"
></router-link>
</v-toolbar-title>
<v-spacer></v-spacer>
<v-btn
v-if=
"!responsive"
flat
color=
"black"
class=
"mx-0 px-0"
>
<v-icon>
home
</v-icon>
</v-btn>
<v-btn
v-if=
"!responsive"
flat
color=
"black"
class=
"mx-0 px-0 body-2 font-weight-bold"
>
<span
class=
"body-2 font-weight-bold"
>
เกี่ยวกับเรา
</span>
</v-btn>
<v-btn
v-if=
"!responsive"
flat
color=
"black"
class=
"mx-0 px-0 body-2 font-weight-bold"
>
<span
class=
"body-2 font-weight-bold"
>
เกี่ยวกับเรา
</span>
</v-btn>
<v-btn
v-if=
"!responsive"
flat
color=
"black"
class=
"m x-0 px-0 body-2 font-weight-bold"
>
<span
class=
"body-2 font-weight-bold"
>
เกี่ยวกับเรา
</span>
</v-btn>
<v-btn
v-if=
"!responsive"
flat
color=
"black"
class=
"mx-0 px-0 body-2 font-weight-bold"
>
<span
class=
"body-2 font-weight-bold"
>
เกี่ยวกับเรา
</span>
</v-btn>
<v-btn
v-if=
"!responsive"
flat
color=
"black"
class=
"mx-0 px-0 body-2 font-weight-bold"
>
<span
class=
"body-2 font-weight-bold"
>
เกี่ยวกับเรา
</span>
</v-btn>
<v-btn
v-if=
"!responsive"
flat
color=
"black"
class=
"mx-0 px-0 body-2 font-weight-bold"
>
<span
class=
"body-2 font-weight-bold"
>
เกี่ยวกับเรา
</span>
</v-btn>
<v-menu
left
bottom
v-if=
"responsive"
>
<template
v-slot:activator=
"
{ on }">
<v-toolbar-side-icon
v-on=
"on"
></v-toolbar-side-icon>
</
template
>
<v-list>
<v-list-tile>
<v-list-tile-title>
หน้าหลัก
</v-list-tile-title>
</v-list-tile>
<v-list-tile>
<v-list-tile-title>
หน้าหลัก
</v-list-tile-title>
</v-list-tile>
<v-list-tile
>
<v-list-tile-title>
หน้าหลัก
</v-list-tile-title>
</v-list-tile>
<v-list-tile
>
<v-list-tile-title>
หน้าหลัก
</v-list-tile-title>
</v-list-tile>
<v-list-tile
>
<v-list-tile-title>
หน้าหลัก
</v-list-tile-title>
</v-list-tile>
<v-list-tile
>
<v-list-tile-title>
หน้าหลัก
</v-list-tile-title>
</v-list-tile>
</v-list>
</v-menu>
</v-toolbar>
</v-flex>
</v-layout>
<login
v-if=
"dialog === 'login'"
></login>
<register
v-if=
"dialog === 'register'"
></register>
</div>
</template>
<
script
>
import
Login
from
'../views/Login.vue'
;
import
Register
from
'../views/Register.vue'
;
export
default
{
props
:
[
'page'
],
components
:
{
'login'
:
Login
,
'register'
:
Register
},
data
()
{
return
{
responsive
:
false
,
dialog
:
'login'
}
},
computed
:
{
currentUser
()
{
return
this
.
$store
.
getters
.
getUser
.
name
}
},
mounted
()
{
this
.
onResponsiveInverted
()
window
.
addEventListener
(
'resize'
,
this
.
onResponsiveInverted
)
},
beforeDestroy
()
{
window
.
removeEventListener
(
'resize'
,
this
.
onResponsiveInverted
)
},
methods
:
{
onResponsiveInverted
()
{
if
(
window
.
innerWidth
<
991
)
{
this
.
responsive
=
true
}
else
{
this
.
responsive
=
false
}
},
logout
()
{
this
.
$store
.
dispatch
(
'logout'
)
},
login
()
{
this
.
dialog
=
'login'
this
.
$store
.
commit
(
'setDialog'
,
!
this
.
$store
.
getters
.
getDialog
)
},
register
()
{
this
.
dialog
=
'register'
this
.
$store
.
commit
(
'setDialog'
,
!
this
.
$store
.
getters
.
getDialog
)
}
}
}
</
script
>
.history/resources/js/components/Toolbar_20190424111111.vue
0 → 100644
View file @
b8a7da9b
<
template
>
<div>
<v-layout
row
wrap
white
>
<v-flex
xs12
sm10
offset-sm1
>
<v-toolbar
flat
color=
"white"
height=
"40"
>
<v-spacer></v-spacer>
<v-btn
small=
""
dark
color=
"deep-orange darken-4"
class=
"elevation-0"
@
click=
"$router.push('/employer')"
>
สำหรับผู้ประกอบการ
</v-btn>
<v-divider
inset
vertical
></v-divider>
<v-btn
v-if=
"!currentUser"
small
outline
color=
"deep-orange darken-4"
@
click
.
stop=
"login()"
>
<v-icon>
person
</v-icon>
เข้าสู่ระบบ
</v-btn>
<v-btn
v-if=
"!currentUser"
small
outline
color=
"deep-orange darken-4"
@
click
.
stop=
"register()"
>
<v-icon>
account_box
</v-icon>
ลงทะเบียน
</v-btn>
<v-btn
v-else
small
outline
color=
"deep-orange darken-4"
@
click=
"logout()"
>
<v-icon>
account_circle
</v-icon>
{{
currentUser
}}
</v-btn>
</v-toolbar>
</v-flex>
</v-layout>
<v-layout
row
wrap
indigo
darken-4
fill-height
align-center=
""
>
<v-flex
xs12
sm10
offset-sm1
>
<v-toolbar
flat
color=
"indigo darken-4"
>
<!--v-if="page == 'app'"-->
<v-toolbar-title
class=
"py-2"
>
<router-link
to=
"/"
><img
src=
"../../../public/images/logocoop.png"
class=
"my-3"
width=
"150"
></router-link>
</v-toolbar-title>
<v-spacer></v-spacer>
<v-btn
v-if=
"!responsive"
flat
color=
"black"
class=
"mx-0 px-0"
>
<v-icon>
home
</v-icon>
</v-btn>
<v-btn
v-if=
"!responsive"
flat
color=
"black"
class=
"mx-0 px-0 body-2 font-weight-bold"
>
<span
class=
"body-2 font-weight-bold"
>
เกี่ยวกับเรา
</span>
</v-btn>
<v-btn
v-if=
"!responsive"
flat
color=
"black"
class=
"mx-0 px-0 body-2 font-weight-bold"
>
<span
class=
"body-2 font-weight-bold"
>
เกี่ยวกับเรา
</span>
</v-btn>
<v-btn
v-if=
"!responsive"
flat
color=
"black"
class=
"m x-0 px-0 body-2 font-weight-bold"
>
<span
class=
"body-2 font-weight-bold"
>
เกี่ยวกับเรา
</span>
</v-btn>
<v-btn
v-if=
"!responsive"
flat
color=
"black"
class=
"mx-0 px-0 body-2 font-weight-bold"
>
<span
class=
"body-2 font-weight-bold"
>
เกี่ยวกับเรา
</span>
</v-btn>
<v-btn
v-if=
"!responsive"
flat
color=
"black"
class=
"mx-0 px-0 body-2 font-weight-bold"
>
<span
class=
"body-2 font-weight-bold"
>
เกี่ยวกับเรา
</span>
</v-btn>
<v-btn
v-if=
"!responsive"
flat
color=
"black"
class=
"mx-0 px-0 body-2 font-weight-bold"
>
<span
class=
"body-2 font-weight-bold"
>
เกี่ยวกับเรา
</span>
</v-btn>
<v-menu
left
bottom
v-if=
"responsive"
>
<template
v-slot:activator=
"
{ on }">
<v-toolbar-side-icon
v-on=
"on"
></v-toolbar-side-icon>
</
template
>
<v-list>
<v-list-tile>
<v-list-tile-title>
หน้าหลัก
</v-list-tile-title>
</v-list-tile>
<v-list-tile>
<v-list-tile-title>
หน้าหลัก
</v-list-tile-title>
</v-list-tile>
<v-list-tile
>
<v-list-tile-title>
หน้าหลัก
</v-list-tile-title>
</v-list-tile>
<v-list-tile
>
<v-list-tile-title>
หน้าหลัก
</v-list-tile-title>
</v-list-tile>
<v-list-tile
>
<v-list-tile-title>
หน้าหลัก
</v-list-tile-title>
</v-list-tile>
<v-list-tile
>
<v-list-tile-title>
หน้าหลัก
</v-list-tile-title>
</v-list-tile>
</v-list>
</v-menu>
</v-toolbar>
</v-flex>
</v-layout>
<login
v-if=
"dialog === 'login'"
></login>
<register
v-if=
"dialog === 'register'"
></register>
</div>
</template>
<
script
>
import
Login
from
'../views/Login.vue'
;
import
Register
from
'../views/Register.vue'
;
export
default
{
props
:
[
'page'
],
components
:
{
'login'
:
Login
,
'register'
:
Register
},
data
()
{
return
{
responsive
:
false
,
dialog
:
'login'
}
},
computed
:
{
currentUser
()
{
return
this
.
$store
.
getters
.
getUser
.
name
}
},
mounted
()
{
this
.
onResponsiveInverted
()
window
.
addEventListener
(
'resize'
,
this
.
onResponsiveInverted
)
},
beforeDestroy
()
{
window
.
removeEventListener
(
'resize'
,
this
.
onResponsiveInverted
)
},
methods
:
{
onResponsiveInverted
()
{
if
(
window
.
innerWidth
<
991
)
{
this
.
responsive
=
true
}
else
{
this
.
responsive
=
false
}
},
logout
()
{
this
.
$store
.
dispatch
(
'logout'
)
},
login
()
{
this
.
dialog
=
'login'
this
.
$store
.
commit
(
'setDialog'
,
!
this
.
$store
.
getters
.
getDialog
)
},
register
()
{
this
.
dialog
=
'register'
this
.
$store
.
commit
(
'setDialog'
,
!
this
.
$store
.
getters
.
getDialog
)
}
}
}
</
script
>
.history/resources/js/components/Toolbar_20190424111114.vue
0 → 100644
View file @
b8a7da9b
<
template
>
<div>
<v-layout
row
wrap
white
>
<v-flex
xs12
sm10
offset-sm1
>
<v-toolbar
flat
color=
"white"
height=
"40"
>
<v-spacer></v-spacer>
<v-btn
small=
""
dark
color=
"deep-orange darken-4"
class=
"elevation-0"
@
click=
"$router.push('/employer')"
>
สำหรับผู้ประกอบการ
</v-btn>
<v-divider
inset
vertical
></v-divider>
<v-btn
v-if=
"!currentUser"
small
outline
color=
"deep-orange darken-4"
@
click
.
stop=
"login()"
>
<v-icon>
person
</v-icon>
เข้าสู่ระบบ
</v-btn>
<v-btn
v-if=
"!currentUser"
small
outline
color=
"deep-orange darken-4"
@
click
.
stop=
"register()"
>
<v-icon>
account_box
</v-icon>
ลงทะเบียน
</v-btn>
<v-btn
v-else
small
outline
color=
"deep-orange darken-4"
@
click=
"logout()"
>
<v-icon>
account_circle
</v-icon>
{{
currentUser
}}
</v-btn>
</v-toolbar>
</v-flex>
</v-layout>
<v-layout
row
wrap
indigo
darken-4
fill-height
align-center
>
<v-flex
xs12
sm10
offset-sm1
>
<v-toolbar
flat
color=
"indigo darken-4"
>
<!--v-if="page == 'app'"-->
<v-toolbar-title
class=
"py-2"
>
<router-link
to=
"/"
><img
src=
"../../../public/images/logocoop.png"
class=
"my-3"
width=
"150"
></router-link>
</v-toolbar-title>
<v-spacer></v-spacer>
<v-btn
v-if=
"!responsive"
flat
color=
"black"
class=
"mx-0 px-0"
>
<v-icon>
home
</v-icon>
</v-btn>
<v-btn
v-if=
"!responsive"
flat
color=
"black"
class=
"mx-0 px-0 body-2 font-weight-bold"
>
<span
class=
"body-2 font-weight-bold"
>
เกี่ยวกับเรา
</span>
</v-btn>
<v-btn
v-if=
"!responsive"
flat
color=
"black"
class=
"mx-0 px-0 body-2 font-weight-bold"
>
<span
class=
"body-2 font-weight-bold"
>
เกี่ยวกับเรา
</span>
</v-btn>
<v-btn
v-if=
"!responsive"
flat
color=
"black"
class=
"m x-0 px-0 body-2 font-weight-bold"
>
<span
class=
"body-2 font-weight-bold"
>
เกี่ยวกับเรา
</span>
</v-btn>
<v-btn
v-if=
"!responsive"
flat
color=
"black"
class=
"mx-0 px-0 body-2 font-weight-bold"
>
<span
class=
"body-2 font-weight-bold"
>
เกี่ยวกับเรา
</span>
</v-btn>
<v-btn
v-if=
"!responsive"
flat
color=
"black"
class=
"mx-0 px-0 body-2 font-weight-bold"
>
<span
class=
"body-2 font-weight-bold"
>
เกี่ยวกับเรา
</span>
</v-btn>
<v-btn
v-if=
"!responsive"
flat
color=
"black"
class=
"mx-0 px-0 body-2 font-weight-bold"
>
<span
class=
"body-2 font-weight-bold"
>
เกี่ยวกับเรา
</span>
</v-btn>
<v-menu
left
bottom
v-if=
"responsive"
>
<template
v-slot:activator=
"
{ on }">
<v-toolbar-side-icon
v-on=
"on"
></v-toolbar-side-icon>
</
template
>
<v-list>
<v-list-tile>
<v-list-tile-title>
หน้าหลัก
</v-list-tile-title>
</v-list-tile>
<v-list-tile>
<v-list-tile-title>
หน้าหลัก
</v-list-tile-title>
</v-list-tile>
<v-list-tile
>
<v-list-tile-title>
หน้าหลัก
</v-list-tile-title>
</v-list-tile>
<v-list-tile
>
<v-list-tile-title>
หน้าหลัก
</v-list-tile-title>
</v-list-tile>
<v-list-tile
>
<v-list-tile-title>
หน้าหลัก
</v-list-tile-title>
</v-list-tile>
<v-list-tile
>
<v-list-tile-title>
หน้าหลัก
</v-list-tile-title>
</v-list-tile>
</v-list>
</v-menu>
</v-toolbar>
</v-flex>
</v-layout>
<login
v-if=
"dialog === 'login'"
></login>
<register
v-if=
"dialog === 'register'"
></register>
</div>
</template>
<
script
>
import
Login
from
'../views/Login.vue'
;
import
Register
from
'../views/Register.vue'
;
export
default
{
props
:
[
'page'
],
components
:
{
'login'
:
Login
,
'register'
:
Register
},
data
()
{
return
{
responsive
:
false
,
dialog
:
'login'
}
},
computed
:
{
currentUser
()
{
return
this
.
$store
.
getters
.
getUser
.
name
}
},
mounted
()
{
this
.
onResponsiveInverted
()
window
.
addEventListener
(
'resize'
,
this
.
onResponsiveInverted
)
},
beforeDestroy
()
{
window
.
removeEventListener
(
'resize'
,
this
.
onResponsiveInverted
)
},
methods
:
{
onResponsiveInverted
()
{
if
(
window
.
innerWidth
<
991
)
{
this
.
responsive
=
true
}
else
{
this
.
responsive
=
false
}
},
logout
()
{
this
.
$store
.
dispatch
(
'logout'
)
},
login
()
{
this
.
dialog
=
'login'
this
.
$store
.
commit
(
'setDialog'
,
!
this
.
$store
.
getters
.
getDialog
)
},
register
()
{
this
.
dialog
=
'register'
this
.
$store
.
commit
(
'setDialog'
,
!
this
.
$store
.
getters
.
getDialog
)
}
}
}
</
script
>
.history/resources/js/components/Toolbar_20190424111447.vue
0 → 100644
View file @
b8a7da9b
<
template
>
<div>
<v-layout
row
wrap
white
>
<v-flex
xs12
sm10
offset-sm1
>
<v-toolbar
flat
color=
"white"
height=
"40"
>
<v-spacer></v-spacer>
<v-btn
small=
""
dark
color=
"deep-orange darken-4"
class=
"elevation-0"
@
click=
"$router.push('/employer')"
>
สำหรับผู้ประกอบการ
</v-btn>
<v-divider
inset
vertical
></v-divider>
<v-btn
v-if=
"!currentUser"
small
outline
color=
"deep-orange darken-4"
@
click
.
stop=
"login()"
>
<v-icon>
person
</v-icon>
เข้าสู่ระบบ
</v-btn>
<v-btn
v-if=
"!currentUser"
small
outline
color=
"deep-orange darken-4"
@
click
.
stop=
"register()"
>
<v-icon>
account_box
</v-icon>
ลงทะเบียน
</v-btn>
<v-btn
v-else
small
outline
color=
"deep-orange darken-4"
@
click=
"logout()"
>
<v-icon>
account_circle
</v-icon>
{{
currentUser
}}
</v-btn>
</v-toolbar>
</v-flex>
</v-layout>
<v-layout
row
wrap
indigo
darken-4
fill-height
align-center
>
<v-flex
xs12
sm10
offset-sm1
>
<v-toolbar
flat
color=
"#0d253d"
>
<!--v-if="page == 'app'"-->
<v-toolbar-title
class=
"py-2"
>
<router-link
to=
"/"
><img
src=
"../../../public/images/logocoop.png"
class=
"my-3"
width=
"150"
></router-link>
</v-toolbar-title>
<v-spacer></v-spacer>
<v-btn
v-if=
"!responsive"
flat
color=
"black"
class=
"mx-0 px-0"
>
<v-icon>
home
</v-icon>
</v-btn>
<v-btn
v-if=
"!responsive"
flat
color=
"black"
class=
"mx-0 px-0 body-2 font-weight-bold"
>
<span
class=
"body-2 font-weight-bold"
>
เกี่ยวกับเรา
</span>
</v-btn>
<v-btn
v-if=
"!responsive"
flat
color=
"black"
class=
"mx-0 px-0 body-2 font-weight-bold"
>
<span
class=
"body-2 font-weight-bold"
>
เกี่ยวกับเรา
</span>
</v-btn>
<v-btn
v-if=
"!responsive"
flat
color=
"black"
class=
"m x-0 px-0 body-2 font-weight-bold"
>
<span
class=
"body-2 font-weight-bold"
>
เกี่ยวกับเรา
</span>
</v-btn>
<v-btn
v-if=
"!responsive"
flat
color=
"black"
class=
"mx-0 px-0 body-2 font-weight-bold"
>
<span
class=
"body-2 font-weight-bold"
>
เกี่ยวกับเรา
</span>
</v-btn>
<v-btn
v-if=
"!responsive"
flat
color=
"black"
class=
"mx-0 px-0 body-2 font-weight-bold"
>
<span
class=
"body-2 font-weight-bold"
>
เกี่ยวกับเรา
</span>
</v-btn>
<v-btn
v-if=
"!responsive"
flat
color=
"black"
class=
"mx-0 px-0 body-2 font-weight-bold"
>
<span
class=
"body-2 font-weight-bold"
>
เกี่ยวกับเรา
</span>
</v-btn>
<v-menu
left
bottom
v-if=
"responsive"
>
<template
v-slot:activator=
"
{ on }">
<v-toolbar-side-icon
v-on=
"on"
></v-toolbar-side-icon>
</
template
>
<v-list>
<v-list-tile>
<v-list-tile-title>
หน้าหลัก
</v-list-tile-title>
</v-list-tile>
<v-list-tile>
<v-list-tile-title>
หน้าหลัก
</v-list-tile-title>
</v-list-tile>
<v-list-tile
>
<v-list-tile-title>
หน้าหลัก
</v-list-tile-title>
</v-list-tile>
<v-list-tile
>
<v-list-tile-title>
หน้าหลัก
</v-list-tile-title>
</v-list-tile>
<v-list-tile
>
<v-list-tile-title>
หน้าหลัก
</v-list-tile-title>
</v-list-tile>
<v-list-tile
>
<v-list-tile-title>
หน้าหลัก
</v-list-tile-title>
</v-list-tile>
</v-list>
</v-menu>
</v-toolbar>
</v-flex>
</v-layout>
<login
v-if=
"dialog === 'login'"
></login>
<register
v-if=
"dialog === 'register'"
></register>
</div>
</template>
<
script
>
import
Login
from
'../views/Login.vue'
;
import
Register
from
'../views/Register.vue'
;
export
default
{
props
:
[
'page'
],
components
:
{
'login'
:
Login
,
'register'
:
Register
},
data
()
{
return
{
responsive
:
false
,
dialog
:
'login'
}
},
computed
:
{
currentUser
()
{
return
this
.
$store
.
getters
.
getUser
.
name
}
},
mounted
()
{
this
.
onResponsiveInverted
()
window
.
addEventListener
(
'resize'
,
this
.
onResponsiveInverted
)
},
beforeDestroy
()
{
window
.
removeEventListener
(
'resize'
,
this
.
onResponsiveInverted
)
},
methods
:
{
onResponsiveInverted
()
{
if
(
window
.
innerWidth
<
991
)
{
this
.
responsive
=
true
}
else
{
this
.
responsive
=
false
}
},
logout
()
{
this
.
$store
.
dispatch
(
'logout'
)
},
login
()
{
this
.
dialog
=
'login'
this
.
$store
.
commit
(
'setDialog'
,
!
this
.
$store
.
getters
.
getDialog
)
},
register
()
{
this
.
dialog
=
'register'
this
.
$store
.
commit
(
'setDialog'
,
!
this
.
$store
.
getters
.
getDialog
)
}
}
}
</
script
>
.history/resources/js/components/Toolbar_20190424111543.vue
0 → 100644
View file @
b8a7da9b
<
template
>
<div>
<v-layout
row
wrap
white
>
<v-flex
xs12
sm10
offset-sm1
>
<v-toolbar
flat
color=
"white"
height=
"40"
>
<v-spacer></v-spacer>
<v-btn
small=
""
dark
color=
"deep-orange darken-4"
class=
"elevation-0"
@
click=
"$router.push('/employer')"
>
สำหรับผู้ประกอบการ
</v-btn>
<v-divider
inset
vertical
></v-divider>
<v-btn
v-if=
"!currentUser"
small
outline
color=
"deep-orange darken-4"
@
click
.
stop=
"login()"
>
<v-icon>
person
</v-icon>
เข้าสู่ระบบ
</v-btn>
<v-btn
v-if=
"!currentUser"
small
outline
color=
"deep-orange darken-4"
@
click
.
stop=
"register()"
>
<v-icon>
account_box
</v-icon>
ลงทะเบียน
</v-btn>
<v-btn
v-else
small
outline
color=
"deep-orange darken-4"
@
click=
"logout()"
>
<v-icon>
account_circle
</v-icon>
{{
currentUser
}}
</v-btn>
</v-toolbar>
</v-flex>
</v-layout>
<v-layout
row
wrap
color=
"#0d253d"
fill-height
align-center
>
<v-flex
xs12
sm10
offset-sm1
>
<v-toolbar
flat
color=
"#0d253d"
>
<!--v-if="page == 'app'"-->
<v-toolbar-title
class=
"py-2"
>
<router-link
to=
"/"
><img
src=
"../../../public/images/logocoop.png"
class=
"my-3"
width=
"150"
></router-link>
</v-toolbar-title>
<v-spacer></v-spacer>
<v-btn
v-if=
"!responsive"
flat
color=
"black"
class=
"mx-0 px-0"
>
<v-icon>
home
</v-icon>
</v-btn>
<v-btn
v-if=
"!responsive"
flat
color=
"black"
class=
"mx-0 px-0 body-2 font-weight-bold"
>
<span
class=
"body-2 font-weight-bold"
>
เกี่ยวกับเรา
</span>
</v-btn>
<v-btn
v-if=
"!responsive"
flat
color=
"black"
class=
"mx-0 px-0 body-2 font-weight-bold"
>
<span
class=
"body-2 font-weight-bold"
>
เกี่ยวกับเรา
</span>
</v-btn>
<v-btn
v-if=
"!responsive"
flat
color=
"black"
class=
"m x-0 px-0 body-2 font-weight-bold"
>
<span
class=
"body-2 font-weight-bold"
>
เกี่ยวกับเรา
</span>
</v-btn>
<v-btn
v-if=
"!responsive"
flat
color=
"black"
class=
"mx-0 px-0 body-2 font-weight-bold"
>
<span
class=
"body-2 font-weight-bold"
>
เกี่ยวกับเรา
</span>
</v-btn>
<v-btn
v-if=
"!responsive"
flat
color=
"black"
class=
"mx-0 px-0 body-2 font-weight-bold"
>
<span
class=
"body-2 font-weight-bold"
>
เกี่ยวกับเรา
</span>
</v-btn>
<v-btn
v-if=
"!responsive"
flat
color=
"black"
class=
"mx-0 px-0 body-2 font-weight-bold"
>
<span
class=
"body-2 font-weight-bold"
>
เกี่ยวกับเรา
</span>
</v-btn>
<v-menu
left
bottom
v-if=
"responsive"
>
<template
v-slot:activator=
"
{ on }">
<v-toolbar-side-icon
v-on=
"on"
></v-toolbar-side-icon>
</
template
>
<v-list>
<v-list-tile>
<v-list-tile-title>
หน้าหลัก
</v-list-tile-title>
</v-list-tile>
<v-list-tile>
<v-list-tile-title>
หน้าหลัก
</v-list-tile-title>
</v-list-tile>
<v-list-tile
>
<v-list-tile-title>
หน้าหลัก
</v-list-tile-title>
</v-list-tile>
<v-list-tile
>
<v-list-tile-title>
หน้าหลัก
</v-list-tile-title>
</v-list-tile>
<v-list-tile
>
<v-list-tile-title>
หน้าหลัก
</v-list-tile-title>
</v-list-tile>
<v-list-tile
>
<v-list-tile-title>
หน้าหลัก
</v-list-tile-title>
</v-list-tile>
</v-list>
</v-menu>
</v-toolbar>
</v-flex>
</v-layout>
<login
v-if=
"dialog === 'login'"
></login>
<register
v-if=
"dialog === 'register'"
></register>
</div>
</template>
<
script
>
import
Login
from
'../views/Login.vue'
;
import
Register
from
'../views/Register.vue'
;
export
default
{
props
:
[
'page'
],
components
:
{
'login'
:
Login
,
'register'
:
Register
},
data
()
{
return
{
responsive
:
false
,
dialog
:
'login'
}
},
computed
:
{
currentUser
()
{
return
this
.
$store
.
getters
.
getUser
.
name
}
},
mounted
()
{
this
.
onResponsiveInverted
()
window
.
addEventListener
(
'resize'
,
this
.
onResponsiveInverted
)
},
beforeDestroy
()
{
window
.
removeEventListener
(
'resize'
,
this
.
onResponsiveInverted
)
},
methods
:
{
onResponsiveInverted
()
{
if
(
window
.
innerWidth
<
991
)
{
this
.
responsive
=
true
}
else
{
this
.
responsive
=
false
}
},
logout
()
{
this
.
$store
.
dispatch
(
'logout'
)
},
login
()
{
this
.
dialog
=
'login'
this
.
$store
.
commit
(
'setDialog'
,
!
this
.
$store
.
getters
.
getDialog
)
},
register
()
{
this
.
dialog
=
'register'
this
.
$store
.
commit
(
'setDialog'
,
!
this
.
$store
.
getters
.
getDialog
)
}
}
}
</
script
>
.history/resources/js/components/Toolbar_20190424111702.vue
0 → 100644
View file @
b8a7da9b
<
template
>
<div>
<v-layout
row
wrap
white
>
<v-flex
xs12
sm10
offset-sm1
>
<v-toolbar
flat
color=
"white"
height=
"40"
>
<v-spacer></v-spacer>
<v-btn
small=
""
dark
color=
"deep-orange darken-4"
class=
"elevation-0"
@
click=
"$router.push('/employer')"
>
สำหรับผู้ประกอบการ
</v-btn>
<v-divider
inset
vertical
></v-divider>
<v-btn
v-if=
"!currentUser"
small
outline
color=
"deep-orange darken-4"
@
click
.
stop=
"login()"
>
<v-icon>
person
</v-icon>
เข้าสู่ระบบ
</v-btn>
<v-btn
v-if=
"!currentUser"
small
outline
color=
"deep-orange darken-4"
@
click
.
stop=
"register()"
>
<v-icon>
account_box
</v-icon>
ลงทะเบียน
</v-btn>
<v-btn
v-else
small
outline
color=
"deep-orange darken-4"
@
click=
"logout()"
>
<v-icon>
account_circle
</v-icon>
{{
currentUser
}}
</v-btn>
</v-toolbar>
</v-flex>
</v-layout>
<v-layout
row
wrap
fill-height
align-center
>
<v-flex
xs12
sm10
offset-sm1
>
<v-toolbar
flat
color=
"#0d253d"
>
<!--v-if="page == 'app'"-->
<v-toolbar-title
class=
"py-2"
>
<router-link
to=
"/"
><img
src=
"../../../public/images/logocoop.png"
class=
"my-3"
width=
"150"
></router-link>
</v-toolbar-title>
<v-spacer></v-spacer>
<v-btn
v-if=
"!responsive"
flat
color=
"black"
class=
"mx-0 px-0"
>
<v-icon>
home
</v-icon>
</v-btn>
<v-btn
v-if=
"!responsive"
flat
color=
"black"
class=
"mx-0 px-0 body-2 font-weight-bold"
>
<span
class=
"body-2 font-weight-bold"
>
เกี่ยวกับเรา
</span>
</v-btn>
<v-btn
v-if=
"!responsive"
flat
color=
"black"
class=
"mx-0 px-0 body-2 font-weight-bold"
>
<span
class=
"body-2 font-weight-bold"
>
เกี่ยวกับเรา
</span>
</v-btn>
<v-btn
v-if=
"!responsive"
flat
color=
"black"
class=
"m x-0 px-0 body-2 font-weight-bold"
>
<span
class=
"body-2 font-weight-bold"
>
เกี่ยวกับเรา
</span>
</v-btn>
<v-btn
v-if=
"!responsive"
flat
color=
"black"
class=
"mx-0 px-0 body-2 font-weight-bold"
>
<span
class=
"body-2 font-weight-bold"
>
เกี่ยวกับเรา
</span>
</v-btn>
<v-btn
v-if=
"!responsive"
flat
color=
"black"
class=
"mx-0 px-0 body-2 font-weight-bold"
>
<span
class=
"body-2 font-weight-bold"
>
เกี่ยวกับเรา
</span>
</v-btn>
<v-btn
v-if=
"!responsive"
flat
color=
"black"
class=
"mx-0 px-0 body-2 font-weight-bold"
>
<span
class=
"body-2 font-weight-bold"
>
เกี่ยวกับเรา
</span>
</v-btn>
<v-menu
left
bottom
v-if=
"responsive"
>
<template
v-slot:activator=
"
{ on }">
<v-toolbar-side-icon
v-on=
"on"
></v-toolbar-side-icon>
</
template
>
<v-list>
<v-list-tile>
<v-list-tile-title>
หน้าหลัก
</v-list-tile-title>
</v-list-tile>
<v-list-tile>
<v-list-tile-title>
หน้าหลัก
</v-list-tile-title>
</v-list-tile>
<v-list-tile
>
<v-list-tile-title>
หน้าหลัก
</v-list-tile-title>
</v-list-tile>
<v-list-tile
>
<v-list-tile-title>
หน้าหลัก
</v-list-tile-title>
</v-list-tile>
<v-list-tile
>
<v-list-tile-title>
หน้าหลัก
</v-list-tile-title>
</v-list-tile>
<v-list-tile
>
<v-list-tile-title>
หน้าหลัก
</v-list-tile-title>
</v-list-tile>
</v-list>
</v-menu>
</v-toolbar>
</v-flex>
</v-layout>
<login
v-if=
"dialog === 'login'"
></login>
<register
v-if=
"dialog === 'register'"
></register>
</div>
</template>
<
script
>
import
Login
from
'../views/Login.vue'
;
import
Register
from
'../views/Register.vue'
;
export
default
{
props
:
[
'page'
],
components
:
{
'login'
:
Login
,
'register'
:
Register
},
data
()
{
return
{
responsive
:
false
,
dialog
:
'login'
}
},
computed
:
{
currentUser
()
{
return
this
.
$store
.
getters
.
getUser
.
name
}
},
mounted
()
{
this
.
onResponsiveInverted
()
window
.
addEventListener
(
'resize'
,
this
.
onResponsiveInverted
)
},
beforeDestroy
()
{
window
.
removeEventListener
(
'resize'
,
this
.
onResponsiveInverted
)
},
methods
:
{
onResponsiveInverted
()
{
if
(
window
.
innerWidth
<
991
)
{
this
.
responsive
=
true
}
else
{
this
.
responsive
=
false
}
},
logout
()
{
this
.
$store
.
dispatch
(
'logout'
)
},
login
()
{
this
.
dialog
=
'login'
this
.
$store
.
commit
(
'setDialog'
,
!
this
.
$store
.
getters
.
getDialog
)
},
register
()
{
this
.
dialog
=
'register'
this
.
$store
.
commit
(
'setDialog'
,
!
this
.
$store
.
getters
.
getDialog
)
}
}
}
</
script
>
<
style
lang=
"scss"
scoped
>
.colornav
{
background-color
:
#0d253d
;
}
</
style
>
.history/resources/js/components/Toolbar_20190424111718.vue
0 → 100644
View file @
b8a7da9b
<
template
>
<div>
<v-layout
row
wrap
white
>
<v-flex
xs12
sm10
offset-sm1
>
<v-toolbar
flat
color=
"white"
height=
"40"
>
<v-spacer></v-spacer>
<v-btn
small=
""
dark
color=
"deep-orange darken-4"
class=
"elevation-0"
@
click=
"$router.push('/employer')"
>
สำหรับผู้ประกอบการ
</v-btn>
<v-divider
inset
vertical
></v-divider>
<v-btn
v-if=
"!currentUser"
small
outline
color=
"deep-orange darken-4"
@
click
.
stop=
"login()"
>
<v-icon>
person
</v-icon>
เข้าสู่ระบบ
</v-btn>
<v-btn
v-if=
"!currentUser"
small
outline
color=
"deep-orange darken-4"
@
click
.
stop=
"register()"
>
<v-icon>
account_box
</v-icon>
ลงทะเบียน
</v-btn>
<v-btn
v-else
small
outline
color=
"deep-orange darken-4"
@
click=
"logout()"
>
<v-icon>
account_circle
</v-icon>
{{
currentUser
}}
</v-btn>
</v-toolbar>
</v-flex>
</v-layout>
<v-layout
row
wrap
fill-height
align-center
class=
"colornav"
>
<v-flex
xs12
sm10
offset-sm1
>
<v-toolbar
flat
color=
"#0d253d"
>
<!--v-if="page == 'app'"-->
<v-toolbar-title
class=
"py-2"
>
<router-link
to=
"/"
><img
src=
"../../../public/images/logocoop.png"
class=
"my-3"
width=
"150"
></router-link>
</v-toolbar-title>
<v-spacer></v-spacer>
<v-btn
v-if=
"!responsive"
flat
color=
"black"
class=
"mx-0 px-0"
>
<v-icon>
home
</v-icon>
</v-btn>
<v-btn
v-if=
"!responsive"
flat
color=
"black"
class=
"mx-0 px-0 body-2 font-weight-bold"
>
<span
class=
"body-2 font-weight-bold"
>
เกี่ยวกับเรา
</span>
</v-btn>
<v-btn
v-if=
"!responsive"
flat
color=
"black"
class=
"mx-0 px-0 body-2 font-weight-bold"
>
<span
class=
"body-2 font-weight-bold"
>
เกี่ยวกับเรา
</span>
</v-btn>
<v-btn
v-if=
"!responsive"
flat
color=
"black"
class=
"m x-0 px-0 body-2 font-weight-bold"
>
<span
class=
"body-2 font-weight-bold"
>
เกี่ยวกับเรา
</span>
</v-btn>
<v-btn
v-if=
"!responsive"
flat
color=
"black"
class=
"mx-0 px-0 body-2 font-weight-bold"
>
<span
class=
"body-2 font-weight-bold"
>
เกี่ยวกับเรา
</span>
</v-btn>
<v-btn
v-if=
"!responsive"
flat
color=
"black"
class=
"mx-0 px-0 body-2 font-weight-bold"
>
<span
class=
"body-2 font-weight-bold"
>
เกี่ยวกับเรา
</span>
</v-btn>
<v-btn
v-if=
"!responsive"
flat
color=
"black"
class=
"mx-0 px-0 body-2 font-weight-bold"
>
<span
class=
"body-2 font-weight-bold"
>
เกี่ยวกับเรา
</span>
</v-btn>
<v-menu
left
bottom
v-if=
"responsive"
>
<template
v-slot:activator=
"
{ on }">
<v-toolbar-side-icon
v-on=
"on"
></v-toolbar-side-icon>
</
template
>
<v-list>
<v-list-tile>
<v-list-tile-title>
หน้าหลัก
</v-list-tile-title>
</v-list-tile>
<v-list-tile>
<v-list-tile-title>
หน้าหลัก
</v-list-tile-title>
</v-list-tile>
<v-list-tile
>
<v-list-tile-title>
หน้าหลัก
</v-list-tile-title>
</v-list-tile>
<v-list-tile
>
<v-list-tile-title>
หน้าหลัก
</v-list-tile-title>
</v-list-tile>
<v-list-tile
>
<v-list-tile-title>
หน้าหลัก
</v-list-tile-title>
</v-list-tile>
<v-list-tile
>
<v-list-tile-title>
หน้าหลัก
</v-list-tile-title>
</v-list-tile>
</v-list>
</v-menu>
</v-toolbar>
</v-flex>
</v-layout>
<login
v-if=
"dialog === 'login'"
></login>
<register
v-if=
"dialog === 'register'"
></register>
</div>
</template>
<
script
>
import
Login
from
'../views/Login.vue'
;
import
Register
from
'../views/Register.vue'
;
export
default
{
props
:
[
'page'
],
components
:
{
'login'
:
Login
,
'register'
:
Register
},
data
()
{
return
{
responsive
:
false
,
dialog
:
'login'
}
},
computed
:
{
currentUser
()
{
return
this
.
$store
.
getters
.
getUser
.
name
}
},
mounted
()
{
this
.
onResponsiveInverted
()
window
.
addEventListener
(
'resize'
,
this
.
onResponsiveInverted
)
},
beforeDestroy
()
{
window
.
removeEventListener
(
'resize'
,
this
.
onResponsiveInverted
)
},
methods
:
{
onResponsiveInverted
()
{
if
(
window
.
innerWidth
<
991
)
{
this
.
responsive
=
true
}
else
{
this
.
responsive
=
false
}
},
logout
()
{
this
.
$store
.
dispatch
(
'logout'
)
},
login
()
{
this
.
dialog
=
'login'
this
.
$store
.
commit
(
'setDialog'
,
!
this
.
$store
.
getters
.
getDialog
)
},
register
()
{
this
.
dialog
=
'register'
this
.
$store
.
commit
(
'setDialog'
,
!
this
.
$store
.
getters
.
getDialog
)
}
}
}
</
script
>
<
style
lang=
"scss"
scoped
>
.colornav
{
background-color
:
#0d253d
;
}
</
style
>
.history/resources/js/components/Toolbar_20190424111755.vue
0 → 100644
View file @
b8a7da9b
<
template
>
<div>
<v-layout
row
wrap
white
>
<v-flex
xs12
sm10
offset-sm1
>
<v-toolbar
flat
color=
"white"
height=
"40"
>
<v-spacer></v-spacer>
<v-btn
small=
""
dark
color=
"deep-orange darken-4"
class=
"elevation-0"
@
click=
"$router.push('/employer')"
>
สำหรับผู้ประกอบการ
</v-btn>
<v-divider
inset
vertical
></v-divider>
<v-btn
v-if=
"!currentUser"
small
outline
color=
"deep-orange darken-4"
@
click
.
stop=
"login()"
>
<v-icon>
person
</v-icon>
เข้าสู่ระบบ
</v-btn>
<v-btn
v-if=
"!currentUser"
small
outline
color=
"deep-orange darken-4"
@
click
.
stop=
"register()"
>
<v-icon>
account_box
</v-icon>
ลงทะเบียน
</v-btn>
<v-btn
v-else
small
outline
color=
"deep-orange darken-4"
@
click=
"logout()"
>
<v-icon>
account_circle
</v-icon>
{{
currentUser
}}
</v-btn>
</v-toolbar>
</v-flex>
</v-layout>
<v-layout
row
wrap
fill-height
align-center
class=
"colornav"
>
<v-flex
xs12
sm10
offset-sm1
>
<v-toolbar
flat
color=
"#0d253d"
>
<!--v-if="page == 'app'"-->
<v-toolbar-title
class=
""
>
<router-link
to=
"/"
><img
src=
"../../../public/images/logocoop.png"
class=
"my-3"
width=
"120"
></router-link>
</v-toolbar-title>
<v-spacer></v-spacer>
<v-btn
v-if=
"!responsive"
flat
color=
"black"
class=
"mx-0 px-0"
>
<v-icon>
home
</v-icon>
</v-btn>
<v-btn
v-if=
"!responsive"
flat
color=
"black"
class=
"mx-0 px-0 body-2 font-weight-bold"
>
<span
class=
"body-2 font-weight-bold"
>
เกี่ยวกับเรา
</span>
</v-btn>
<v-btn
v-if=
"!responsive"
flat
color=
"black"
class=
"mx-0 px-0 body-2 font-weight-bold"
>
<span
class=
"body-2 font-weight-bold"
>
เกี่ยวกับเรา
</span>
</v-btn>
<v-btn
v-if=
"!responsive"
flat
color=
"black"
class=
"m x-0 px-0 body-2 font-weight-bold"
>
<span
class=
"body-2 font-weight-bold"
>
เกี่ยวกับเรา
</span>
</v-btn>
<v-btn
v-if=
"!responsive"
flat
color=
"black"
class=
"mx-0 px-0 body-2 font-weight-bold"
>
<span
class=
"body-2 font-weight-bold"
>
เกี่ยวกับเรา
</span>
</v-btn>
<v-btn
v-if=
"!responsive"
flat
color=
"black"
class=
"mx-0 px-0 body-2 font-weight-bold"
>
<span
class=
"body-2 font-weight-bold"
>
เกี่ยวกับเรา
</span>
</v-btn>
<v-btn
v-if=
"!responsive"
flat
color=
"black"
class=
"mx-0 px-0 body-2 font-weight-bold"
>
<span
class=
"body-2 font-weight-bold"
>
เกี่ยวกับเรา
</span>
</v-btn>
<v-menu
left
bottom
v-if=
"responsive"
>
<template
v-slot:activator=
"
{ on }">
<v-toolbar-side-icon
v-on=
"on"
></v-toolbar-side-icon>
</
template
>
<v-list>
<v-list-tile>
<v-list-tile-title>
หน้าหลัก
</v-list-tile-title>
</v-list-tile>
<v-list-tile>
<v-list-tile-title>
หน้าหลัก
</v-list-tile-title>
</v-list-tile>
<v-list-tile
>
<v-list-tile-title>
หน้าหลัก
</v-list-tile-title>
</v-list-tile>
<v-list-tile
>
<v-list-tile-title>
หน้าหลัก
</v-list-tile-title>
</v-list-tile>
<v-list-tile
>
<v-list-tile-title>
หน้าหลัก
</v-list-tile-title>
</v-list-tile>
<v-list-tile
>
<v-list-tile-title>
หน้าหลัก
</v-list-tile-title>
</v-list-tile>
</v-list>
</v-menu>
</v-toolbar>
</v-flex>
</v-layout>
<login
v-if=
"dialog === 'login'"
></login>
<register
v-if=
"dialog === 'register'"
></register>
</div>
</template>
<
script
>
import
Login
from
'../views/Login.vue'
;
import
Register
from
'../views/Register.vue'
;
export
default
{
props
:
[
'page'
],
components
:
{
'login'
:
Login
,
'register'
:
Register
},
data
()
{
return
{
responsive
:
false
,
dialog
:
'login'
}
},
computed
:
{
currentUser
()
{
return
this
.
$store
.
getters
.
getUser
.
name
}
},
mounted
()
{
this
.
onResponsiveInverted
()
window
.
addEventListener
(
'resize'
,
this
.
onResponsiveInverted
)
},
beforeDestroy
()
{
window
.
removeEventListener
(
'resize'
,
this
.
onResponsiveInverted
)
},
methods
:
{
onResponsiveInverted
()
{
if
(
window
.
innerWidth
<
991
)
{
this
.
responsive
=
true
}
else
{
this
.
responsive
=
false
}
},
logout
()
{
this
.
$store
.
dispatch
(
'logout'
)
},
login
()
{
this
.
dialog
=
'login'
this
.
$store
.
commit
(
'setDialog'
,
!
this
.
$store
.
getters
.
getDialog
)
},
register
()
{
this
.
dialog
=
'register'
this
.
$store
.
commit
(
'setDialog'
,
!
this
.
$store
.
getters
.
getDialog
)
}
}
}
</
script
>
<
style
lang=
"scss"
scoped
>
.colornav
{
background-color
:
#0d253d
;
}
</
style
>
.history/resources/js/components/Toolbar_20190424111842.vue
0 → 100644
View file @
b8a7da9b
<
template
>
<div>
<v-layout
row
wrap
white
>
<v-flex
xs12
sm10
offset-sm1
>
<v-toolbar
flat
color=
"white"
height=
"40"
>
<v-spacer></v-spacer>
<v-btn
small=
""
dark
color=
"deep-orange darken-4"
class=
"elevation-0"
@
click=
"$router.push('/employer')"
>
สำหรับผู้ประกอบการ
</v-btn>
<v-divider
inset
vertical
></v-divider>
<v-btn
v-if=
"!currentUser"
small
outline
color=
"deep-orange darken-4"
@
click
.
stop=
"login()"
>
<v-icon>
person
</v-icon>
เข้าสู่ระบบ
</v-btn>
<v-btn
v-if=
"!currentUser"
small
outline
color=
"deep-orange darken-4"
@
click
.
stop=
"register()"
>
<v-icon>
account_box
</v-icon>
ลงทะเบียน
</v-btn>
<v-btn
v-else
small
outline
color=
"deep-orange darken-4"
@
click=
"logout()"
>
<v-icon>
account_circle
</v-icon>
{{
currentUser
}}
</v-btn>
</v-toolbar>
</v-flex>
</v-layout>
<v-layout
row
wrap
fill-height
align-center
class=
"colornav"
>
<v-flex
xs12
sm10
offset-sm1
>
<v-toolbar
flat
color=
"#0d253d"
>
<!--v-if="page == 'app'"-->
<v-toolbar-title
class=
""
>
<router-link
to=
"/"
><img
src=
"../../../public/images/logocoop.png"
class=
"my-3"
height=
"30"
></router-link>
</v-toolbar-title>
<v-spacer></v-spacer>
<v-btn
v-if=
"!responsive"
flat
color=
"black"
class=
"mx-0 px-0"
>
<v-icon>
home
</v-icon>
</v-btn>
<v-btn
v-if=
"!responsive"
flat
color=
"black"
class=
"mx-0 px-0 body-2 font-weight-bold"
>
<span
class=
"body-2 font-weight-bold"
>
เกี่ยวกับเรา
</span>
</v-btn>
<v-btn
v-if=
"!responsive"
flat
color=
"black"
class=
"mx-0 px-0 body-2 font-weight-bold"
>
<span
class=
"body-2 font-weight-bold"
>
เกี่ยวกับเรา
</span>
</v-btn>
<v-btn
v-if=
"!responsive"
flat
color=
"black"
class=
"m x-0 px-0 body-2 font-weight-bold"
>
<span
class=
"body-2 font-weight-bold"
>
เกี่ยวกับเรา
</span>
</v-btn>
<v-btn
v-if=
"!responsive"
flat
color=
"black"
class=
"mx-0 px-0 body-2 font-weight-bold"
>
<span
class=
"body-2 font-weight-bold"
>
เกี่ยวกับเรา
</span>
</v-btn>
<v-btn
v-if=
"!responsive"
flat
color=
"black"
class=
"mx-0 px-0 body-2 font-weight-bold"
>
<span
class=
"body-2 font-weight-bold"
>
เกี่ยวกับเรา
</span>
</v-btn>
<v-btn
v-if=
"!responsive"
flat
color=
"black"
class=
"mx-0 px-0 body-2 font-weight-bold"
>
<span
class=
"body-2 font-weight-bold"
>
เกี่ยวกับเรา
</span>
</v-btn>
<v-menu
left
bottom
v-if=
"responsive"
>
<template
v-slot:activator=
"
{ on }">
<v-toolbar-side-icon
v-on=
"on"
></v-toolbar-side-icon>
</
template
>
<v-list>
<v-list-tile>
<v-list-tile-title>
หน้าหลัก
</v-list-tile-title>
</v-list-tile>
<v-list-tile>
<v-list-tile-title>
หน้าหลัก
</v-list-tile-title>
</v-list-tile>
<v-list-tile
>
<v-list-tile-title>
หน้าหลัก
</v-list-tile-title>
</v-list-tile>
<v-list-tile
>
<v-list-tile-title>
หน้าหลัก
</v-list-tile-title>
</v-list-tile>
<v-list-tile
>
<v-list-tile-title>
หน้าหลัก
</v-list-tile-title>
</v-list-tile>
<v-list-tile
>
<v-list-tile-title>
หน้าหลัก
</v-list-tile-title>
</v-list-tile>
</v-list>
</v-menu>
</v-toolbar>
</v-flex>
</v-layout>
<login
v-if=
"dialog === 'login'"
></login>
<register
v-if=
"dialog === 'register'"
></register>
</div>
</template>
<
script
>
import
Login
from
'../views/Login.vue'
;
import
Register
from
'../views/Register.vue'
;
export
default
{
props
:
[
'page'
],
components
:
{
'login'
:
Login
,
'register'
:
Register
},
data
()
{
return
{
responsive
:
false
,
dialog
:
'login'
}
},
computed
:
{
currentUser
()
{
return
this
.
$store
.
getters
.
getUser
.
name
}
},
mounted
()
{
this
.
onResponsiveInverted
()
window
.
addEventListener
(
'resize'
,
this
.
onResponsiveInverted
)
},
beforeDestroy
()
{
window
.
removeEventListener
(
'resize'
,
this
.
onResponsiveInverted
)
},
methods
:
{
onResponsiveInverted
()
{
if
(
window
.
innerWidth
<
991
)
{
this
.
responsive
=
true
}
else
{
this
.
responsive
=
false
}
},
logout
()
{
this
.
$store
.
dispatch
(
'logout'
)
},
login
()
{
this
.
dialog
=
'login'
this
.
$store
.
commit
(
'setDialog'
,
!
this
.
$store
.
getters
.
getDialog
)
},
register
()
{
this
.
dialog
=
'register'
this
.
$store
.
commit
(
'setDialog'
,
!
this
.
$store
.
getters
.
getDialog
)
}
}
}
</
script
>
<
style
lang=
"scss"
scoped
>
.colornav
{
background-color
:
#0d253d
;
}
</
style
>
.history/resources/js/components/Toolbar_20190424111911.vue
0 → 100644
View file @
b8a7da9b
<
template
>
<div>
<v-layout
row
wrap
white
>
<v-flex
xs12
sm10
offset-sm1
>
<v-toolbar
flat
color=
"white"
height=
"40"
>
<v-spacer></v-spacer>
<v-btn
small=
""
dark
color=
"deep-orange darken-4"
class=
"elevation-0"
@
click=
"$router.push('/employer')"
>
สำหรับผู้ประกอบการ
</v-btn>
<v-divider
inset
vertical
></v-divider>
<v-btn
v-if=
"!currentUser"
small
outline
color=
"deep-orange darken-4"
@
click
.
stop=
"login()"
>
<v-icon>
person
</v-icon>
เข้าสู่ระบบ
</v-btn>
<v-btn
v-if=
"!currentUser"
small
outline
color=
"deep-orange darken-4"
@
click
.
stop=
"register()"
>
<v-icon>
account_box
</v-icon>
ลงทะเบียน
</v-btn>
<v-btn
v-else
small
outline
color=
"deep-orange darken-4"
@
click=
"logout()"
>
<v-icon>
account_circle
</v-icon>
{{
currentUser
}}
</v-btn>
</v-toolbar>
</v-flex>
</v-layout>
<v-layout
row
wrap
fill-height
align-center
class=
"colornav"
>
<v-flex
xs12
sm10
offset-sm1
>
<v-toolbar
flat
color=
"#0d253d"
>
<!--v-if="page == 'app'"-->
<v-toolbar-title
class=
""
>
<router-link
to=
"/"
><img
src=
"../../../public/images/logocoop.png"
class=
"my-3"
height=
"60"
></router-link>
</v-toolbar-title>
<v-spacer></v-spacer>
<v-btn
v-if=
"!responsive"
flat
color=
"black"
class=
"mx-0 px-0"
>
<v-icon>
home
</v-icon>
</v-btn>
<v-btn
v-if=
"!responsive"
flat
color=
"black"
class=
"mx-0 px-0 body-2 font-weight-bold"
>
<span
class=
"body-2 font-weight-bold"
>
เกี่ยวกับเรา
</span>
</v-btn>
<v-btn
v-if=
"!responsive"
flat
color=
"black"
class=
"mx-0 px-0 body-2 font-weight-bold"
>
<span
class=
"body-2 font-weight-bold"
>
เกี่ยวกับเรา
</span>
</v-btn>
<v-btn
v-if=
"!responsive"
flat
color=
"black"
class=
"m x-0 px-0 body-2 font-weight-bold"
>
<span
class=
"body-2 font-weight-bold"
>
เกี่ยวกับเรา
</span>
</v-btn>
<v-btn
v-if=
"!responsive"
flat
color=
"black"
class=
"mx-0 px-0 body-2 font-weight-bold"
>
<span
class=
"body-2 font-weight-bold"
>
เกี่ยวกับเรา
</span>
</v-btn>
<v-btn
v-if=
"!responsive"
flat
color=
"black"
class=
"mx-0 px-0 body-2 font-weight-bold"
>
<span
class=
"body-2 font-weight-bold"
>
เกี่ยวกับเรา
</span>
</v-btn>
<v-btn
v-if=
"!responsive"
flat
color=
"black"
class=
"mx-0 px-0 body-2 font-weight-bold"
>
<span
class=
"body-2 font-weight-bold"
>
เกี่ยวกับเรา
</span>
</v-btn>
<v-menu
left
bottom
v-if=
"responsive"
>
<template
v-slot:activator=
"
{ on }">
<v-toolbar-side-icon
v-on=
"on"
></v-toolbar-side-icon>
</
template
>
<v-list>
<v-list-tile>
<v-list-tile-title>
หน้าหลัก
</v-list-tile-title>
</v-list-tile>
<v-list-tile>
<v-list-tile-title>
หน้าหลัก
</v-list-tile-title>
</v-list-tile>
<v-list-tile
>
<v-list-tile-title>
หน้าหลัก
</v-list-tile-title>
</v-list-tile>
<v-list-tile
>
<v-list-tile-title>
หน้าหลัก
</v-list-tile-title>
</v-list-tile>
<v-list-tile
>
<v-list-tile-title>
หน้าหลัก
</v-list-tile-title>
</v-list-tile>
<v-list-tile
>
<v-list-tile-title>
หน้าหลัก
</v-list-tile-title>
</v-list-tile>
</v-list>
</v-menu>
</v-toolbar>
</v-flex>
</v-layout>
<login
v-if=
"dialog === 'login'"
></login>
<register
v-if=
"dialog === 'register'"
></register>
</div>
</template>
<
script
>
import
Login
from
'../views/Login.vue'
;
import
Register
from
'../views/Register.vue'
;
export
default
{
props
:
[
'page'
],
components
:
{
'login'
:
Login
,
'register'
:
Register
},
data
()
{
return
{
responsive
:
false
,
dialog
:
'login'
}
},
computed
:
{
currentUser
()
{
return
this
.
$store
.
getters
.
getUser
.
name
}
},
mounted
()
{
this
.
onResponsiveInverted
()
window
.
addEventListener
(
'resize'
,
this
.
onResponsiveInverted
)
},
beforeDestroy
()
{
window
.
removeEventListener
(
'resize'
,
this
.
onResponsiveInverted
)
},
methods
:
{
onResponsiveInverted
()
{
if
(
window
.
innerWidth
<
991
)
{
this
.
responsive
=
true
}
else
{
this
.
responsive
=
false
}
},
logout
()
{
this
.
$store
.
dispatch
(
'logout'
)
},
login
()
{
this
.
dialog
=
'login'
this
.
$store
.
commit
(
'setDialog'
,
!
this
.
$store
.
getters
.
getDialog
)
},
register
()
{
this
.
dialog
=
'register'
this
.
$store
.
commit
(
'setDialog'
,
!
this
.
$store
.
getters
.
getDialog
)
}
}
}
</
script
>
<
style
lang=
"scss"
scoped
>
.colornav
{
background-color
:
#0d253d
;
}
</
style
>
.history/resources/js/components/Toolbar_20190424111925.vue
0 → 100644
View file @
b8a7da9b
<
template
>
<div>
<v-layout
row
wrap
white
>
<v-flex
xs12
sm10
offset-sm1
>
<v-toolbar
flat
color=
"white"
height=
"40"
>
<v-spacer></v-spacer>
<v-btn
small=
""
dark
color=
"deep-orange darken-4"
class=
"elevation-0"
@
click=
"$router.push('/employer')"
>
สำหรับผู้ประกอบการ
</v-btn>
<v-divider
inset
vertical
></v-divider>
<v-btn
v-if=
"!currentUser"
small
outline
color=
"deep-orange darken-4"
@
click
.
stop=
"login()"
>
<v-icon>
person
</v-icon>
เข้าสู่ระบบ
</v-btn>
<v-btn
v-if=
"!currentUser"
small
outline
color=
"deep-orange darken-4"
@
click
.
stop=
"register()"
>
<v-icon>
account_box
</v-icon>
ลงทะเบียน
</v-btn>
<v-btn
v-else
small
outline
color=
"deep-orange darken-4"
@
click=
"logout()"
>
<v-icon>
account_circle
</v-icon>
{{
currentUser
}}
</v-btn>
</v-toolbar>
</v-flex>
</v-layout>
<v-layout
row
wrap
fill-height
align-center
class=
"colornav"
>
<v-flex
xs12
sm10
offset-sm1
>
<v-toolbar
flat
color=
"#0d253d"
>
<!--v-if="page == 'app'"-->
<v-toolbar-title
class=
""
>
<router-link
to=
"/"
><img
src=
"../../../public/images/logocoop.png"
class=
"my-3"
height=
"50"
></router-link>
</v-toolbar-title>
<v-spacer></v-spacer>
<v-btn
v-if=
"!responsive"
flat
color=
"black"
class=
"mx-0 px-0"
>
<v-icon>
home
</v-icon>
</v-btn>
<v-btn
v-if=
"!responsive"
flat
color=
"black"
class=
"mx-0 px-0 body-2 font-weight-bold"
>
<span
class=
"body-2 font-weight-bold"
>
เกี่ยวกับเรา
</span>
</v-btn>
<v-btn
v-if=
"!responsive"
flat
color=
"black"
class=
"mx-0 px-0 body-2 font-weight-bold"
>
<span
class=
"body-2 font-weight-bold"
>
เกี่ยวกับเรา
</span>
</v-btn>
<v-btn
v-if=
"!responsive"
flat
color=
"black"
class=
"m x-0 px-0 body-2 font-weight-bold"
>
<span
class=
"body-2 font-weight-bold"
>
เกี่ยวกับเรา
</span>
</v-btn>
<v-btn
v-if=
"!responsive"
flat
color=
"black"
class=
"mx-0 px-0 body-2 font-weight-bold"
>
<span
class=
"body-2 font-weight-bold"
>
เกี่ยวกับเรา
</span>
</v-btn>
<v-btn
v-if=
"!responsive"
flat
color=
"black"
class=
"mx-0 px-0 body-2 font-weight-bold"
>
<span
class=
"body-2 font-weight-bold"
>
เกี่ยวกับเรา
</span>
</v-btn>
<v-btn
v-if=
"!responsive"
flat
color=
"black"
class=
"mx-0 px-0 body-2 font-weight-bold"
>
<span
class=
"body-2 font-weight-bold"
>
เกี่ยวกับเรา
</span>
</v-btn>
<v-menu
left
bottom
v-if=
"responsive"
>
<template
v-slot:activator=
"
{ on }">
<v-toolbar-side-icon
v-on=
"on"
></v-toolbar-side-icon>
</
template
>
<v-list>
<v-list-tile>
<v-list-tile-title>
หน้าหลัก
</v-list-tile-title>
</v-list-tile>
<v-list-tile>
<v-list-tile-title>
หน้าหลัก
</v-list-tile-title>
</v-list-tile>
<v-list-tile
>
<v-list-tile-title>
หน้าหลัก
</v-list-tile-title>
</v-list-tile>
<v-list-tile
>
<v-list-tile-title>
หน้าหลัก
</v-list-tile-title>
</v-list-tile>
<v-list-tile
>
<v-list-tile-title>
หน้าหลัก
</v-list-tile-title>
</v-list-tile>
<v-list-tile
>
<v-list-tile-title>
หน้าหลัก
</v-list-tile-title>
</v-list-tile>
</v-list>
</v-menu>
</v-toolbar>
</v-flex>
</v-layout>
<login
v-if=
"dialog === 'login'"
></login>
<register
v-if=
"dialog === 'register'"
></register>
</div>
</template>
<
script
>
import
Login
from
'../views/Login.vue'
;
import
Register
from
'../views/Register.vue'
;
export
default
{
props
:
[
'page'
],
components
:
{
'login'
:
Login
,
'register'
:
Register
},
data
()
{
return
{
responsive
:
false
,
dialog
:
'login'
}
},
computed
:
{
currentUser
()
{
return
this
.
$store
.
getters
.
getUser
.
name
}
},
mounted
()
{
this
.
onResponsiveInverted
()
window
.
addEventListener
(
'resize'
,
this
.
onResponsiveInverted
)
},
beforeDestroy
()
{
window
.
removeEventListener
(
'resize'
,
this
.
onResponsiveInverted
)
},
methods
:
{
onResponsiveInverted
()
{
if
(
window
.
innerWidth
<
991
)
{
this
.
responsive
=
true
}
else
{
this
.
responsive
=
false
}
},
logout
()
{
this
.
$store
.
dispatch
(
'logout'
)
},
login
()
{
this
.
dialog
=
'login'
this
.
$store
.
commit
(
'setDialog'
,
!
this
.
$store
.
getters
.
getDialog
)
},
register
()
{
this
.
dialog
=
'register'
this
.
$store
.
commit
(
'setDialog'
,
!
this
.
$store
.
getters
.
getDialog
)
}
}
}
</
script
>
<
style
lang=
"scss"
scoped
>
.colornav
{
background-color
:
#0d253d
;
}
</
style
>
.history/resources/js/components/Toolbar_20190424112010.vue
0 → 100644
View file @
b8a7da9b
<
template
>
<div>
<v-layout
row
wrap
white
>
<v-flex
xs12
sm10
offset-sm1
>
<v-toolbar
flat
color=
"white"
height=
"40"
>
<v-spacer></v-spacer>
<v-btn
small=
""
dark
color=
"deep-orange darken-4"
class=
"elevation-0"
@
click=
"$router.push('/employer')"
>
สำหรับผู้ประกอบการ
</v-btn>
<v-divider
inset
vertical
></v-divider>
<v-btn
v-if=
"!currentUser"
small
outline
color=
"deep-orange darken-4"
@
click
.
stop=
"login()"
>
<v-icon>
person
</v-icon>
เข้าสู่ระบบ
</v-btn>
<v-btn
v-if=
"!currentUser"
small
outline
color=
"deep-orange darken-4"
@
click
.
stop=
"register()"
>
<v-icon>
account_box
</v-icon>
ลงทะเบียน
</v-btn>
<v-btn
v-else
small
outline
color=
"deep-orange darken-4"
@
click=
"logout()"
>
<v-icon>
account_circle
</v-icon>
{{
currentUser
}}
</v-btn>
</v-toolbar>
</v-flex>
</v-layout>
<v-layout
row
wrap
fill-height
align-center
class=
"colornav"
>
<v-flex
xs12
sm10
offset-sm1
>
<v-toolbar
flat
color=
"#0d253d"
>
<!--v-if="page == 'app'"-->
<v-toolbar-title
class=
""
>
<router-link
to=
"/"
><img
src=
"../../../public/images/logocoop.png"
class=
"my-3"
width=
"150"
></router-link>
</v-toolbar-title>
<v-spacer></v-spacer>
<v-btn
v-if=
"!responsive"
flat
color=
"black"
class=
"mx-0 px-0"
>
<v-icon>
home
</v-icon>
</v-btn>
<v-btn
v-if=
"!responsive"
flat
color=
"black"
class=
"mx-0 px-0 body-2 font-weight-bold"
>
<span
class=
"body-2 font-weight-bold"
>
เกี่ยวกับเรา
</span>
</v-btn>
<v-btn
v-if=
"!responsive"
flat
color=
"black"
class=
"mx-0 px-0 body-2 font-weight-bold"
>
<span
class=
"body-2 font-weight-bold"
>
เกี่ยวกับเรา
</span>
</v-btn>
<v-btn
v-if=
"!responsive"
flat
color=
"black"
class=
"m x-0 px-0 body-2 font-weight-bold"
>
<span
class=
"body-2 font-weight-bold"
>
เกี่ยวกับเรา
</span>
</v-btn>
<v-btn
v-if=
"!responsive"
flat
color=
"black"
class=
"mx-0 px-0 body-2 font-weight-bold"
>
<span
class=
"body-2 font-weight-bold"
>
เกี่ยวกับเรา
</span>
</v-btn>
<v-btn
v-if=
"!responsive"
flat
color=
"black"
class=
"mx-0 px-0 body-2 font-weight-bold"
>
<span
class=
"body-2 font-weight-bold"
>
เกี่ยวกับเรา
</span>
</v-btn>
<v-btn
v-if=
"!responsive"
flat
color=
"black"
class=
"mx-0 px-0 body-2 font-weight-bold"
>
<span
class=
"body-2 font-weight-bold"
>
เกี่ยวกับเรา
</span>
</v-btn>
<v-menu
left
bottom
v-if=
"responsive"
>
<template
v-slot:activator=
"
{ on }">
<v-toolbar-side-icon
v-on=
"on"
></v-toolbar-side-icon>
</
template
>
<v-list>
<v-list-tile>
<v-list-tile-title>
หน้าหลัก
</v-list-tile-title>
</v-list-tile>
<v-list-tile>
<v-list-tile-title>
หน้าหลัก
</v-list-tile-title>
</v-list-tile>
<v-list-tile
>
<v-list-tile-title>
หน้าหลัก
</v-list-tile-title>
</v-list-tile>
<v-list-tile
>
<v-list-tile-title>
หน้าหลัก
</v-list-tile-title>
</v-list-tile>
<v-list-tile
>
<v-list-tile-title>
หน้าหลัก
</v-list-tile-title>
</v-list-tile>
<v-list-tile
>
<v-list-tile-title>
หน้าหลัก
</v-list-tile-title>
</v-list-tile>
</v-list>
</v-menu>
</v-toolbar>
</v-flex>
</v-layout>
<login
v-if=
"dialog === 'login'"
></login>
<register
v-if=
"dialog === 'register'"
></register>
</div>
</template>
<
script
>
import
Login
from
'../views/Login.vue'
;
import
Register
from
'../views/Register.vue'
;
export
default
{
props
:
[
'page'
],
components
:
{
'login'
:
Login
,
'register'
:
Register
},
data
()
{
return
{
responsive
:
false
,
dialog
:
'login'
}
},
computed
:
{
currentUser
()
{
return
this
.
$store
.
getters
.
getUser
.
name
}
},
mounted
()
{
this
.
onResponsiveInverted
()
window
.
addEventListener
(
'resize'
,
this
.
onResponsiveInverted
)
},
beforeDestroy
()
{
window
.
removeEventListener
(
'resize'
,
this
.
onResponsiveInverted
)
},
methods
:
{
onResponsiveInverted
()
{
if
(
window
.
innerWidth
<
991
)
{
this
.
responsive
=
true
}
else
{
this
.
responsive
=
false
}
},
logout
()
{
this
.
$store
.
dispatch
(
'logout'
)
},
login
()
{
this
.
dialog
=
'login'
this
.
$store
.
commit
(
'setDialog'
,
!
this
.
$store
.
getters
.
getDialog
)
},
register
()
{
this
.
dialog
=
'register'
this
.
$store
.
commit
(
'setDialog'
,
!
this
.
$store
.
getters
.
getDialog
)
}
}
}
</
script
>
<
style
lang=
"scss"
scoped
>
.colornav
{
background-color
:
#0d253d
;
}
</
style
>
.history/resources/js/components/Toolbar_20190424112038.vue
0 → 100644
View file @
b8a7da9b
<
template
>
<div>
<v-layout
row
wrap
white
>
<v-flex
xs12
sm10
offset-sm1
>
<v-toolbar
flat
color=
"white"
height=
"40"
>
<v-spacer></v-spacer>
<v-btn
small=
""
dark
color=
"deep-orange darken-4"
class=
"elevation-0"
@
click=
"$router.push('/employer')"
>
สำหรับผู้ประกอบการ
</v-btn>
<v-divider
inset
vertical
></v-divider>
<v-btn
v-if=
"!currentUser"
small
outline
color=
"deep-orange darken-4"
@
click
.
stop=
"login()"
>
<v-icon>
person
</v-icon>
เข้าสู่ระบบ
</v-btn>
<v-btn
v-if=
"!currentUser"
small
outline
color=
"deep-orange darken-4"
@
click
.
stop=
"register()"
>
<v-icon>
account_box
</v-icon>
ลงทะเบียน
</v-btn>
<v-btn
v-else
small
outline
color=
"deep-orange darken-4"
@
click=
"logout()"
>
<v-icon>
account_circle
</v-icon>
{{
currentUser
}}
</v-btn>
</v-toolbar>
</v-flex>
</v-layout>
<v-layout
row
wrap
fill-height
align-center
class=
"colornav"
>
<v-flex
xs12
sm10
offset-sm1
>
<v-toolbar
flat
color=
"#0d253d"
>
<!--v-if="page == 'app'"-->
<v-toolbar-title
class=
""
>
<router-link
to=
"/"
><img
src=
"../../../public/images/logocoop.png"
class=
"my-3"
width=
"140"
></router-link>
</v-toolbar-title>
<v-spacer></v-spacer>
<v-btn
v-if=
"!responsive"
flat
color=
"black"
class=
"mx-0 px-0"
>
<v-icon>
home
</v-icon>
</v-btn>
<v-btn
v-if=
"!responsive"
flat
color=
"black"
class=
"mx-0 px-0 body-2 font-weight-bold"
>
<span
class=
"body-2 font-weight-bold"
>
เกี่ยวกับเรา
</span>
</v-btn>
<v-btn
v-if=
"!responsive"
flat
color=
"black"
class=
"mx-0 px-0 body-2 font-weight-bold"
>
<span
class=
"body-2 font-weight-bold"
>
เกี่ยวกับเรา
</span>
</v-btn>
<v-btn
v-if=
"!responsive"
flat
color=
"black"
class=
"m x-0 px-0 body-2 font-weight-bold"
>
<span
class=
"body-2 font-weight-bold"
>
เกี่ยวกับเรา
</span>
</v-btn>
<v-btn
v-if=
"!responsive"
flat
color=
"black"
class=
"mx-0 px-0 body-2 font-weight-bold"
>
<span
class=
"body-2 font-weight-bold"
>
เกี่ยวกับเรา
</span>
</v-btn>
<v-btn
v-if=
"!responsive"
flat
color=
"black"
class=
"mx-0 px-0 body-2 font-weight-bold"
>
<span
class=
"body-2 font-weight-bold"
>
เกี่ยวกับเรา
</span>
</v-btn>
<v-btn
v-if=
"!responsive"
flat
color=
"black"
class=
"mx-0 px-0 body-2 font-weight-bold"
>
<span
class=
"body-2 font-weight-bold"
>
เกี่ยวกับเรา
</span>
</v-btn>
<v-menu
left
bottom
v-if=
"responsive"
>
<template
v-slot:activator=
"
{ on }">
<v-toolbar-side-icon
v-on=
"on"
></v-toolbar-side-icon>
</
template
>
<v-list>
<v-list-tile>
<v-list-tile-title>
หน้าหลัก
</v-list-tile-title>
</v-list-tile>
<v-list-tile>
<v-list-tile-title>
หน้าหลัก
</v-list-tile-title>
</v-list-tile>
<v-list-tile
>
<v-list-tile-title>
หน้าหลัก
</v-list-tile-title>
</v-list-tile>
<v-list-tile
>
<v-list-tile-title>
หน้าหลัก
</v-list-tile-title>
</v-list-tile>
<v-list-tile
>
<v-list-tile-title>
หน้าหลัก
</v-list-tile-title>
</v-list-tile>
<v-list-tile
>
<v-list-tile-title>
หน้าหลัก
</v-list-tile-title>
</v-list-tile>
</v-list>
</v-menu>
</v-toolbar>
</v-flex>
</v-layout>
<login
v-if=
"dialog === 'login'"
></login>
<register
v-if=
"dialog === 'register'"
></register>
</div>
</template>
<
script
>
import
Login
from
'../views/Login.vue'
;
import
Register
from
'../views/Register.vue'
;
export
default
{
props
:
[
'page'
],
components
:
{
'login'
:
Login
,
'register'
:
Register
},
data
()
{
return
{
responsive
:
false
,
dialog
:
'login'
}
},
computed
:
{
currentUser
()
{
return
this
.
$store
.
getters
.
getUser
.
name
}
},
mounted
()
{
this
.
onResponsiveInverted
()
window
.
addEventListener
(
'resize'
,
this
.
onResponsiveInverted
)
},
beforeDestroy
()
{
window
.
removeEventListener
(
'resize'
,
this
.
onResponsiveInverted
)
},
methods
:
{
onResponsiveInverted
()
{
if
(
window
.
innerWidth
<
991
)
{
this
.
responsive
=
true
}
else
{
this
.
responsive
=
false
}
},
logout
()
{
this
.
$store
.
dispatch
(
'logout'
)
},
login
()
{
this
.
dialog
=
'login'
this
.
$store
.
commit
(
'setDialog'
,
!
this
.
$store
.
getters
.
getDialog
)
},
register
()
{
this
.
dialog
=
'register'
this
.
$store
.
commit
(
'setDialog'
,
!
this
.
$store
.
getters
.
getDialog
)
}
}
}
</
script
>
<
style
lang=
"scss"
scoped
>
.colornav
{
background-color
:
#0d253d
;
}
</
style
>
.history/resources/js/components/Toolbar_20190424112051.vue
0 → 100644
View file @
b8a7da9b
<
template
>
<div>
<v-layout
row
wrap
white
>
<v-flex
xs12
sm10
offset-sm1
>
<v-toolbar
flat
color=
"white"
height=
"40"
>
<v-spacer></v-spacer>
<v-btn
small=
""
dark
color=
"deep-orange darken-4"
class=
"elevation-0"
@
click=
"$router.push('/employer')"
>
สำหรับผู้ประกอบการ
</v-btn>
<v-divider
inset
vertical
></v-divider>
<v-btn
v-if=
"!currentUser"
small
outline
color=
"deep-orange darken-4"
@
click
.
stop=
"login()"
>
<v-icon>
person
</v-icon>
เข้าสู่ระบบ
</v-btn>
<v-btn
v-if=
"!currentUser"
small
outline
color=
"deep-orange darken-4"
@
click
.
stop=
"register()"
>
<v-icon>
account_box
</v-icon>
ลงทะเบียน
</v-btn>
<v-btn
v-else
small
outline
color=
"deep-orange darken-4"
@
click=
"logout()"
>
<v-icon>
account_circle
</v-icon>
{{
currentUser
}}
</v-btn>
</v-toolbar>
</v-flex>
</v-layout>
<v-layout
row
wrap
fill-height
align-center
class=
"colornav"
>
<v-flex
xs12
sm10
offset-sm1
>
<v-toolbar
dark
color=
"#0d253d"
>
<!--v-if="page == 'app'"-->
<v-toolbar-title
class=
""
>
<router-link
to=
"/"
><img
src=
"../../../public/images/logocoop.png"
class=
"my-3"
width=
"140"
></router-link>
</v-toolbar-title>
<v-spacer></v-spacer>
<v-btn
v-if=
"!responsive"
flat
color=
"black"
class=
"mx-0 px-0"
>
<v-icon>
home
</v-icon>
</v-btn>
<v-btn
v-if=
"!responsive"
flat
color=
"black"
class=
"mx-0 px-0 body-2 font-weight-bold"
>
<span
class=
"body-2 font-weight-bold"
>
เกี่ยวกับเรา
</span>
</v-btn>
<v-btn
v-if=
"!responsive"
flat
color=
"black"
class=
"mx-0 px-0 body-2 font-weight-bold"
>
<span
class=
"body-2 font-weight-bold"
>
เกี่ยวกับเรา
</span>
</v-btn>
<v-btn
v-if=
"!responsive"
flat
color=
"black"
class=
"m x-0 px-0 body-2 font-weight-bold"
>
<span
class=
"body-2 font-weight-bold"
>
เกี่ยวกับเรา
</span>
</v-btn>
<v-btn
v-if=
"!responsive"
flat
color=
"black"
class=
"mx-0 px-0 body-2 font-weight-bold"
>
<span
class=
"body-2 font-weight-bold"
>
เกี่ยวกับเรา
</span>
</v-btn>
<v-btn
v-if=
"!responsive"
flat
color=
"black"
class=
"mx-0 px-0 body-2 font-weight-bold"
>
<span
class=
"body-2 font-weight-bold"
>
เกี่ยวกับเรา
</span>
</v-btn>
<v-btn
v-if=
"!responsive"
flat
color=
"black"
class=
"mx-0 px-0 body-2 font-weight-bold"
>
<span
class=
"body-2 font-weight-bold"
>
เกี่ยวกับเรา
</span>
</v-btn>
<v-menu
left
bottom
v-if=
"responsive"
>
<template
v-slot:activator=
"
{ on }">
<v-toolbar-side-icon
v-on=
"on"
></v-toolbar-side-icon>
</
template
>
<v-list>
<v-list-tile>
<v-list-tile-title>
หน้าหลัก
</v-list-tile-title>
</v-list-tile>
<v-list-tile>
<v-list-tile-title>
หน้าหลัก
</v-list-tile-title>
</v-list-tile>
<v-list-tile
>
<v-list-tile-title>
หน้าหลัก
</v-list-tile-title>
</v-list-tile>
<v-list-tile
>
<v-list-tile-title>
หน้าหลัก
</v-list-tile-title>
</v-list-tile>
<v-list-tile
>
<v-list-tile-title>
หน้าหลัก
</v-list-tile-title>
</v-list-tile>
<v-list-tile
>
<v-list-tile-title>
หน้าหลัก
</v-list-tile-title>
</v-list-tile>
</v-list>
</v-menu>
</v-toolbar>
</v-flex>
</v-layout>
<login
v-if=
"dialog === 'login'"
></login>
<register
v-if=
"dialog === 'register'"
></register>
</div>
</template>
<
script
>
import
Login
from
'../views/Login.vue'
;
import
Register
from
'../views/Register.vue'
;
export
default
{
props
:
[
'page'
],
components
:
{
'login'
:
Login
,
'register'
:
Register
},
data
()
{
return
{
responsive
:
false
,
dialog
:
'login'
}
},
computed
:
{
currentUser
()
{
return
this
.
$store
.
getters
.
getUser
.
name
}
},
mounted
()
{
this
.
onResponsiveInverted
()
window
.
addEventListener
(
'resize'
,
this
.
onResponsiveInverted
)
},
beforeDestroy
()
{
window
.
removeEventListener
(
'resize'
,
this
.
onResponsiveInverted
)
},
methods
:
{
onResponsiveInverted
()
{
if
(
window
.
innerWidth
<
991
)
{
this
.
responsive
=
true
}
else
{
this
.
responsive
=
false
}
},
logout
()
{
this
.
$store
.
dispatch
(
'logout'
)
},
login
()
{
this
.
dialog
=
'login'
this
.
$store
.
commit
(
'setDialog'
,
!
this
.
$store
.
getters
.
getDialog
)
},
register
()
{
this
.
dialog
=
'register'
this
.
$store
.
commit
(
'setDialog'
,
!
this
.
$store
.
getters
.
getDialog
)
}
}
}
</
script
>
<
style
lang=
"scss"
scoped
>
.colornav
{
background-color
:
#0d253d
;
}
</
style
>
.history/resources/js/components/Toolbar_20190424112139.vue
0 → 100644
View file @
b8a7da9b
<
template
>
<div>
<v-layout
row
wrap
fill-height
align-center
class=
"colornav"
>
<v-flex
xs12
sm10
offset-sm1
>
<v-toolbar
dark
color=
"#0d253d"
>
<!--v-if="page == 'app'"-->
<v-toolbar-title
class=
""
>
<router-link
to=
"/"
><img
src=
"../../../public/images/logocoop.png"
class=
"my-3"
width=
"140"
></router-link>
</v-toolbar-title>
<v-spacer></v-spacer>
<v-btn
v-if=
"!responsive"
flat
color=
"black"
class=
"mx-0 px-0"
>
<v-icon>
home
</v-icon>
</v-btn>
<v-btn
v-if=
"!responsive"
flat
color=
"black"
class=
"mx-0 px-0 body-2 font-weight-bold"
>
<span
class=
"body-2 font-weight-bold"
>
เกี่ยวกับเรา
</span>
</v-btn>
<v-btn
v-if=
"!responsive"
flat
color=
"black"
class=
"mx-0 px-0 body-2 font-weight-bold"
>
<span
class=
"body-2 font-weight-bold"
>
เกี่ยวกับเรา
</span>
</v-btn>
<v-btn
v-if=
"!responsive"
flat
color=
"black"
class=
"m x-0 px-0 body-2 font-weight-bold"
>
<span
class=
"body-2 font-weight-bold"
>
เกี่ยวกับเรา
</span>
</v-btn>
<v-btn
v-if=
"!responsive"
flat
color=
"black"
class=
"mx-0 px-0 body-2 font-weight-bold"
>
<span
class=
"body-2 font-weight-bold"
>
เกี่ยวกับเรา
</span>
</v-btn>
<v-btn
v-if=
"!responsive"
flat
color=
"black"
class=
"mx-0 px-0 body-2 font-weight-bold"
>
<span
class=
"body-2 font-weight-bold"
>
เกี่ยวกับเรา
</span>
</v-btn>
<v-btn
v-if=
"!responsive"
flat
color=
"black"
class=
"mx-0 px-0 body-2 font-weight-bold"
>
<span
class=
"body-2 font-weight-bold"
>
เกี่ยวกับเรา
</span>
</v-btn>
<v-menu
left
bottom
v-if=
"responsive"
>
<template
v-slot:activator=
"
{ on }">
<v-toolbar-side-icon
v-on=
"on"
></v-toolbar-side-icon>
</
template
>
<v-list>
<v-list-tile>
<v-list-tile-title>
หน้าหลัก
</v-list-tile-title>
</v-list-tile>
<v-list-tile>
<v-list-tile-title>
หน้าหลัก
</v-list-tile-title>
</v-list-tile>
<v-list-tile
>
<v-list-tile-title>
หน้าหลัก
</v-list-tile-title>
</v-list-tile>
<v-list-tile
>
<v-list-tile-title>
หน้าหลัก
</v-list-tile-title>
</v-list-tile>
<v-list-tile
>
<v-list-tile-title>
หน้าหลัก
</v-list-tile-title>
</v-list-tile>
<v-list-tile
>
<v-list-tile-title>
หน้าหลัก
</v-list-tile-title>
</v-list-tile>
</v-list>
</v-menu>
</v-toolbar>
</v-flex>
</v-layout>
<v-layout
row
wrap
white
>
<v-flex
xs12
sm10
offset-sm1
>
<v-toolbar
flat
color=
"white"
height=
"40"
>
<v-spacer></v-spacer>
<v-btn
small=
""
dark
color=
"deep-orange darken-4"
class=
"elevation-0"
@
click=
"$router.push('/employer')"
>
สำหรับผู้ประกอบการ
</v-btn>
<v-divider
inset
vertical
></v-divider>
<v-btn
v-if=
"!currentUser"
small
outline
color=
"deep-orange darken-4"
@
click
.
stop=
"login()"
>
<v-icon>
person
</v-icon>
เข้าสู่ระบบ
</v-btn>
<v-btn
v-if=
"!currentUser"
small
outline
color=
"deep-orange darken-4"
@
click
.
stop=
"register()"
>
<v-icon>
account_box
</v-icon>
ลงทะเบียน
</v-btn>
<v-btn
v-else
small
outline
color=
"deep-orange darken-4"
@
click=
"logout()"
>
<v-icon>
account_circle
</v-icon>
{{ currentUser }}
</v-btn>
</v-toolbar>
</v-flex>
</v-layout>
<login
v-if=
"dialog === 'login'"
></login>
<register
v-if=
"dialog === 'register'"
></register>
</div>
</template>
<
script
>
import
Login
from
'../views/Login.vue'
;
import
Register
from
'../views/Register.vue'
;
export
default
{
props
:
[
'page'
],
components
:
{
'login'
:
Login
,
'register'
:
Register
},
data
()
{
return
{
responsive
:
false
,
dialog
:
'login'
}
},
computed
:
{
currentUser
()
{
return
this
.
$store
.
getters
.
getUser
.
name
}
},
mounted
()
{
this
.
onResponsiveInverted
()
window
.
addEventListener
(
'resize'
,
this
.
onResponsiveInverted
)
},
beforeDestroy
()
{
window
.
removeEventListener
(
'resize'
,
this
.
onResponsiveInverted
)
},
methods
:
{
onResponsiveInverted
()
{
if
(
window
.
innerWidth
<
991
)
{
this
.
responsive
=
true
}
else
{
this
.
responsive
=
false
}
},
logout
()
{
this
.
$store
.
dispatch
(
'logout'
)
},
login
()
{
this
.
dialog
=
'login'
this
.
$store
.
commit
(
'setDialog'
,
!
this
.
$store
.
getters
.
getDialog
)
},
register
()
{
this
.
dialog
=
'register'
this
.
$store
.
commit
(
'setDialog'
,
!
this
.
$store
.
getters
.
getDialog
)
}
}
}
</
script
>
<
style
lang=
"scss"
scoped
>
.colornav
{
background-color
:
#0d253d
;
}
</
style
>
.history/resources/js/components/Toolbar_20190424112241.vue
0 → 100644
View file @
b8a7da9b
<
template
>
<div>
<v-layout
row
wrap
fill-height
align-center
class=
"colornav"
>
<v-flex
xs12
sm10
offset-sm1
>
<v-toolbar
dark
color=
"#0d253d"
>
<!--v-if="page == 'app'"-->
<v-toolbar-title
class=
""
>
<router-link
to=
"/"
><img
src=
"../../../public/images/logocoop.png"
class=
"my-3"
width=
"140"
></router-link>
</v-toolbar-title>
<v-spacer></v-spacer>
<router-link
to=
"/"
>
<v-btn
v-if=
"!responsive"
flat
color=
"black"
class=
"mx-0 px-0"
>
<v-icon>
home
</v-icon>
</v-btn>
</router-link>
<v-btn
v-if=
"!responsive"
flat
color=
"black"
class=
"mx-0 px-0 body-2 font-weight-bold"
>
<span
class=
"body-2 font-weight-bold"
>
เกี่ยวกับเรา
</span>
</v-btn>
<v-btn
v-if=
"!responsive"
flat
color=
"black"
class=
"mx-0 px-0 body-2 font-weight-bold"
>
<span
class=
"body-2 font-weight-bold"
>
เกี่ยวกับเรา
</span>
</v-btn>
<v-btn
v-if=
"!responsive"
flat
color=
"black"
class=
"m x-0 px-0 body-2 font-weight-bold"
>
<span
class=
"body-2 font-weight-bold"
>
เกี่ยวกับเรา
</span>
</v-btn>
<v-btn
v-if=
"!responsive"
flat
color=
"black"
class=
"mx-0 px-0 body-2 font-weight-bold"
>
<span
class=
"body-2 font-weight-bold"
>
เกี่ยวกับเรา
</span>
</v-btn>
<v-btn
v-if=
"!responsive"
flat
color=
"black"
class=
"mx-0 px-0 body-2 font-weight-bold"
>
<span
class=
"body-2 font-weight-bold"
>
เกี่ยวกับเรา
</span>
</v-btn>
<v-btn
v-if=
"!responsive"
flat
color=
"black"
class=
"mx-0 px-0 body-2 font-weight-bold"
>
<span
class=
"body-2 font-weight-bold"
>
เกี่ยวกับเรา
</span>
</v-btn>
<v-menu
left
bottom
v-if=
"responsive"
>
<template
v-slot:activator=
"
{ on }">
<v-toolbar-side-icon
v-on=
"on"
></v-toolbar-side-icon>
</
template
>
<v-list>
<v-list-tile>
<v-list-tile-title>
หน้าหลัก
</v-list-tile-title>
</v-list-tile>
<v-list-tile>
<v-list-tile-title>
หน้าหลัก
</v-list-tile-title>
</v-list-tile>
<v-list-tile
>
<v-list-tile-title>
หน้าหลัก
</v-list-tile-title>
</v-list-tile>
<v-list-tile
>
<v-list-tile-title>
หน้าหลัก
</v-list-tile-title>
</v-list-tile>
<v-list-tile
>
<v-list-tile-title>
หน้าหลัก
</v-list-tile-title>
</v-list-tile>
<v-list-tile
>
<v-list-tile-title>
หน้าหลัก
</v-list-tile-title>
</v-list-tile>
</v-list>
</v-menu>
</v-toolbar>
</v-flex>
</v-layout>
<v-layout
row
wrap
white
>
<v-flex
xs12
sm10
offset-sm1
>
<v-toolbar
flat
color=
"white"
height=
"40"
>
<v-spacer></v-spacer>
<v-btn
small=
""
dark
color=
"deep-orange darken-4"
class=
"elevation-0"
@
click=
"$router.push('/employer')"
>
สำหรับผู้ประกอบการ
</v-btn>
<v-divider
inset
vertical
></v-divider>
<v-btn
v-if=
"!currentUser"
small
outline
color=
"deep-orange darken-4"
@
click
.
stop=
"login()"
>
<v-icon>
person
</v-icon>
เข้าสู่ระบบ
</v-btn>
<v-btn
v-if=
"!currentUser"
small
outline
color=
"deep-orange darken-4"
@
click
.
stop=
"register()"
>
<v-icon>
account_box
</v-icon>
ลงทะเบียน
</v-btn>
<v-btn
v-else
small
outline
color=
"deep-orange darken-4"
@
click=
"logout()"
>
<v-icon>
account_circle
</v-icon>
{{ currentUser }}
</v-btn>
</v-toolbar>
</v-flex>
</v-layout>
<login
v-if=
"dialog === 'login'"
></login>
<register
v-if=
"dialog === 'register'"
></register>
</div>
</template>
<
script
>
import
Login
from
'../views/Login.vue'
;
import
Register
from
'../views/Register.vue'
;
export
default
{
props
:
[
'page'
],
components
:
{
'login'
:
Login
,
'register'
:
Register
},
data
()
{
return
{
responsive
:
false
,
dialog
:
'login'
}
},
computed
:
{
currentUser
()
{
return
this
.
$store
.
getters
.
getUser
.
name
}
},
mounted
()
{
this
.
onResponsiveInverted
()
window
.
addEventListener
(
'resize'
,
this
.
onResponsiveInverted
)
},
beforeDestroy
()
{
window
.
removeEventListener
(
'resize'
,
this
.
onResponsiveInverted
)
},
methods
:
{
onResponsiveInverted
()
{
if
(
window
.
innerWidth
<
991
)
{
this
.
responsive
=
true
}
else
{
this
.
responsive
=
false
}
},
logout
()
{
this
.
$store
.
dispatch
(
'logout'
)
},
login
()
{
this
.
dialog
=
'login'
this
.
$store
.
commit
(
'setDialog'
,
!
this
.
$store
.
getters
.
getDialog
)
},
register
()
{
this
.
dialog
=
'register'
this
.
$store
.
commit
(
'setDialog'
,
!
this
.
$store
.
getters
.
getDialog
)
}
}
}
</
script
>
<
style
lang=
"scss"
scoped
>
.colornav
{
background-color
:
#0d253d
;
}
</
style
>
.history/resources/js/components/Toolbar_20190424112249.vue
0 → 100644
View file @
b8a7da9b
<
template
>
<div>
<v-layout
row
wrap
fill-height
align-center
class=
"colornav"
>
<v-flex
xs12
sm10
offset-sm1
>
<v-toolbar
dark
color=
"#0d253d"
>
<!--v-if="page == 'app'"-->
<v-toolbar-title
class=
""
>
<router-link
to=
"/"
><img
src=
"../../../public/images/logocoop.png"
class=
"my-3"
width=
"140"
></router-link>
</v-toolbar-title>
<v-spacer></v-spacer>
<router-link
to=
"/"
>
<v-btn
v-if=
"!responsive"
dark
color=
"black"
class=
"mx-0 px-0"
>
<v-icon>
home
</v-icon>
</v-btn>
</router-link>
<v-btn
v-if=
"!responsive"
flat
color=
"black"
class=
"mx-0 px-0 body-2 font-weight-bold"
>
<span
class=
"body-2 font-weight-bold"
>
เกี่ยวกับเรา
</span>
</v-btn>
<v-btn
v-if=
"!responsive"
flat
color=
"black"
class=
"mx-0 px-0 body-2 font-weight-bold"
>
<span
class=
"body-2 font-weight-bold"
>
เกี่ยวกับเรา
</span>
</v-btn>
<v-btn
v-if=
"!responsive"
flat
color=
"black"
class=
"m x-0 px-0 body-2 font-weight-bold"
>
<span
class=
"body-2 font-weight-bold"
>
เกี่ยวกับเรา
</span>
</v-btn>
<v-btn
v-if=
"!responsive"
flat
color=
"black"
class=
"mx-0 px-0 body-2 font-weight-bold"
>
<span
class=
"body-2 font-weight-bold"
>
เกี่ยวกับเรา
</span>
</v-btn>
<v-btn
v-if=
"!responsive"
flat
color=
"black"
class=
"mx-0 px-0 body-2 font-weight-bold"
>
<span
class=
"body-2 font-weight-bold"
>
เกี่ยวกับเรา
</span>
</v-btn>
<v-btn
v-if=
"!responsive"
flat
color=
"black"
class=
"mx-0 px-0 body-2 font-weight-bold"
>
<span
class=
"body-2 font-weight-bold"
>
เกี่ยวกับเรา
</span>
</v-btn>
<v-menu
left
bottom
v-if=
"responsive"
>
<template
v-slot:activator=
"
{ on }">
<v-toolbar-side-icon
v-on=
"on"
></v-toolbar-side-icon>
</
template
>
<v-list>
<v-list-tile>
<v-list-tile-title>
หน้าหลัก
</v-list-tile-title>
</v-list-tile>
<v-list-tile>
<v-list-tile-title>
หน้าหลัก
</v-list-tile-title>
</v-list-tile>
<v-list-tile
>
<v-list-tile-title>
หน้าหลัก
</v-list-tile-title>
</v-list-tile>
<v-list-tile
>
<v-list-tile-title>
หน้าหลัก
</v-list-tile-title>
</v-list-tile>
<v-list-tile
>
<v-list-tile-title>
หน้าหลัก
</v-list-tile-title>
</v-list-tile>
<v-list-tile
>
<v-list-tile-title>
หน้าหลัก
</v-list-tile-title>
</v-list-tile>
</v-list>
</v-menu>
</v-toolbar>
</v-flex>
</v-layout>
<v-layout
row
wrap
white
>
<v-flex
xs12
sm10
offset-sm1
>
<v-toolbar
flat
color=
"white"
height=
"40"
>
<v-spacer></v-spacer>
<v-btn
small=
""
dark
color=
"deep-orange darken-4"
class=
"elevation-0"
@
click=
"$router.push('/employer')"
>
สำหรับผู้ประกอบการ
</v-btn>
<v-divider
inset
vertical
></v-divider>
<v-btn
v-if=
"!currentUser"
small
outline
color=
"deep-orange darken-4"
@
click
.
stop=
"login()"
>
<v-icon>
person
</v-icon>
เข้าสู่ระบบ
</v-btn>
<v-btn
v-if=
"!currentUser"
small
outline
color=
"deep-orange darken-4"
@
click
.
stop=
"register()"
>
<v-icon>
account_box
</v-icon>
ลงทะเบียน
</v-btn>
<v-btn
v-else
small
outline
color=
"deep-orange darken-4"
@
click=
"logout()"
>
<v-icon>
account_circle
</v-icon>
{{ currentUser }}
</v-btn>
</v-toolbar>
</v-flex>
</v-layout>
<login
v-if=
"dialog === 'login'"
></login>
<register
v-if=
"dialog === 'register'"
></register>
</div>
</template>
<
script
>
import
Login
from
'../views/Login.vue'
;
import
Register
from
'../views/Register.vue'
;
export
default
{
props
:
[
'page'
],
components
:
{
'login'
:
Login
,
'register'
:
Register
},
data
()
{
return
{
responsive
:
false
,
dialog
:
'login'
}
},
computed
:
{
currentUser
()
{
return
this
.
$store
.
getters
.
getUser
.
name
}
},
mounted
()
{
this
.
onResponsiveInverted
()
window
.
addEventListener
(
'resize'
,
this
.
onResponsiveInverted
)
},
beforeDestroy
()
{
window
.
removeEventListener
(
'resize'
,
this
.
onResponsiveInverted
)
},
methods
:
{
onResponsiveInverted
()
{
if
(
window
.
innerWidth
<
991
)
{
this
.
responsive
=
true
}
else
{
this
.
responsive
=
false
}
},
logout
()
{
this
.
$store
.
dispatch
(
'logout'
)
},
login
()
{
this
.
dialog
=
'login'
this
.
$store
.
commit
(
'setDialog'
,
!
this
.
$store
.
getters
.
getDialog
)
},
register
()
{
this
.
dialog
=
'register'
this
.
$store
.
commit
(
'setDialog'
,
!
this
.
$store
.
getters
.
getDialog
)
}
}
}
</
script
>
<
style
lang=
"scss"
scoped
>
.colornav
{
background-color
:
#0d253d
;
}
</
style
>
.history/resources/js/components/Toolbar_20190424112255.vue
0 → 100644
View file @
b8a7da9b
<
template
>
<div>
<v-layout
row
wrap
fill-height
align-center
class=
"colornav"
>
<v-flex
xs12
sm10
offset-sm1
>
<v-toolbar
dark
color=
"#0d253d"
>
<!--v-if="page == 'app'"-->
<v-toolbar-title
class=
""
>
<router-link
to=
"/"
><img
src=
"../../../public/images/logocoop.png"
class=
"my-3"
width=
"140"
></router-link>
</v-toolbar-title>
<v-spacer></v-spacer>
<router-link
to=
"/"
>
<v-btn
v-if=
"!responsive"
dark
class=
"mx-0 px-0"
>
<v-icon>
home
</v-icon>
</v-btn>
</router-link>
<v-btn
v-if=
"!responsive"
flat
color=
"black"
class=
"mx-0 px-0 body-2 font-weight-bold"
>
<span
class=
"body-2 font-weight-bold"
>
เกี่ยวกับเรา
</span>
</v-btn>
<v-btn
v-if=
"!responsive"
flat
color=
"black"
class=
"mx-0 px-0 body-2 font-weight-bold"
>
<span
class=
"body-2 font-weight-bold"
>
เกี่ยวกับเรา
</span>
</v-btn>
<v-btn
v-if=
"!responsive"
flat
color=
"black"
class=
"m x-0 px-0 body-2 font-weight-bold"
>
<span
class=
"body-2 font-weight-bold"
>
เกี่ยวกับเรา
</span>
</v-btn>
<v-btn
v-if=
"!responsive"
flat
color=
"black"
class=
"mx-0 px-0 body-2 font-weight-bold"
>
<span
class=
"body-2 font-weight-bold"
>
เกี่ยวกับเรา
</span>
</v-btn>
<v-btn
v-if=
"!responsive"
flat
color=
"black"
class=
"mx-0 px-0 body-2 font-weight-bold"
>
<span
class=
"body-2 font-weight-bold"
>
เกี่ยวกับเรา
</span>
</v-btn>
<v-btn
v-if=
"!responsive"
flat
color=
"black"
class=
"mx-0 px-0 body-2 font-weight-bold"
>
<span
class=
"body-2 font-weight-bold"
>
เกี่ยวกับเรา
</span>
</v-btn>
<v-menu
left
bottom
v-if=
"responsive"
>
<template
v-slot:activator=
"
{ on }">
<v-toolbar-side-icon
v-on=
"on"
></v-toolbar-side-icon>
</
template
>
<v-list>
<v-list-tile>
<v-list-tile-title>
หน้าหลัก
</v-list-tile-title>
</v-list-tile>
<v-list-tile>
<v-list-tile-title>
หน้าหลัก
</v-list-tile-title>
</v-list-tile>
<v-list-tile
>
<v-list-tile-title>
หน้าหลัก
</v-list-tile-title>
</v-list-tile>
<v-list-tile
>
<v-list-tile-title>
หน้าหลัก
</v-list-tile-title>
</v-list-tile>
<v-list-tile
>
<v-list-tile-title>
หน้าหลัก
</v-list-tile-title>
</v-list-tile>
<v-list-tile
>
<v-list-tile-title>
หน้าหลัก
</v-list-tile-title>
</v-list-tile>
</v-list>
</v-menu>
</v-toolbar>
</v-flex>
</v-layout>
<v-layout
row
wrap
white
>
<v-flex
xs12
sm10
offset-sm1
>
<v-toolbar
flat
color=
"white"
height=
"40"
>
<v-spacer></v-spacer>
<v-btn
small=
""
dark
color=
"deep-orange darken-4"
class=
"elevation-0"
@
click=
"$router.push('/employer')"
>
สำหรับผู้ประกอบการ
</v-btn>
<v-divider
inset
vertical
></v-divider>
<v-btn
v-if=
"!currentUser"
small
outline
color=
"deep-orange darken-4"
@
click
.
stop=
"login()"
>
<v-icon>
person
</v-icon>
เข้าสู่ระบบ
</v-btn>
<v-btn
v-if=
"!currentUser"
small
outline
color=
"deep-orange darken-4"
@
click
.
stop=
"register()"
>
<v-icon>
account_box
</v-icon>
ลงทะเบียน
</v-btn>
<v-btn
v-else
small
outline
color=
"deep-orange darken-4"
@
click=
"logout()"
>
<v-icon>
account_circle
</v-icon>
{{ currentUser }}
</v-btn>
</v-toolbar>
</v-flex>
</v-layout>
<login
v-if=
"dialog === 'login'"
></login>
<register
v-if=
"dialog === 'register'"
></register>
</div>
</template>
<
script
>
import
Login
from
'../views/Login.vue'
;
import
Register
from
'../views/Register.vue'
;
export
default
{
props
:
[
'page'
],
components
:
{
'login'
:
Login
,
'register'
:
Register
},
data
()
{
return
{
responsive
:
false
,
dialog
:
'login'
}
},
computed
:
{
currentUser
()
{
return
this
.
$store
.
getters
.
getUser
.
name
}
},
mounted
()
{
this
.
onResponsiveInverted
()
window
.
addEventListener
(
'resize'
,
this
.
onResponsiveInverted
)
},
beforeDestroy
()
{
window
.
removeEventListener
(
'resize'
,
this
.
onResponsiveInverted
)
},
methods
:
{
onResponsiveInverted
()
{
if
(
window
.
innerWidth
<
991
)
{
this
.
responsive
=
true
}
else
{
this
.
responsive
=
false
}
},
logout
()
{
this
.
$store
.
dispatch
(
'logout'
)
},
login
()
{
this
.
dialog
=
'login'
this
.
$store
.
commit
(
'setDialog'
,
!
this
.
$store
.
getters
.
getDialog
)
},
register
()
{
this
.
dialog
=
'register'
this
.
$store
.
commit
(
'setDialog'
,
!
this
.
$store
.
getters
.
getDialog
)
}
}
}
</
script
>
<
style
lang=
"scss"
scoped
>
.colornav
{
background-color
:
#0d253d
;
}
</
style
>
.history/resources/js/components/Toolbar_20190424112654.vue
0 → 100644
View file @
b8a7da9b
<
template
>
<div>
<v-layout
row
wrap
fill-height
align-center
class=
"colornav"
>
<v-flex
xs12
sm10
offset-sm1
>
<v-toolbar
dark
color=
"#0d253d"
>
<!--v-if="page == 'app'"-->
<v-toolbar-title
class=
""
>
<router-link
to=
"/"
><img
src=
"../../../public/images/logocoop.png"
class=
"my-3"
width=
"140"
></router-link>
</v-toolbar-title>
<v-spacer></v-spacer>
<router-link
to=
"/"
>
<v-btn
v-if=
"!responsive"
flat
color=
"white"
class=
"mx-0 px-0"
>
<v-icon>
home
</v-icon>
</v-btn>
</router-link>
<v-btn
v-if=
"!responsive"
flat
color=
"black"
class=
"mx-0 px-0 body-2 font-weight-bold"
>
<span
class=
"body-2 font-weight-bold"
>
เกี่ยวกับเรา
</span>
</v-btn>
<v-btn
v-if=
"!responsive"
flat
color=
"black"
class=
"mx-0 px-0 body-2 font-weight-bold"
>
<span
class=
"body-2 font-weight-bold"
>
เกี่ยวกับเรา
</span>
</v-btn>
<v-btn
v-if=
"!responsive"
flat
color=
"black"
class=
"m x-0 px-0 body-2 font-weight-bold"
>
<span
class=
"body-2 font-weight-bold"
>
เกี่ยวกับเรา
</span>
</v-btn>
<v-btn
v-if=
"!responsive"
flat
color=
"black"
class=
"mx-0 px-0 body-2 font-weight-bold"
>
<span
class=
"body-2 font-weight-bold"
>
เกี่ยวกับเรา
</span>
</v-btn>
<v-btn
v-if=
"!responsive"
flat
color=
"black"
class=
"mx-0 px-0 body-2 font-weight-bold"
>
<span
class=
"body-2 font-weight-bold"
>
เกี่ยวกับเรา
</span>
</v-btn>
<v-btn
v-if=
"!responsive"
flat
color=
"black"
class=
"mx-0 px-0 body-2 font-weight-bold"
>
<span
class=
"body-2 font-weight-bold"
>
เกี่ยวกับเรา
</span>
</v-btn>
<v-menu
left
bottom
v-if=
"responsive"
>
<template
v-slot:activator=
"
{ on }">
<v-toolbar-side-icon
v-on=
"on"
></v-toolbar-side-icon>
</
template
>
<v-list>
<v-list-tile>
<v-list-tile-title>
หน้าหลัก
</v-list-tile-title>
</v-list-tile>
<v-list-tile>
<v-list-tile-title>
หน้าหลัก
</v-list-tile-title>
</v-list-tile>
<v-list-tile
>
<v-list-tile-title>
หน้าหลัก
</v-list-tile-title>
</v-list-tile>
<v-list-tile
>
<v-list-tile-title>
หน้าหลัก
</v-list-tile-title>
</v-list-tile>
<v-list-tile
>
<v-list-tile-title>
หน้าหลัก
</v-list-tile-title>
</v-list-tile>
<v-list-tile
>
<v-list-tile-title>
หน้าหลัก
</v-list-tile-title>
</v-list-tile>
</v-list>
</v-menu>
</v-toolbar>
</v-flex>
</v-layout>
<v-layout
row
wrap
white
>
<v-flex
xs12
sm10
offset-sm1
>
<v-toolbar
flat
color=
"white"
height=
"40"
>
<v-spacer></v-spacer>
<v-btn
small=
""
dark
color=
"deep-orange darken-4"
class=
"elevation-0"
@
click=
"$router.push('/employer')"
>
สำหรับผู้ประกอบการ
</v-btn>
<v-divider
inset
vertical
></v-divider>
<v-btn
v-if=
"!currentUser"
small
outline
color=
"deep-orange darken-4"
@
click
.
stop=
"login()"
>
<v-icon>
person
</v-icon>
เข้าสู่ระบบ
</v-btn>
<v-btn
v-if=
"!currentUser"
small
outline
color=
"deep-orange darken-4"
@
click
.
stop=
"register()"
>
<v-icon>
account_box
</v-icon>
ลงทะเบียน
</v-btn>
<v-btn
v-else
small
outline
color=
"deep-orange darken-4"
@
click=
"logout()"
>
<v-icon>
account_circle
</v-icon>
{{ currentUser }}
</v-btn>
</v-toolbar>
</v-flex>
</v-layout>
<login
v-if=
"dialog === 'login'"
></login>
<register
v-if=
"dialog === 'register'"
></register>
</div>
</template>
<
script
>
import
Login
from
'../views/Login.vue'
;
import
Register
from
'../views/Register.vue'
;
export
default
{
props
:
[
'page'
],
components
:
{
'login'
:
Login
,
'register'
:
Register
},
data
()
{
return
{
responsive
:
false
,
dialog
:
'login'
}
},
computed
:
{
currentUser
()
{
return
this
.
$store
.
getters
.
getUser
.
name
}
},
mounted
()
{
this
.
onResponsiveInverted
()
window
.
addEventListener
(
'resize'
,
this
.
onResponsiveInverted
)
},
beforeDestroy
()
{
window
.
removeEventListener
(
'resize'
,
this
.
onResponsiveInverted
)
},
methods
:
{
onResponsiveInverted
()
{
if
(
window
.
innerWidth
<
991
)
{
this
.
responsive
=
true
}
else
{
this
.
responsive
=
false
}
},
logout
()
{
this
.
$store
.
dispatch
(
'logout'
)
},
login
()
{
this
.
dialog
=
'login'
this
.
$store
.
commit
(
'setDialog'
,
!
this
.
$store
.
getters
.
getDialog
)
},
register
()
{
this
.
dialog
=
'register'
this
.
$store
.
commit
(
'setDialog'
,
!
this
.
$store
.
getters
.
getDialog
)
}
}
}
</
script
>
<
style
lang=
"scss"
scoped
>
.colornav
{
background-color
:
#0d253d
;
}
</
style
>
.history/resources/js/components/Toolbar_20190424112717.vue
0 → 100644
View file @
b8a7da9b
<
template
>
<div>
<v-layout
row
wrap
fill-height
align-center
class=
"colornav"
>
<v-flex
xs12
sm10
offset-sm1
>
<v-toolbar
color=
"#0d253d"
>
<!--v-if="page == 'app'"-->
<v-toolbar-title
class=
""
>
<router-link
to=
"/"
><img
src=
"../../../public/images/logocoop.png"
class=
"my-3"
width=
"140"
></router-link>
</v-toolbar-title>
<v-spacer></v-spacer>
<router-link
to=
"/"
>
<v-btn
v-if=
"!responsive"
flat
color=
"white"
class=
"mx-0 px-0"
>
<v-icon>
home
</v-icon>
</v-btn>
</router-link>
<v-btn
v-if=
"!responsive"
flat
color=
"black"
class=
"mx-0 px-0 body-2 font-weight-bold"
>
<span
class=
"body-2 font-weight-bold"
>
เกี่ยวกับเรา
</span>
</v-btn>
<v-btn
v-if=
"!responsive"
flat
color=
"black"
class=
"mx-0 px-0 body-2 font-weight-bold"
>
<span
class=
"body-2 font-weight-bold"
>
เกี่ยวกับเรา
</span>
</v-btn>
<v-btn
v-if=
"!responsive"
flat
color=
"black"
class=
"m x-0 px-0 body-2 font-weight-bold"
>
<span
class=
"body-2 font-weight-bold"
>
เกี่ยวกับเรา
</span>
</v-btn>
<v-btn
v-if=
"!responsive"
flat
color=
"black"
class=
"mx-0 px-0 body-2 font-weight-bold"
>
<span
class=
"body-2 font-weight-bold"
>
เกี่ยวกับเรา
</span>
</v-btn>
<v-btn
v-if=
"!responsive"
flat
color=
"black"
class=
"mx-0 px-0 body-2 font-weight-bold"
>
<span
class=
"body-2 font-weight-bold"
>
เกี่ยวกับเรา
</span>
</v-btn>
<v-btn
v-if=
"!responsive"
flat
color=
"black"
class=
"mx-0 px-0 body-2 font-weight-bold"
>
<span
class=
"body-2 font-weight-bold"
>
เกี่ยวกับเรา
</span>
</v-btn>
<v-menu
left
bottom
v-if=
"responsive"
>
<template
v-slot:activator=
"
{ on }">
<v-toolbar-side-icon
v-on=
"on"
></v-toolbar-side-icon>
</
template
>
<v-list>
<v-list-tile>
<v-list-tile-title>
หน้าหลัก
</v-list-tile-title>
</v-list-tile>
<v-list-tile>
<v-list-tile-title>
หน้าหลัก
</v-list-tile-title>
</v-list-tile>
<v-list-tile
>
<v-list-tile-title>
หน้าหลัก
</v-list-tile-title>
</v-list-tile>
<v-list-tile
>
<v-list-tile-title>
หน้าหลัก
</v-list-tile-title>
</v-list-tile>
<v-list-tile
>
<v-list-tile-title>
หน้าหลัก
</v-list-tile-title>
</v-list-tile>
<v-list-tile
>
<v-list-tile-title>
หน้าหลัก
</v-list-tile-title>
</v-list-tile>
</v-list>
</v-menu>
</v-toolbar>
</v-flex>
</v-layout>
<v-layout
row
wrap
white
>
<v-flex
xs12
sm10
offset-sm1
>
<v-toolbar
flat
color=
"white"
height=
"40"
>
<v-spacer></v-spacer>
<v-btn
small=
""
dark
color=
"deep-orange darken-4"
class=
"elevation-0"
@
click=
"$router.push('/employer')"
>
สำหรับผู้ประกอบการ
</v-btn>
<v-divider
inset
vertical
></v-divider>
<v-btn
v-if=
"!currentUser"
small
outline
color=
"deep-orange darken-4"
@
click
.
stop=
"login()"
>
<v-icon>
person
</v-icon>
เข้าสู่ระบบ
</v-btn>
<v-btn
v-if=
"!currentUser"
small
outline
color=
"deep-orange darken-4"
@
click
.
stop=
"register()"
>
<v-icon>
account_box
</v-icon>
ลงทะเบียน
</v-btn>
<v-btn
v-else
small
outline
color=
"deep-orange darken-4"
@
click=
"logout()"
>
<v-icon>
account_circle
</v-icon>
{{ currentUser }}
</v-btn>
</v-toolbar>
</v-flex>
</v-layout>
<login
v-if=
"dialog === 'login'"
></login>
<register
v-if=
"dialog === 'register'"
></register>
</div>
</template>
<
script
>
import
Login
from
'../views/Login.vue'
;
import
Register
from
'../views/Register.vue'
;
export
default
{
props
:
[
'page'
],
components
:
{
'login'
:
Login
,
'register'
:
Register
},
data
()
{
return
{
responsive
:
false
,
dialog
:
'login'
}
},
computed
:
{
currentUser
()
{
return
this
.
$store
.
getters
.
getUser
.
name
}
},
mounted
()
{
this
.
onResponsiveInverted
()
window
.
addEventListener
(
'resize'
,
this
.
onResponsiveInverted
)
},
beforeDestroy
()
{
window
.
removeEventListener
(
'resize'
,
this
.
onResponsiveInverted
)
},
methods
:
{
onResponsiveInverted
()
{
if
(
window
.
innerWidth
<
991
)
{
this
.
responsive
=
true
}
else
{
this
.
responsive
=
false
}
},
logout
()
{
this
.
$store
.
dispatch
(
'logout'
)
},
login
()
{
this
.
dialog
=
'login'
this
.
$store
.
commit
(
'setDialog'
,
!
this
.
$store
.
getters
.
getDialog
)
},
register
()
{
this
.
dialog
=
'register'
this
.
$store
.
commit
(
'setDialog'
,
!
this
.
$store
.
getters
.
getDialog
)
}
}
}
</
script
>
<
style
lang=
"scss"
scoped
>
.colornav
{
background-color
:
#0d253d
;
}
</
style
>
.history/resources/js/components/Toolbar_20190424112739.vue
0 → 100644
View file @
b8a7da9b
<
template
>
<div>
<v-layout
row
wrap
fill-height
align-center
class=
"colornav"
>
<v-flex
xs12
sm10
offset-sm1
>
<v-toolbar
flat
color=
"#0d253d"
>
<!--v-if="page == 'app'"-->
<v-toolbar-title
class=
""
>
<router-link
to=
"/"
><img
src=
"../../../public/images/logocoop.png"
class=
"my-3"
width=
"140"
></router-link>
</v-toolbar-title>
<v-spacer></v-spacer>
<router-link
to=
"/"
>
<v-btn
v-if=
"!responsive"
flat
color=
"white"
class=
"mx-0 px-0"
>
<v-icon>
home
</v-icon>
</v-btn>
</router-link>
<v-btn
v-if=
"!responsive"
flat
color=
"black"
class=
"mx-0 px-0 body-2 font-weight-bold"
>
<span
class=
"body-2 font-weight-bold"
>
เกี่ยวกับเรา
</span>
</v-btn>
<v-btn
v-if=
"!responsive"
flat
color=
"black"
class=
"mx-0 px-0 body-2 font-weight-bold"
>
<span
class=
"body-2 font-weight-bold"
>
เกี่ยวกับเรา
</span>
</v-btn>
<v-btn
v-if=
"!responsive"
flat
color=
"black"
class=
"m x-0 px-0 body-2 font-weight-bold"
>
<span
class=
"body-2 font-weight-bold"
>
เกี่ยวกับเรา
</span>
</v-btn>
<v-btn
v-if=
"!responsive"
flat
color=
"black"
class=
"mx-0 px-0 body-2 font-weight-bold"
>
<span
class=
"body-2 font-weight-bold"
>
เกี่ยวกับเรา
</span>
</v-btn>
<v-btn
v-if=
"!responsive"
flat
color=
"black"
class=
"mx-0 px-0 body-2 font-weight-bold"
>
<span
class=
"body-2 font-weight-bold"
>
เกี่ยวกับเรา
</span>
</v-btn>
<v-btn
v-if=
"!responsive"
flat
color=
"black"
class=
"mx-0 px-0 body-2 font-weight-bold"
>
<span
class=
"body-2 font-weight-bold"
>
เกี่ยวกับเรา
</span>
</v-btn>
<v-menu
left
bottom
v-if=
"responsive"
>
<template
v-slot:activator=
"
{ on }">
<v-toolbar-side-icon
v-on=
"on"
></v-toolbar-side-icon>
</
template
>
<v-list>
<v-list-tile>
<v-list-tile-title>
หน้าหลัก
</v-list-tile-title>
</v-list-tile>
<v-list-tile>
<v-list-tile-title>
หน้าหลัก
</v-list-tile-title>
</v-list-tile>
<v-list-tile
>
<v-list-tile-title>
หน้าหลัก
</v-list-tile-title>
</v-list-tile>
<v-list-tile
>
<v-list-tile-title>
หน้าหลัก
</v-list-tile-title>
</v-list-tile>
<v-list-tile
>
<v-list-tile-title>
หน้าหลัก
</v-list-tile-title>
</v-list-tile>
<v-list-tile
>
<v-list-tile-title>
หน้าหลัก
</v-list-tile-title>
</v-list-tile>
</v-list>
</v-menu>
</v-toolbar>
</v-flex>
</v-layout>
<v-layout
row
wrap
white
>
<v-flex
xs12
sm10
offset-sm1
>
<v-toolbar
flat
color=
"white"
height=
"40"
>
<v-spacer></v-spacer>
<v-btn
small=
""
dark
color=
"deep-orange darken-4"
class=
"elevation-0"
@
click=
"$router.push('/employer')"
>
สำหรับผู้ประกอบการ
</v-btn>
<v-divider
inset
vertical
></v-divider>
<v-btn
v-if=
"!currentUser"
small
outline
color=
"deep-orange darken-4"
@
click
.
stop=
"login()"
>
<v-icon>
person
</v-icon>
เข้าสู่ระบบ
</v-btn>
<v-btn
v-if=
"!currentUser"
small
outline
color=
"deep-orange darken-4"
@
click
.
stop=
"register()"
>
<v-icon>
account_box
</v-icon>
ลงทะเบียน
</v-btn>
<v-btn
v-else
small
outline
color=
"deep-orange darken-4"
@
click=
"logout()"
>
<v-icon>
account_circle
</v-icon>
{{ currentUser }}
</v-btn>
</v-toolbar>
</v-flex>
</v-layout>
<login
v-if=
"dialog === 'login'"
></login>
<register
v-if=
"dialog === 'register'"
></register>
</div>
</template>
<
script
>
import
Login
from
'../views/Login.vue'
;
import
Register
from
'../views/Register.vue'
;
export
default
{
props
:
[
'page'
],
components
:
{
'login'
:
Login
,
'register'
:
Register
},
data
()
{
return
{
responsive
:
false
,
dialog
:
'login'
}
},
computed
:
{
currentUser
()
{
return
this
.
$store
.
getters
.
getUser
.
name
}
},
mounted
()
{
this
.
onResponsiveInverted
()
window
.
addEventListener
(
'resize'
,
this
.
onResponsiveInverted
)
},
beforeDestroy
()
{
window
.
removeEventListener
(
'resize'
,
this
.
onResponsiveInverted
)
},
methods
:
{
onResponsiveInverted
()
{
if
(
window
.
innerWidth
<
991
)
{
this
.
responsive
=
true
}
else
{
this
.
responsive
=
false
}
},
logout
()
{
this
.
$store
.
dispatch
(
'logout'
)
},
login
()
{
this
.
dialog
=
'login'
this
.
$store
.
commit
(
'setDialog'
,
!
this
.
$store
.
getters
.
getDialog
)
},
register
()
{
this
.
dialog
=
'register'
this
.
$store
.
commit
(
'setDialog'
,
!
this
.
$store
.
getters
.
getDialog
)
}
}
}
</
script
>
<
style
lang=
"scss"
scoped
>
.colornav
{
background-color
:
#0d253d
;
}
</
style
>
.history/resources/js/components/Toolbar_20190424112903.vue
0 → 100644
View file @
b8a7da9b
<
template
>
<div>
<v-layout
row
wrap
fill-height
align-center
class=
"colornav pt-2"
>
<v-flex
xs12
sm10
offset-sm1
>
<v-toolbar
flat
color=
"#0d253d"
>
<!--v-if="page == 'app'"-->
<v-toolbar-title
class=
""
>
<router-link
to=
"/"
><img
src=
"../../../public/images/logocoop.png"
class=
"my-3"
width=
"140"
></router-link>
</v-toolbar-title>
<v-spacer></v-spacer>
<router-link
to=
"/"
>
<v-btn
v-if=
"!responsive"
flat
color=
"white"
class=
"mx-0 px-0"
>
<v-icon>
home
</v-icon>
</v-btn>
</router-link>
<v-btn
v-if=
"!responsive"
flat
color=
"black"
class=
"mx-0 px-0 body-2 font-weight-bold"
>
<span
class=
"body-2 font-weight-bold"
>
เกี่ยวกับเรา
</span>
</v-btn>
<v-btn
v-if=
"!responsive"
flat
color=
"black"
class=
"mx-0 px-0 body-2 font-weight-bold"
>
<span
class=
"body-2 font-weight-bold"
>
เกี่ยวกับเรา
</span>
</v-btn>
<v-btn
v-if=
"!responsive"
flat
color=
"black"
class=
"m x-0 px-0 body-2 font-weight-bold"
>
<span
class=
"body-2 font-weight-bold"
>
เกี่ยวกับเรา
</span>
</v-btn>
<v-btn
v-if=
"!responsive"
flat
color=
"black"
class=
"mx-0 px-0 body-2 font-weight-bold"
>
<span
class=
"body-2 font-weight-bold"
>
เกี่ยวกับเรา
</span>
</v-btn>
<v-btn
v-if=
"!responsive"
flat
color=
"black"
class=
"mx-0 px-0 body-2 font-weight-bold"
>
<span
class=
"body-2 font-weight-bold"
>
เกี่ยวกับเรา
</span>
</v-btn>
<v-btn
v-if=
"!responsive"
flat
color=
"black"
class=
"mx-0 px-0 body-2 font-weight-bold"
>
<span
class=
"body-2 font-weight-bold"
>
เกี่ยวกับเรา
</span>
</v-btn>
<v-menu
left
bottom
v-if=
"responsive"
>
<template
v-slot:activator=
"
{ on }">
<v-toolbar-side-icon
v-on=
"on"
></v-toolbar-side-icon>
</
template
>
<v-list>
<v-list-tile>
<v-list-tile-title>
หน้าหลัก
</v-list-tile-title>
</v-list-tile>
<v-list-tile>
<v-list-tile-title>
หน้าหลัก
</v-list-tile-title>
</v-list-tile>
<v-list-tile
>
<v-list-tile-title>
หน้าหลัก
</v-list-tile-title>
</v-list-tile>
<v-list-tile
>
<v-list-tile-title>
หน้าหลัก
</v-list-tile-title>
</v-list-tile>
<v-list-tile
>
<v-list-tile-title>
หน้าหลัก
</v-list-tile-title>
</v-list-tile>
<v-list-tile
>
<v-list-tile-title>
หน้าหลัก
</v-list-tile-title>
</v-list-tile>
</v-list>
</v-menu>
</v-toolbar>
</v-flex>
</v-layout>
<v-layout
row
wrap
white
>
<v-flex
xs12
sm10
offset-sm1
>
<v-toolbar
flat
color=
"white"
height=
"40"
>
<v-spacer></v-spacer>
<v-btn
small=
""
dark
color=
"deep-orange darken-4"
class=
"elevation-0"
@
click=
"$router.push('/employer')"
>
สำหรับผู้ประกอบการ
</v-btn>
<v-divider
inset
vertical
></v-divider>
<v-btn
v-if=
"!currentUser"
small
outline
color=
"deep-orange darken-4"
@
click
.
stop=
"login()"
>
<v-icon>
person
</v-icon>
เข้าสู่ระบบ
</v-btn>
<v-btn
v-if=
"!currentUser"
small
outline
color=
"deep-orange darken-4"
@
click
.
stop=
"register()"
>
<v-icon>
account_box
</v-icon>
ลงทะเบียน
</v-btn>
<v-btn
v-else
small
outline
color=
"deep-orange darken-4"
@
click=
"logout()"
>
<v-icon>
account_circle
</v-icon>
{{ currentUser }}
</v-btn>
</v-toolbar>
</v-flex>
</v-layout>
<login
v-if=
"dialog === 'login'"
></login>
<register
v-if=
"dialog === 'register'"
></register>
</div>
</template>
<
script
>
import
Login
from
'../views/Login.vue'
;
import
Register
from
'../views/Register.vue'
;
export
default
{
props
:
[
'page'
],
components
:
{
'login'
:
Login
,
'register'
:
Register
},
data
()
{
return
{
responsive
:
false
,
dialog
:
'login'
}
},
computed
:
{
currentUser
()
{
return
this
.
$store
.
getters
.
getUser
.
name
}
},
mounted
()
{
this
.
onResponsiveInverted
()
window
.
addEventListener
(
'resize'
,
this
.
onResponsiveInverted
)
},
beforeDestroy
()
{
window
.
removeEventListener
(
'resize'
,
this
.
onResponsiveInverted
)
},
methods
:
{
onResponsiveInverted
()
{
if
(
window
.
innerWidth
<
991
)
{
this
.
responsive
=
true
}
else
{
this
.
responsive
=
false
}
},
logout
()
{
this
.
$store
.
dispatch
(
'logout'
)
},
login
()
{
this
.
dialog
=
'login'
this
.
$store
.
commit
(
'setDialog'
,
!
this
.
$store
.
getters
.
getDialog
)
},
register
()
{
this
.
dialog
=
'register'
this
.
$store
.
commit
(
'setDialog'
,
!
this
.
$store
.
getters
.
getDialog
)
}
}
}
</
script
>
<
style
lang=
"scss"
scoped
>
.colornav
{
background-color
:
#0d253d
;
}
</
style
>
.history/resources/js/components/Toolbar_20190424112921.vue
0 → 100644
View file @
b8a7da9b
<
template
>
<div>
<v-layout
row
wrap
fill-height
align-center
class=
"colornav pt-2"
>
<v-flex
xs12
sm10
offset-sm1
>
<v-toolbar
flat
color=
"#0d253d"
>
<!--v-if="page == 'app'"-->
<v-toolbar-title
class=
""
>
<router-link
to=
"/"
><img
src=
"../../../public/images/logocoop.png"
class=
""
width=
"140"
></router-link>
</v-toolbar-title>
<v-spacer></v-spacer>
<router-link
to=
"/"
>
<v-btn
v-if=
"!responsive"
flat
color=
"white"
class=
"mx-0 px-0"
>
<v-icon>
home
</v-icon>
</v-btn>
</router-link>
<v-btn
v-if=
"!responsive"
flat
color=
"black"
class=
"mx-0 px-0 body-2 font-weight-bold"
>
<span
class=
"body-2 font-weight-bold"
>
เกี่ยวกับเรา
</span>
</v-btn>
<v-btn
v-if=
"!responsive"
flat
color=
"black"
class=
"mx-0 px-0 body-2 font-weight-bold"
>
<span
class=
"body-2 font-weight-bold"
>
เกี่ยวกับเรา
</span>
</v-btn>
<v-btn
v-if=
"!responsive"
flat
color=
"black"
class=
"m x-0 px-0 body-2 font-weight-bold"
>
<span
class=
"body-2 font-weight-bold"
>
เกี่ยวกับเรา
</span>
</v-btn>
<v-btn
v-if=
"!responsive"
flat
color=
"black"
class=
"mx-0 px-0 body-2 font-weight-bold"
>
<span
class=
"body-2 font-weight-bold"
>
เกี่ยวกับเรา
</span>
</v-btn>
<v-btn
v-if=
"!responsive"
flat
color=
"black"
class=
"mx-0 px-0 body-2 font-weight-bold"
>
<span
class=
"body-2 font-weight-bold"
>
เกี่ยวกับเรา
</span>
</v-btn>
<v-btn
v-if=
"!responsive"
flat
color=
"black"
class=
"mx-0 px-0 body-2 font-weight-bold"
>
<span
class=
"body-2 font-weight-bold"
>
เกี่ยวกับเรา
</span>
</v-btn>
<v-menu
left
bottom
v-if=
"responsive"
>
<template
v-slot:activator=
"
{ on }">
<v-toolbar-side-icon
v-on=
"on"
></v-toolbar-side-icon>
</
template
>
<v-list>
<v-list-tile>
<v-list-tile-title>
หน้าหลัก
</v-list-tile-title>
</v-list-tile>
<v-list-tile>
<v-list-tile-title>
หน้าหลัก
</v-list-tile-title>
</v-list-tile>
<v-list-tile
>
<v-list-tile-title>
หน้าหลัก
</v-list-tile-title>
</v-list-tile>
<v-list-tile
>
<v-list-tile-title>
หน้าหลัก
</v-list-tile-title>
</v-list-tile>
<v-list-tile
>
<v-list-tile-title>
หน้าหลัก
</v-list-tile-title>
</v-list-tile>
<v-list-tile
>
<v-list-tile-title>
หน้าหลัก
</v-list-tile-title>
</v-list-tile>
</v-list>
</v-menu>
</v-toolbar>
</v-flex>
</v-layout>
<v-layout
row
wrap
white
>
<v-flex
xs12
sm10
offset-sm1
>
<v-toolbar
flat
color=
"white"
height=
"40"
>
<v-spacer></v-spacer>
<v-btn
small=
""
dark
color=
"deep-orange darken-4"
class=
"elevation-0"
@
click=
"$router.push('/employer')"
>
สำหรับผู้ประกอบการ
</v-btn>
<v-divider
inset
vertical
></v-divider>
<v-btn
v-if=
"!currentUser"
small
outline
color=
"deep-orange darken-4"
@
click
.
stop=
"login()"
>
<v-icon>
person
</v-icon>
เข้าสู่ระบบ
</v-btn>
<v-btn
v-if=
"!currentUser"
small
outline
color=
"deep-orange darken-4"
@
click
.
stop=
"register()"
>
<v-icon>
account_box
</v-icon>
ลงทะเบียน
</v-btn>
<v-btn
v-else
small
outline
color=
"deep-orange darken-4"
@
click=
"logout()"
>
<v-icon>
account_circle
</v-icon>
{{ currentUser }}
</v-btn>
</v-toolbar>
</v-flex>
</v-layout>
<login
v-if=
"dialog === 'login'"
></login>
<register
v-if=
"dialog === 'register'"
></register>
</div>
</template>
<
script
>
import
Login
from
'../views/Login.vue'
;
import
Register
from
'../views/Register.vue'
;
export
default
{
props
:
[
'page'
],
components
:
{
'login'
:
Login
,
'register'
:
Register
},
data
()
{
return
{
responsive
:
false
,
dialog
:
'login'
}
},
computed
:
{
currentUser
()
{
return
this
.
$store
.
getters
.
getUser
.
name
}
},
mounted
()
{
this
.
onResponsiveInverted
()
window
.
addEventListener
(
'resize'
,
this
.
onResponsiveInverted
)
},
beforeDestroy
()
{
window
.
removeEventListener
(
'resize'
,
this
.
onResponsiveInverted
)
},
methods
:
{
onResponsiveInverted
()
{
if
(
window
.
innerWidth
<
991
)
{
this
.
responsive
=
true
}
else
{
this
.
responsive
=
false
}
},
logout
()
{
this
.
$store
.
dispatch
(
'logout'
)
},
login
()
{
this
.
dialog
=
'login'
this
.
$store
.
commit
(
'setDialog'
,
!
this
.
$store
.
getters
.
getDialog
)
},
register
()
{
this
.
dialog
=
'register'
this
.
$store
.
commit
(
'setDialog'
,
!
this
.
$store
.
getters
.
getDialog
)
}
}
}
</
script
>
<
style
lang=
"scss"
scoped
>
.colornav
{
background-color
:
#0d253d
;
}
</
style
>
.history/resources/js/components/Toolbar_20190424112936.vue
0 → 100644
View file @
b8a7da9b
<
template
>
<div>
<v-layout
row
wrap
fill-height
align-center
class=
"colornav pt-1"
>
<v-flex
xs12
sm10
offset-sm1
>
<v-toolbar
flat
color=
"#0d253d"
>
<!--v-if="page == 'app'"-->
<v-toolbar-title
class=
""
>
<router-link
to=
"/"
><img
src=
"../../../public/images/logocoop.png"
class=
""
width=
"140"
></router-link>
</v-toolbar-title>
<v-spacer></v-spacer>
<router-link
to=
"/"
>
<v-btn
v-if=
"!responsive"
flat
color=
"white"
class=
"mx-0 px-0"
>
<v-icon>
home
</v-icon>
</v-btn>
</router-link>
<v-btn
v-if=
"!responsive"
flat
color=
"black"
class=
"mx-0 px-0 body-2 font-weight-bold"
>
<span
class=
"body-2 font-weight-bold"
>
เกี่ยวกับเรา
</span>
</v-btn>
<v-btn
v-if=
"!responsive"
flat
color=
"black"
class=
"mx-0 px-0 body-2 font-weight-bold"
>
<span
class=
"body-2 font-weight-bold"
>
เกี่ยวกับเรา
</span>
</v-btn>
<v-btn
v-if=
"!responsive"
flat
color=
"black"
class=
"m x-0 px-0 body-2 font-weight-bold"
>
<span
class=
"body-2 font-weight-bold"
>
เกี่ยวกับเรา
</span>
</v-btn>
<v-btn
v-if=
"!responsive"
flat
color=
"black"
class=
"mx-0 px-0 body-2 font-weight-bold"
>
<span
class=
"body-2 font-weight-bold"
>
เกี่ยวกับเรา
</span>
</v-btn>
<v-btn
v-if=
"!responsive"
flat
color=
"black"
class=
"mx-0 px-0 body-2 font-weight-bold"
>
<span
class=
"body-2 font-weight-bold"
>
เกี่ยวกับเรา
</span>
</v-btn>
<v-btn
v-if=
"!responsive"
flat
color=
"black"
class=
"mx-0 px-0 body-2 font-weight-bold"
>
<span
class=
"body-2 font-weight-bold"
>
เกี่ยวกับเรา
</span>
</v-btn>
<v-menu
left
bottom
v-if=
"responsive"
>
<template
v-slot:activator=
"
{ on }">
<v-toolbar-side-icon
v-on=
"on"
></v-toolbar-side-icon>
</
template
>
<v-list>
<v-list-tile>
<v-list-tile-title>
หน้าหลัก
</v-list-tile-title>
</v-list-tile>
<v-list-tile>
<v-list-tile-title>
หน้าหลัก
</v-list-tile-title>
</v-list-tile>
<v-list-tile
>
<v-list-tile-title>
หน้าหลัก
</v-list-tile-title>
</v-list-tile>
<v-list-tile
>
<v-list-tile-title>
หน้าหลัก
</v-list-tile-title>
</v-list-tile>
<v-list-tile
>
<v-list-tile-title>
หน้าหลัก
</v-list-tile-title>
</v-list-tile>
<v-list-tile
>
<v-list-tile-title>
หน้าหลัก
</v-list-tile-title>
</v-list-tile>
</v-list>
</v-menu>
</v-toolbar>
</v-flex>
</v-layout>
<v-layout
row
wrap
white
>
<v-flex
xs12
sm10
offset-sm1
>
<v-toolbar
flat
color=
"white"
height=
"40"
>
<v-spacer></v-spacer>
<v-btn
small=
""
dark
color=
"deep-orange darken-4"
class=
"elevation-0"
@
click=
"$router.push('/employer')"
>
สำหรับผู้ประกอบการ
</v-btn>
<v-divider
inset
vertical
></v-divider>
<v-btn
v-if=
"!currentUser"
small
outline
color=
"deep-orange darken-4"
@
click
.
stop=
"login()"
>
<v-icon>
person
</v-icon>
เข้าสู่ระบบ
</v-btn>
<v-btn
v-if=
"!currentUser"
small
outline
color=
"deep-orange darken-4"
@
click
.
stop=
"register()"
>
<v-icon>
account_box
</v-icon>
ลงทะเบียน
</v-btn>
<v-btn
v-else
small
outline
color=
"deep-orange darken-4"
@
click=
"logout()"
>
<v-icon>
account_circle
</v-icon>
{{ currentUser }}
</v-btn>
</v-toolbar>
</v-flex>
</v-layout>
<login
v-if=
"dialog === 'login'"
></login>
<register
v-if=
"dialog === 'register'"
></register>
</div>
</template>
<
script
>
import
Login
from
'../views/Login.vue'
;
import
Register
from
'../views/Register.vue'
;
export
default
{
props
:
[
'page'
],
components
:
{
'login'
:
Login
,
'register'
:
Register
},
data
()
{
return
{
responsive
:
false
,
dialog
:
'login'
}
},
computed
:
{
currentUser
()
{
return
this
.
$store
.
getters
.
getUser
.
name
}
},
mounted
()
{
this
.
onResponsiveInverted
()
window
.
addEventListener
(
'resize'
,
this
.
onResponsiveInverted
)
},
beforeDestroy
()
{
window
.
removeEventListener
(
'resize'
,
this
.
onResponsiveInverted
)
},
methods
:
{
onResponsiveInverted
()
{
if
(
window
.
innerWidth
<
991
)
{
this
.
responsive
=
true
}
else
{
this
.
responsive
=
false
}
},
logout
()
{
this
.
$store
.
dispatch
(
'logout'
)
},
login
()
{
this
.
dialog
=
'login'
this
.
$store
.
commit
(
'setDialog'
,
!
this
.
$store
.
getters
.
getDialog
)
},
register
()
{
this
.
dialog
=
'register'
this
.
$store
.
commit
(
'setDialog'
,
!
this
.
$store
.
getters
.
getDialog
)
}
}
}
</
script
>
<
style
lang=
"scss"
scoped
>
.colornav
{
background-color
:
#0d253d
;
}
</
style
>
.history/resources/js/components/Toolbar_20190424113112.vue
0 → 100644
View file @
b8a7da9b
<
template
>
<div>
<v-layout
row
wrap
fill-height
align-center
class=
"colornav pt-1"
>
<v-flex
xs12
sm10
offset-sm1
>
<v-toolbar
flat
color=
"#0d253d"
>
<!--v-if="page == 'app'"-->
<v-toolbar-title
class=
""
>
<router-link
to=
"/"
><img
src=
"../../../public/images/logocoop.png"
class=
""
width=
"140"
></router-link>
</v-toolbar-title>
<v-spacer></v-spacer>
<router-link
to=
"/"
>
<v-btn
v-if=
"!responsive"
flat
color=
"white"
class=
"mx-0 px-0"
>
<v-icon>
home
</v-icon>
</v-btn>
</router-link>
<router-link
to=
"/showjob"
>
<v-btn
v-if=
"!responsive"
flat
color=
"black"
class=
"mx-0 px-0 body-2 font-weight-bold"
>
<span
class=
"body-2 font-weight-bold"
>
เกี่ยวกับเรา
</span>
</v-btn>
</router-link>
<v-btn
v-if=
"!responsive"
flat
color=
"black"
class=
"mx-0 px-0 body-2 font-weight-bold"
>
<span
class=
"body-2 font-weight-bold"
>
เกี่ยวกับเรา
</span>
</v-btn>
<v-btn
v-if=
"!responsive"
flat
color=
"black"
class=
"m x-0 px-0 body-2 font-weight-bold"
>
<span
class=
"body-2 font-weight-bold"
>
เกี่ยวกับเรา
</span>
</v-btn>
<v-btn
v-if=
"!responsive"
flat
color=
"black"
class=
"mx-0 px-0 body-2 font-weight-bold"
>
<span
class=
"body-2 font-weight-bold"
>
เกี่ยวกับเรา
</span>
</v-btn>
<v-btn
v-if=
"!responsive"
flat
color=
"black"
class=
"mx-0 px-0 body-2 font-weight-bold"
>
<span
class=
"body-2 font-weight-bold"
>
เกี่ยวกับเรา
</span>
</v-btn>
<v-btn
v-if=
"!responsive"
flat
color=
"black"
class=
"mx-0 px-0 body-2 font-weight-bold"
>
<span
class=
"body-2 font-weight-bold"
>
เกี่ยวกับเรา
</span>
</v-btn>
<v-menu
left
bottom
v-if=
"responsive"
>
<template
v-slot:activator=
"
{ on }">
<v-toolbar-side-icon
v-on=
"on"
></v-toolbar-side-icon>
</
template
>
<v-list>
<v-list-tile>
<v-list-tile-title>
หน้าหลัก
</v-list-tile-title>
</v-list-tile>
<v-list-tile>
<v-list-tile-title>
หน้าหลัก
</v-list-tile-title>
</v-list-tile>
<v-list-tile
>
<v-list-tile-title>
หน้าหลัก
</v-list-tile-title>
</v-list-tile>
<v-list-tile
>
<v-list-tile-title>
หน้าหลัก
</v-list-tile-title>
</v-list-tile>
<v-list-tile
>
<v-list-tile-title>
หน้าหลัก
</v-list-tile-title>
</v-list-tile>
<v-list-tile
>
<v-list-tile-title>
หน้าหลัก
</v-list-tile-title>
</v-list-tile>
</v-list>
</v-menu>
</v-toolbar>
</v-flex>
</v-layout>
<v-layout
row
wrap
white
>
<v-flex
xs12
sm10
offset-sm1
>
<v-toolbar
flat
color=
"white"
height=
"40"
>
<v-spacer></v-spacer>
<v-btn
small=
""
dark
color=
"deep-orange darken-4"
class=
"elevation-0"
@
click=
"$router.push('/employer')"
>
สำหรับผู้ประกอบการ
</v-btn>
<v-divider
inset
vertical
></v-divider>
<v-btn
v-if=
"!currentUser"
small
outline
color=
"deep-orange darken-4"
@
click
.
stop=
"login()"
>
<v-icon>
person
</v-icon>
เข้าสู่ระบบ
</v-btn>
<v-btn
v-if=
"!currentUser"
small
outline
color=
"deep-orange darken-4"
@
click
.
stop=
"register()"
>
<v-icon>
account_box
</v-icon>
ลงทะเบียน
</v-btn>
<v-btn
v-else
small
outline
color=
"deep-orange darken-4"
@
click=
"logout()"
>
<v-icon>
account_circle
</v-icon>
{{ currentUser }}
</v-btn>
</v-toolbar>
</v-flex>
</v-layout>
<login
v-if=
"dialog === 'login'"
></login>
<register
v-if=
"dialog === 'register'"
></register>
</div>
</template>
<
script
>
import
Login
from
'../views/Login.vue'
;
import
Register
from
'../views/Register.vue'
;
export
default
{
props
:
[
'page'
],
components
:
{
'login'
:
Login
,
'register'
:
Register
},
data
()
{
return
{
responsive
:
false
,
dialog
:
'login'
}
},
computed
:
{
currentUser
()
{
return
this
.
$store
.
getters
.
getUser
.
name
}
},
mounted
()
{
this
.
onResponsiveInverted
()
window
.
addEventListener
(
'resize'
,
this
.
onResponsiveInverted
)
},
beforeDestroy
()
{
window
.
removeEventListener
(
'resize'
,
this
.
onResponsiveInverted
)
},
methods
:
{
onResponsiveInverted
()
{
if
(
window
.
innerWidth
<
991
)
{
this
.
responsive
=
true
}
else
{
this
.
responsive
=
false
}
},
logout
()
{
this
.
$store
.
dispatch
(
'logout'
)
},
login
()
{
this
.
dialog
=
'login'
this
.
$store
.
commit
(
'setDialog'
,
!
this
.
$store
.
getters
.
getDialog
)
},
register
()
{
this
.
dialog
=
'register'
this
.
$store
.
commit
(
'setDialog'
,
!
this
.
$store
.
getters
.
getDialog
)
}
}
}
</
script
>
<
style
lang=
"scss"
scoped
>
.colornav
{
background-color
:
#0d253d
;
}
</
style
>
.history/resources/js/components/Toolbar_20190424113222.vue
0 → 100644
View file @
b8a7da9b
<
template
>
<div>
<v-layout
row
wrap
fill-height
align-center
class=
"colornav pt-1"
>
<v-flex
xs12
sm10
offset-sm1
>
<v-toolbar
flat
color=
"#0d253d"
>
<!--v-if="page == 'app'"-->
<v-toolbar-title
class=
""
>
<router-link
to=
"/"
><img
src=
"../../../public/images/logocoop.png"
class=
""
width=
"140"
></router-link>
</v-toolbar-title>
<v-spacer></v-spacer>
<router-link
to=
"/"
>
<v-btn
v-if=
"!responsive"
flat
color=
"white"
class=
"mx-0 px-0"
>
<v-icon>
home
</v-icon>
</v-btn>
</router-link>
<router-link
to=
"/showjob"
>
<v-btn
v-if=
"!responsive"
flat
color=
"white"
class=
"mx-0 px-0 body-2 font-weight-bold"
>
<span
class=
"body-2 font-weight-bold"
>
หางานทั้งหมด
</span>
</v-btn>
</router-link>
<v-btn
v-if=
"!responsive"
flat
color=
"black"
class=
"mx-0 px-0 body-2 font-weight-bold"
>
<span
class=
"body-2 font-weight-bold"
>
เกี่ยวกับเรา
</span>
</v-btn>
<v-btn
v-if=
"!responsive"
flat
color=
"black"
class=
"m x-0 px-0 body-2 font-weight-bold"
>
<span
class=
"body-2 font-weight-bold"
>
เกี่ยวกับเรา
</span>
</v-btn>
<v-btn
v-if=
"!responsive"
flat
color=
"black"
class=
"mx-0 px-0 body-2 font-weight-bold"
>
<span
class=
"body-2 font-weight-bold"
>
เกี่ยวกับเรา
</span>
</v-btn>
<v-btn
v-if=
"!responsive"
flat
color=
"black"
class=
"mx-0 px-0 body-2 font-weight-bold"
>
<span
class=
"body-2 font-weight-bold"
>
เกี่ยวกับเรา
</span>
</v-btn>
<v-btn
v-if=
"!responsive"
flat
color=
"black"
class=
"mx-0 px-0 body-2 font-weight-bold"
>
<span
class=
"body-2 font-weight-bold"
>
เกี่ยวกับเรา
</span>
</v-btn>
<v-menu
left
bottom
v-if=
"responsive"
>
<template
v-slot:activator=
"
{ on }">
<v-toolbar-side-icon
v-on=
"on"
></v-toolbar-side-icon>
</
template
>
<v-list>
<v-list-tile>
<v-list-tile-title>
หน้าหลัก
</v-list-tile-title>
</v-list-tile>
<v-list-tile>
<v-list-tile-title>
หน้าหลัก
</v-list-tile-title>
</v-list-tile>
<v-list-tile
>
<v-list-tile-title>
หน้าหลัก
</v-list-tile-title>
</v-list-tile>
<v-list-tile
>
<v-list-tile-title>
หน้าหลัก
</v-list-tile-title>
</v-list-tile>
<v-list-tile
>
<v-list-tile-title>
หน้าหลัก
</v-list-tile-title>
</v-list-tile>
<v-list-tile
>
<v-list-tile-title>
หน้าหลัก
</v-list-tile-title>
</v-list-tile>
</v-list>
</v-menu>
</v-toolbar>
</v-flex>
</v-layout>
<v-layout
row
wrap
white
>
<v-flex
xs12
sm10
offset-sm1
>
<v-toolbar
flat
color=
"white"
height=
"40"
>
<v-spacer></v-spacer>
<v-btn
small=
""
dark
color=
"deep-orange darken-4"
class=
"elevation-0"
@
click=
"$router.push('/employer')"
>
สำหรับผู้ประกอบการ
</v-btn>
<v-divider
inset
vertical
></v-divider>
<v-btn
v-if=
"!currentUser"
small
outline
color=
"deep-orange darken-4"
@
click
.
stop=
"login()"
>
<v-icon>
person
</v-icon>
เข้าสู่ระบบ
</v-btn>
<v-btn
v-if=
"!currentUser"
small
outline
color=
"deep-orange darken-4"
@
click
.
stop=
"register()"
>
<v-icon>
account_box
</v-icon>
ลงทะเบียน
</v-btn>
<v-btn
v-else
small
outline
color=
"deep-orange darken-4"
@
click=
"logout()"
>
<v-icon>
account_circle
</v-icon>
{{ currentUser }}
</v-btn>
</v-toolbar>
</v-flex>
</v-layout>
<login
v-if=
"dialog === 'login'"
></login>
<register
v-if=
"dialog === 'register'"
></register>
</div>
</template>
<
script
>
import
Login
from
'../views/Login.vue'
;
import
Register
from
'../views/Register.vue'
;
export
default
{
props
:
[
'page'
],
components
:
{
'login'
:
Login
,
'register'
:
Register
},
data
()
{
return
{
responsive
:
false
,
dialog
:
'login'
}
},
computed
:
{
currentUser
()
{
return
this
.
$store
.
getters
.
getUser
.
name
}
},
mounted
()
{
this
.
onResponsiveInverted
()
window
.
addEventListener
(
'resize'
,
this
.
onResponsiveInverted
)
},
beforeDestroy
()
{
window
.
removeEventListener
(
'resize'
,
this
.
onResponsiveInverted
)
},
methods
:
{
onResponsiveInverted
()
{
if
(
window
.
innerWidth
<
991
)
{
this
.
responsive
=
true
}
else
{
this
.
responsive
=
false
}
},
logout
()
{
this
.
$store
.
dispatch
(
'logout'
)
},
login
()
{
this
.
dialog
=
'login'
this
.
$store
.
commit
(
'setDialog'
,
!
this
.
$store
.
getters
.
getDialog
)
},
register
()
{
this
.
dialog
=
'register'
this
.
$store
.
commit
(
'setDialog'
,
!
this
.
$store
.
getters
.
getDialog
)
}
}
}
</
script
>
<
style
lang=
"scss"
scoped
>
.colornav
{
background-color
:
#0d253d
;
}
</
style
>
.history/resources/js/components/Toolbar_20190424113400.vue
0 → 100644
View file @
b8a7da9b
<
template
>
<div>
<v-layout
row
wrap
fill-height
align-center
class=
"colornav pt-1"
>
<v-flex
xs12
sm10
offset-sm1
>
<v-toolbar
flat
color=
"#0d253d"
>
<!--v-if="page == 'app'"-->
<v-toolbar-title
class=
""
>
<router-link
to=
"/"
><img
src=
"../../../public/images/logocoop.png"
class=
""
width=
"140"
></router-link>
</v-toolbar-title>
<v-spacer></v-spacer>
<router-link
to=
"/"
>
<v-btn
v-if=
"!responsive"
flat
color=
"white"
class=
"mx-0 px-0"
>
<v-icon>
home
</v-icon>
</v-btn>
</router-link>
<router-link
to=
"/showjob"
>
<v-btn
v-if=
"!responsive"
flat
color=
"white"
class=
"mx-0 px-0 body-2 font-weight-bold"
>
<span
class=
"body-2 font-weight-bold"
>
หางานทั้งหมด
</span>
</v-btn>
</router-link>
<v-btn
v-if=
"!responsive"
flat
color=
"black"
class=
"mx-0 px-0 body-2 font-weight-bold"
>
<span
class=
"body-2 font-weight-bold"
>
เกี่ยวกับเรา
</span>
</v-btn>
<v-btn
v-if=
"!responsive"
flat
color=
"black"
class=
"m x-0 px-0 body-2 font-weight-bold"
>
<span
class=
"body-2 font-weight-bold"
>
เกี่ยวกับเรา
</span>
</v-btn>
<v-btn
v-if=
"!responsive"
flat
color=
"black"
class=
"mx-0 px-0 body-2 font-weight-bold"
>
<span
class=
"body-2 font-weight-bold"
>
เกี่ยวกับเรา
</span>
</v-btn>
<v-btn
v-if=
"!responsive"
flat
color=
"black"
class=
"mx-0 px-0 body-2 font-weight-bold"
>
<span
class=
"body-2 font-weight-bold"
>
เกี่ยวกับเรา
</span>
</v-btn>
<v-btn
v-if=
"!responsive"
flat
color=
"black"
class=
"mx-0 px-0 body-2 font-weight-bold"
>
<span
class=
"body-2 font-weight-bold"
>
เกี่ยวกับเรา
</span>
</v-btn>
<v-menu
left
bottom
v-if=
"responsive"
>
<template
v-slot:activator=
"
{ on }">
<v-toolbar-side-icon
v-on=
"on"
color=
"white"
></v-toolbar-side-icon>
</
template
>
<v-list>
<v-list-tile>
<v-list-tile-title>
หน้าหลัก
</v-list-tile-title>
</v-list-tile>
<v-list-tile>
<v-list-tile-title>
หน้าหลัก
</v-list-tile-title>
</v-list-tile>
<v-list-tile
>
<v-list-tile-title>
หน้าหลัก
</v-list-tile-title>
</v-list-tile>
<v-list-tile
>
<v-list-tile-title>
หน้าหลัก
</v-list-tile-title>
</v-list-tile>
<v-list-tile
>
<v-list-tile-title>
หน้าหลัก
</v-list-tile-title>
</v-list-tile>
<v-list-tile
>
<v-list-tile-title>
หน้าหลัก
</v-list-tile-title>
</v-list-tile>
</v-list>
</v-menu>
</v-toolbar>
</v-flex>
</v-layout>
<v-layout
row
wrap
white
>
<v-flex
xs12
sm10
offset-sm1
>
<v-toolbar
flat
color=
"white"
height=
"40"
>
<v-spacer></v-spacer>
<v-btn
small=
""
dark
color=
"deep-orange darken-4"
class=
"elevation-0"
@
click=
"$router.push('/employer')"
>
สำหรับผู้ประกอบการ
</v-btn>
<v-divider
inset
vertical
></v-divider>
<v-btn
v-if=
"!currentUser"
small
outline
color=
"deep-orange darken-4"
@
click
.
stop=
"login()"
>
<v-icon>
person
</v-icon>
เข้าสู่ระบบ
</v-btn>
<v-btn
v-if=
"!currentUser"
small
outline
color=
"deep-orange darken-4"
@
click
.
stop=
"register()"
>
<v-icon>
account_box
</v-icon>
ลงทะเบียน
</v-btn>
<v-btn
v-else
small
outline
color=
"deep-orange darken-4"
@
click=
"logout()"
>
<v-icon>
account_circle
</v-icon>
{{ currentUser }}
</v-btn>
</v-toolbar>
</v-flex>
</v-layout>
<login
v-if=
"dialog === 'login'"
></login>
<register
v-if=
"dialog === 'register'"
></register>
</div>
</template>
<
script
>
import
Login
from
'../views/Login.vue'
;
import
Register
from
'../views/Register.vue'
;
export
default
{
props
:
[
'page'
],
components
:
{
'login'
:
Login
,
'register'
:
Register
},
data
()
{
return
{
responsive
:
false
,
dialog
:
'login'
}
},
computed
:
{
currentUser
()
{
return
this
.
$store
.
getters
.
getUser
.
name
}
},
mounted
()
{
this
.
onResponsiveInverted
()
window
.
addEventListener
(
'resize'
,
this
.
onResponsiveInverted
)
},
beforeDestroy
()
{
window
.
removeEventListener
(
'resize'
,
this
.
onResponsiveInverted
)
},
methods
:
{
onResponsiveInverted
()
{
if
(
window
.
innerWidth
<
991
)
{
this
.
responsive
=
true
}
else
{
this
.
responsive
=
false
}
},
logout
()
{
this
.
$store
.
dispatch
(
'logout'
)
},
login
()
{
this
.
dialog
=
'login'
this
.
$store
.
commit
(
'setDialog'
,
!
this
.
$store
.
getters
.
getDialog
)
},
register
()
{
this
.
dialog
=
'register'
this
.
$store
.
commit
(
'setDialog'
,
!
this
.
$store
.
getters
.
getDialog
)
}
}
}
</
script
>
<
style
lang=
"scss"
scoped
>
.colornav
{
background-color
:
#0d253d
;
}
</
style
>
.history/resources/js/components/Toolbar_20190424113457.vue
0 → 100644
View file @
b8a7da9b
<
template
>
<div>
<v-layout
row
wrap
fill-height
align-center
class=
"colornav pt-1"
>
<v-flex
xs12
sm10
offset-sm1
>
<v-toolbar
flat
color=
"#0d253d"
>
<!--v-if="page == 'app'"-->
<v-toolbar-title
class=
""
>
<router-link
to=
"/"
><img
src=
"../../../public/images/logocoop.png"
class=
""
width=
"140"
></router-link>
</v-toolbar-title>
<v-spacer></v-spacer>
<router-link
to=
"/"
>
<v-btn
v-if=
"!responsive"
flat
color=
"white"
class=
"mx-0 px-0"
>
<v-icon>
home
</v-icon>
</v-btn>
</router-link>
<router-link
to=
"/showjob"
>
<v-btn
v-if=
"!responsive"
flat
color=
"white"
class=
"mx-1 px-1 body-2 font-weight-bold"
>
<span
class=
"body-2 font-weight-bold"
>
หางานทั้งหมด
</span>
</v-btn>
</router-link>
<v-btn
v-if=
"!responsive"
flat
color=
"black"
class=
"mx-1 px-1 body-2 font-weight-bold"
>
<span
class=
"body-2 font-weight-bold"
>
เกี่ยวกับเรา
</span>
</v-btn>
<v-btn
v-if=
"!responsive"
flat
color=
"black"
class=
"m x-0 px-0 body-2 font-weight-bold"
>
<span
class=
"body-2 font-weight-bold"
>
เกี่ยวกับเรา
</span>
</v-btn>
<v-btn
v-if=
"!responsive"
flat
color=
"black"
class=
"mx-0 px-0 body-2 font-weight-bold"
>
<span
class=
"body-2 font-weight-bold"
>
เกี่ยวกับเรา
</span>
</v-btn>
<v-btn
v-if=
"!responsive"
flat
color=
"black"
class=
"mx-0 px-0 body-2 font-weight-bold"
>
<span
class=
"body-2 font-weight-bold"
>
เกี่ยวกับเรา
</span>
</v-btn>
<v-btn
v-if=
"!responsive"
flat
color=
"black"
class=
"mx-0 px-0 body-2 font-weight-bold"
>
<span
class=
"body-2 font-weight-bold"
>
เกี่ยวกับเรา
</span>
</v-btn>
<v-menu
left
bottom
v-if=
"responsive"
>
<template
v-slot:activator=
"
{ on }">
<v-toolbar-side-icon
v-on=
"on"
color=
"white"
></v-toolbar-side-icon>
</
template
>
<v-list>
<v-list-tile>
<v-list-tile-title>
หน้าหลัก
</v-list-tile-title>
</v-list-tile>
<v-list-tile>
<v-list-tile-title>
หน้าหลัก
</v-list-tile-title>
</v-list-tile>
<v-list-tile
>
<v-list-tile-title>
หน้าหลัก
</v-list-tile-title>
</v-list-tile>
<v-list-tile
>
<v-list-tile-title>
หน้าหลัก
</v-list-tile-title>
</v-list-tile>
<v-list-tile
>
<v-list-tile-title>
หน้าหลัก
</v-list-tile-title>
</v-list-tile>
<v-list-tile
>
<v-list-tile-title>
หน้าหลัก
</v-list-tile-title>
</v-list-tile>
</v-list>
</v-menu>
</v-toolbar>
</v-flex>
</v-layout>
<v-layout
row
wrap
white
>
<v-flex
xs12
sm10
offset-sm1
>
<v-toolbar
flat
color=
"white"
height=
"40"
>
<v-spacer></v-spacer>
<v-btn
small=
""
dark
color=
"deep-orange darken-4"
class=
"elevation-0"
@
click=
"$router.push('/employer')"
>
สำหรับผู้ประกอบการ
</v-btn>
<v-divider
inset
vertical
></v-divider>
<v-btn
v-if=
"!currentUser"
small
outline
color=
"deep-orange darken-4"
@
click
.
stop=
"login()"
>
<v-icon>
person
</v-icon>
เข้าสู่ระบบ
</v-btn>
<v-btn
v-if=
"!currentUser"
small
outline
color=
"deep-orange darken-4"
@
click
.
stop=
"register()"
>
<v-icon>
account_box
</v-icon>
ลงทะเบียน
</v-btn>
<v-btn
v-else
small
outline
color=
"deep-orange darken-4"
@
click=
"logout()"
>
<v-icon>
account_circle
</v-icon>
{{ currentUser }}
</v-btn>
</v-toolbar>
</v-flex>
</v-layout>
<login
v-if=
"dialog === 'login'"
></login>
<register
v-if=
"dialog === 'register'"
></register>
</div>
</template>
<
script
>
import
Login
from
'../views/Login.vue'
;
import
Register
from
'../views/Register.vue'
;
export
default
{
props
:
[
'page'
],
components
:
{
'login'
:
Login
,
'register'
:
Register
},
data
()
{
return
{
responsive
:
false
,
dialog
:
'login'
}
},
computed
:
{
currentUser
()
{
return
this
.
$store
.
getters
.
getUser
.
name
}
},
mounted
()
{
this
.
onResponsiveInverted
()
window
.
addEventListener
(
'resize'
,
this
.
onResponsiveInverted
)
},
beforeDestroy
()
{
window
.
removeEventListener
(
'resize'
,
this
.
onResponsiveInverted
)
},
methods
:
{
onResponsiveInverted
()
{
if
(
window
.
innerWidth
<
991
)
{
this
.
responsive
=
true
}
else
{
this
.
responsive
=
false
}
},
logout
()
{
this
.
$store
.
dispatch
(
'logout'
)
},
login
()
{
this
.
dialog
=
'login'
this
.
$store
.
commit
(
'setDialog'
,
!
this
.
$store
.
getters
.
getDialog
)
},
register
()
{
this
.
dialog
=
'register'
this
.
$store
.
commit
(
'setDialog'
,
!
this
.
$store
.
getters
.
getDialog
)
}
}
}
</
script
>
<
style
lang=
"scss"
scoped
>
.colornav
{
background-color
:
#0d253d
;
}
</
style
>
.history/resources/js/components/Toolbar_20190424113526.vue
0 → 100644
View file @
b8a7da9b
<
template
>
<div>
<v-layout
row
wrap
fill-height
align-center
class=
"colornav pt-1"
>
<v-flex
xs12
sm10
offset-sm1
>
<v-toolbar
flat
color=
"#0d253d"
>
<!--v-if="page == 'app'"-->
<v-toolbar-title
class=
""
>
<router-link
to=
"/"
><img
src=
"../../../public/images/logocoop.png"
class=
""
width=
"140"
></router-link>
</v-toolbar-title>
<v-spacer></v-spacer>
<router-link
to=
"/"
>
<v-btn
v-if=
"!responsive"
flat
color=
"white"
class=
"mx-2 px-2"
>
<v-icon>
home
</v-icon>
</v-btn>
</router-link>
<router-link
to=
"/showjob"
>
<v-btn
v-if=
"!responsive"
flat
color=
"white"
class=
"mx-2 px-2 body-2 font-weight-bold"
>
<span
class=
"body-2 font-weight-bold"
>
หางานทั้งหมด
</span>
</v-btn>
</router-link>
<v-btn
v-if=
"!responsive"
flat
color=
"black"
class=
"mx-1 px-1 body-2 font-weight-bold"
>
<span
class=
"body-2 font-weight-bold"
>
เกี่ยวกับเรา
</span>
</v-btn>
<v-btn
v-if=
"!responsive"
flat
color=
"black"
class=
"m x-0 px-0 body-2 font-weight-bold"
>
<span
class=
"body-2 font-weight-bold"
>
เกี่ยวกับเรา
</span>
</v-btn>
<v-btn
v-if=
"!responsive"
flat
color=
"black"
class=
"mx-0 px-0 body-2 font-weight-bold"
>
<span
class=
"body-2 font-weight-bold"
>
เกี่ยวกับเรา
</span>
</v-btn>
<v-btn
v-if=
"!responsive"
flat
color=
"black"
class=
"mx-0 px-0 body-2 font-weight-bold"
>
<span
class=
"body-2 font-weight-bold"
>
เกี่ยวกับเรา
</span>
</v-btn>
<v-btn
v-if=
"!responsive"
flat
color=
"black"
class=
"mx-0 px-0 body-2 font-weight-bold"
>
<span
class=
"body-2 font-weight-bold"
>
เกี่ยวกับเรา
</span>
</v-btn>
<v-menu
left
bottom
v-if=
"responsive"
>
<template
v-slot:activator=
"
{ on }">
<v-toolbar-side-icon
v-on=
"on"
color=
"white"
></v-toolbar-side-icon>
</
template
>
<v-list>
<v-list-tile>
<v-list-tile-title>
หน้าหลัก
</v-list-tile-title>
</v-list-tile>
<v-list-tile>
<v-list-tile-title>
หน้าหลัก
</v-list-tile-title>
</v-list-tile>
<v-list-tile
>
<v-list-tile-title>
หน้าหลัก
</v-list-tile-title>
</v-list-tile>
<v-list-tile
>
<v-list-tile-title>
หน้าหลัก
</v-list-tile-title>
</v-list-tile>
<v-list-tile
>
<v-list-tile-title>
หน้าหลัก
</v-list-tile-title>
</v-list-tile>
<v-list-tile
>
<v-list-tile-title>
หน้าหลัก
</v-list-tile-title>
</v-list-tile>
</v-list>
</v-menu>
</v-toolbar>
</v-flex>
</v-layout>
<v-layout
row
wrap
white
>
<v-flex
xs12
sm10
offset-sm1
>
<v-toolbar
flat
color=
"white"
height=
"40"
>
<v-spacer></v-spacer>
<v-btn
small=
""
dark
color=
"deep-orange darken-4"
class=
"elevation-0"
@
click=
"$router.push('/employer')"
>
สำหรับผู้ประกอบการ
</v-btn>
<v-divider
inset
vertical
></v-divider>
<v-btn
v-if=
"!currentUser"
small
outline
color=
"deep-orange darken-4"
@
click
.
stop=
"login()"
>
<v-icon>
person
</v-icon>
เข้าสู่ระบบ
</v-btn>
<v-btn
v-if=
"!currentUser"
small
outline
color=
"deep-orange darken-4"
@
click
.
stop=
"register()"
>
<v-icon>
account_box
</v-icon>
ลงทะเบียน
</v-btn>
<v-btn
v-else
small
outline
color=
"deep-orange darken-4"
@
click=
"logout()"
>
<v-icon>
account_circle
</v-icon>
{{ currentUser }}
</v-btn>
</v-toolbar>
</v-flex>
</v-layout>
<login
v-if=
"dialog === 'login'"
></login>
<register
v-if=
"dialog === 'register'"
></register>
</div>
</template>
<
script
>
import
Login
from
'../views/Login.vue'
;
import
Register
from
'../views/Register.vue'
;
export
default
{
props
:
[
'page'
],
components
:
{
'login'
:
Login
,
'register'
:
Register
},
data
()
{
return
{
responsive
:
false
,
dialog
:
'login'
}
},
computed
:
{
currentUser
()
{
return
this
.
$store
.
getters
.
getUser
.
name
}
},
mounted
()
{
this
.
onResponsiveInverted
()
window
.
addEventListener
(
'resize'
,
this
.
onResponsiveInverted
)
},
beforeDestroy
()
{
window
.
removeEventListener
(
'resize'
,
this
.
onResponsiveInverted
)
},
methods
:
{
onResponsiveInverted
()
{
if
(
window
.
innerWidth
<
991
)
{
this
.
responsive
=
true
}
else
{
this
.
responsive
=
false
}
},
logout
()
{
this
.
$store
.
dispatch
(
'logout'
)
},
login
()
{
this
.
dialog
=
'login'
this
.
$store
.
commit
(
'setDialog'
,
!
this
.
$store
.
getters
.
getDialog
)
},
register
()
{
this
.
dialog
=
'register'
this
.
$store
.
commit
(
'setDialog'
,
!
this
.
$store
.
getters
.
getDialog
)
}
}
}
</
script
>
<
style
lang=
"scss"
scoped
>
.colornav
{
background-color
:
#0d253d
;
}
</
style
>
.history/resources/js/components/Toolbar_20190424113649.vue
0 → 100644
View file @
b8a7da9b
<
template
>
<div>
<v-layout
row
wrap
fill-height
align-center
class=
"colornav pt-1"
>
<v-flex
xs12
sm10
offset-sm1
>
<v-toolbar
flat
color=
"#0d253d"
>
<!--v-if="page == 'app'"-->
<v-toolbar-title
class=
""
>
<router-link
to=
"/"
><img
src=
"../../../public/images/logocoop.png"
class=
""
width=
"140"
></router-link>
</v-toolbar-title>
<v-spacer></v-spacer>
<router-link
to=
"/"
>
<v-btn
v-if=
"!responsive"
flat
color=
"white"
class=
"mx-2 px-2"
>
<v-icon>
home
</v-icon>
</v-btn>
</router-link>
<router-link
to=
"/showjob"
>
<v-btn
v-if=
"!responsive"
flat
color=
"white"
class=
"mx-2 px-2 body-2 font-weight-bold"
>
<span
class=
"body-2 font-weight-bold"
>
หางานทั้งหมด
</span>
</v-btn>
</router-link>
<v-btn
v-if=
"!responsive"
flat
color=
"black"
class=
"mx-1 px-1 body-2 font-weight-bold"
>
<span
class=
"body-2 font-weight-bold"
>
สำหรับผู้ประกอบการ
</span>
</v-btn>
<v-menu
left
bottom
v-if=
"responsive"
>
<template
v-slot:activator=
"
{ on }">
<v-toolbar-side-icon
v-on=
"on"
color=
"white"
></v-toolbar-side-icon>
</
template
>
<v-list>
<v-list-tile>
<v-list-tile-title>
หน้าหลัก
</v-list-tile-title>
</v-list-tile>
<v-list-tile>
<v-list-tile-title>
หน้าหลัก
</v-list-tile-title>
</v-list-tile>
<v-list-tile
>
<v-list-tile-title>
หน้าหลัก
</v-list-tile-title>
</v-list-tile>
<v-list-tile
>
<v-list-tile-title>
หน้าหลัก
</v-list-tile-title>
</v-list-tile>
<v-list-tile
>
<v-list-tile-title>
หน้าหลัก
</v-list-tile-title>
</v-list-tile>
<v-list-tile
>
<v-list-tile-title>
หน้าหลัก
</v-list-tile-title>
</v-list-tile>
</v-list>
</v-menu>
</v-toolbar>
</v-flex>
</v-layout>
<v-layout
row
wrap
white
>
<v-flex
xs12
sm10
offset-sm1
>
<v-toolbar
flat
color=
"white"
height=
"40"
>
<v-spacer></v-spacer>
<v-btn
small=
""
dark
color=
"deep-orange darken-4"
class=
"elevation-0"
@
click=
"$router.push('/employer')"
>
สำหรับผู้ประกอบการ
</v-btn>
<v-divider
inset
vertical
></v-divider>
<v-btn
v-if=
"!currentUser"
small
outline
color=
"deep-orange darken-4"
@
click
.
stop=
"login()"
>
<v-icon>
person
</v-icon>
เข้าสู่ระบบ
</v-btn>
<v-btn
v-if=
"!currentUser"
small
outline
color=
"deep-orange darken-4"
@
click
.
stop=
"register()"
>
<v-icon>
account_box
</v-icon>
ลงทะเบียน
</v-btn>
<v-btn
v-else
small
outline
color=
"deep-orange darken-4"
@
click=
"logout()"
>
<v-icon>
account_circle
</v-icon>
{{ currentUser }}
</v-btn>
</v-toolbar>
</v-flex>
</v-layout>
<login
v-if=
"dialog === 'login'"
></login>
<register
v-if=
"dialog === 'register'"
></register>
</div>
</template>
<
script
>
import
Login
from
'../views/Login.vue'
;
import
Register
from
'../views/Register.vue'
;
export
default
{
props
:
[
'page'
],
components
:
{
'login'
:
Login
,
'register'
:
Register
},
data
()
{
return
{
responsive
:
false
,
dialog
:
'login'
}
},
computed
:
{
currentUser
()
{
return
this
.
$store
.
getters
.
getUser
.
name
}
},
mounted
()
{
this
.
onResponsiveInverted
()
window
.
addEventListener
(
'resize'
,
this
.
onResponsiveInverted
)
},
beforeDestroy
()
{
window
.
removeEventListener
(
'resize'
,
this
.
onResponsiveInverted
)
},
methods
:
{
onResponsiveInverted
()
{
if
(
window
.
innerWidth
<
991
)
{
this
.
responsive
=
true
}
else
{
this
.
responsive
=
false
}
},
logout
()
{
this
.
$store
.
dispatch
(
'logout'
)
},
login
()
{
this
.
dialog
=
'login'
this
.
$store
.
commit
(
'setDialog'
,
!
this
.
$store
.
getters
.
getDialog
)
},
register
()
{
this
.
dialog
=
'register'
this
.
$store
.
commit
(
'setDialog'
,
!
this
.
$store
.
getters
.
getDialog
)
}
}
}
</
script
>
<
style
lang=
"scss"
scoped
>
.colornav
{
background-color
:
#0d253d
;
}
</
style
>
.history/resources/js/components/Toolbar_20190424113712.vue
0 → 100644
View file @
b8a7da9b
<
template
>
<div>
<v-layout
row
wrap
fill-height
align-center
class=
"colornav pt-1"
>
<v-flex
xs12
sm10
offset-sm1
>
<v-toolbar
flat
color=
"#0d253d"
>
<!--v-if="page == 'app'"-->
<v-toolbar-title
class=
""
>
<router-link
to=
"/"
><img
src=
"../../../public/images/logocoop.png"
class=
""
width=
"140"
></router-link>
</v-toolbar-title>
<v-spacer></v-spacer>
<router-link
to=
"/"
>
<v-btn
v-if=
"!responsive"
flat
color=
"white"
class=
"mx-2 px-2"
>
<v-icon>
home
</v-icon>
</v-btn>
</router-link>
<router-link
to=
"/showjob"
>
<v-btn
v-if=
"!responsive"
flat
color=
"white"
class=
"mx-2 px-2 body-2 font-weight-bold"
>
<span
class=
"body-2 font-weight-bold"
>
หางานทั้งหมด
</span>
</v-btn>
</router-link>
<v-btn
v-if=
"!responsive"
flat
color=
"white"
class=
"mx-1 px-1 body-2 font-weight-bold"
>
<span
class=
"body-2 font-weight-bold"
>
สำหรับผู้ประกอบการ
</span>
</v-btn>
<v-menu
left
bottom
v-if=
"responsive"
>
<template
v-slot:activator=
"
{ on }">
<v-toolbar-side-icon
v-on=
"on"
color=
"white"
></v-toolbar-side-icon>
</
template
>
<v-list>
<v-list-tile>
<v-list-tile-title>
หน้าหลัก
</v-list-tile-title>
</v-list-tile>
<v-list-tile>
<v-list-tile-title>
หน้าหลัก
</v-list-tile-title>
</v-list-tile>
<v-list-tile
>
<v-list-tile-title>
หน้าหลัก
</v-list-tile-title>
</v-list-tile>
<v-list-tile
>
<v-list-tile-title>
หน้าหลัก
</v-list-tile-title>
</v-list-tile>
<v-list-tile
>
<v-list-tile-title>
หน้าหลัก
</v-list-tile-title>
</v-list-tile>
<v-list-tile
>
<v-list-tile-title>
หน้าหลัก
</v-list-tile-title>
</v-list-tile>
</v-list>
</v-menu>
</v-toolbar>
</v-flex>
</v-layout>
<v-layout
row
wrap
white
>
<v-flex
xs12
sm10
offset-sm1
>
<v-toolbar
flat
color=
"white"
height=
"40"
>
<v-spacer></v-spacer>
<v-btn
small=
""
dark
color=
"deep-orange darken-4"
class=
"elevation-0"
@
click=
"$router.push('/employer')"
>
สำหรับผู้ประกอบการ
</v-btn>
<v-divider
inset
vertical
></v-divider>
<v-btn
v-if=
"!currentUser"
small
outline
color=
"deep-orange darken-4"
@
click
.
stop=
"login()"
>
<v-icon>
person
</v-icon>
เข้าสู่ระบบ
</v-btn>
<v-btn
v-if=
"!currentUser"
small
outline
color=
"deep-orange darken-4"
@
click
.
stop=
"register()"
>
<v-icon>
account_box
</v-icon>
ลงทะเบียน
</v-btn>
<v-btn
v-else
small
outline
color=
"deep-orange darken-4"
@
click=
"logout()"
>
<v-icon>
account_circle
</v-icon>
{{ currentUser }}
</v-btn>
</v-toolbar>
</v-flex>
</v-layout>
<login
v-if=
"dialog === 'login'"
></login>
<register
v-if=
"dialog === 'register'"
></register>
</div>
</template>
<
script
>
import
Login
from
'../views/Login.vue'
;
import
Register
from
'../views/Register.vue'
;
export
default
{
props
:
[
'page'
],
components
:
{
'login'
:
Login
,
'register'
:
Register
},
data
()
{
return
{
responsive
:
false
,
dialog
:
'login'
}
},
computed
:
{
currentUser
()
{
return
this
.
$store
.
getters
.
getUser
.
name
}
},
mounted
()
{
this
.
onResponsiveInverted
()
window
.
addEventListener
(
'resize'
,
this
.
onResponsiveInverted
)
},
beforeDestroy
()
{
window
.
removeEventListener
(
'resize'
,
this
.
onResponsiveInverted
)
},
methods
:
{
onResponsiveInverted
()
{
if
(
window
.
innerWidth
<
991
)
{
this
.
responsive
=
true
}
else
{
this
.
responsive
=
false
}
},
logout
()
{
this
.
$store
.
dispatch
(
'logout'
)
},
login
()
{
this
.
dialog
=
'login'
this
.
$store
.
commit
(
'setDialog'
,
!
this
.
$store
.
getters
.
getDialog
)
},
register
()
{
this
.
dialog
=
'register'
this
.
$store
.
commit
(
'setDialog'
,
!
this
.
$store
.
getters
.
getDialog
)
}
}
}
</
script
>
<
style
lang=
"scss"
scoped
>
.colornav
{
background-color
:
#0d253d
;
}
</
style
>
.history/resources/js/components/Toolbar_20190424113828.vue
0 → 100644
View file @
b8a7da9b
<
template
>
<div>
<v-layout
row
wrap
fill-height
align-center
class=
"colornav pt-1"
>
<v-flex
xs12
sm10
offset-sm1
>
<v-toolbar
flat
color=
"#0d253d"
>
<!--v-if="page == 'app'"-->
<v-toolbar-title
class=
""
>
<router-link
to=
"/"
><img
src=
"../../../public/images/logocoop.png"
class=
""
width=
"140"
></router-link>
</v-toolbar-title>
<v-spacer></v-spacer>
<router-link
to=
"/"
>
<v-btn
v-if=
"!responsive"
flat
color=
"white"
class=
"mx-2 px-2"
>
<v-icon>
home
</v-icon>
</v-btn>
</router-link>
<router-link
to=
"/showjob"
>
<v-btn
v-if=
"!responsive"
flat
color=
"white"
class=
"mx-2 px-2 body-2 font-weight-bold"
>
<span
class=
"body-2 font-weight-bold"
>
หางานทั้งหมด
</span>
</v-btn>
</router-link>
<router-link
to=
"/"
>
<v-btn
v-if=
"!responsive"
flat
color=
"white"
class=
"mx-1 px-1 body-2 font-weight-bold"
>
<span
class=
"body-2 font-weight-bold"
>
สำหรับผู้ประกอบการ
</span>
</v-btn>
</router-link>
<v-menu
left
bottom
v-if=
"responsive"
>
<template
v-slot:activator=
"
{ on }">
<v-toolbar-side-icon
v-on=
"on"
color=
"white"
></v-toolbar-side-icon>
</
template
>
<v-list>
<v-list-tile>
<v-list-tile-title>
หน้าหลัก
</v-list-tile-title>
</v-list-tile>
<v-list-tile>
<v-list-tile-title>
หน้าหลัก
</v-list-tile-title>
</v-list-tile>
<v-list-tile
>
<v-list-tile-title>
หน้าหลัก
</v-list-tile-title>
</v-list-tile>
<v-list-tile
>
<v-list-tile-title>
หน้าหลัก
</v-list-tile-title>
</v-list-tile>
<v-list-tile
>
<v-list-tile-title>
หน้าหลัก
</v-list-tile-title>
</v-list-tile>
<v-list-tile
>
<v-list-tile-title>
หน้าหลัก
</v-list-tile-title>
</v-list-tile>
</v-list>
</v-menu>
</v-toolbar>
</v-flex>
</v-layout>
<v-layout
row
wrap
white
>
<v-flex
xs12
sm10
offset-sm1
>
<v-toolbar
flat
color=
"white"
height=
"40"
>
<v-spacer></v-spacer>
<v-btn
small=
""
dark
color=
"deep-orange darken-4"
class=
"elevation-0"
@
click=
"$router.push('/employer')"
>
สำหรับผู้ประกอบการ
</v-btn>
<v-divider
inset
vertical
></v-divider>
<v-btn
v-if=
"!currentUser"
small
outline
color=
"deep-orange darken-4"
@
click
.
stop=
"login()"
>
<v-icon>
person
</v-icon>
เข้าสู่ระบบ
</v-btn>
<v-btn
v-if=
"!currentUser"
small
outline
color=
"deep-orange darken-4"
@
click
.
stop=
"register()"
>
<v-icon>
account_box
</v-icon>
ลงทะเบียน
</v-btn>
<v-btn
v-else
small
outline
color=
"deep-orange darken-4"
@
click=
"logout()"
>
<v-icon>
account_circle
</v-icon>
{{ currentUser }}
</v-btn>
</v-toolbar>
</v-flex>
</v-layout>
<login
v-if=
"dialog === 'login'"
></login>
<register
v-if=
"dialog === 'register'"
></register>
</div>
</template>
<
script
>
import
Login
from
'../views/Login.vue'
;
import
Register
from
'../views/Register.vue'
;
export
default
{
props
:
[
'page'
],
components
:
{
'login'
:
Login
,
'register'
:
Register
},
data
()
{
return
{
responsive
:
false
,
dialog
:
'login'
}
},
computed
:
{
currentUser
()
{
return
this
.
$store
.
getters
.
getUser
.
name
}
},
mounted
()
{
this
.
onResponsiveInverted
()
window
.
addEventListener
(
'resize'
,
this
.
onResponsiveInverted
)
},
beforeDestroy
()
{
window
.
removeEventListener
(
'resize'
,
this
.
onResponsiveInverted
)
},
methods
:
{
onResponsiveInverted
()
{
if
(
window
.
innerWidth
<
991
)
{
this
.
responsive
=
true
}
else
{
this
.
responsive
=
false
}
},
logout
()
{
this
.
$store
.
dispatch
(
'logout'
)
},
login
()
{
this
.
dialog
=
'login'
this
.
$store
.
commit
(
'setDialog'
,
!
this
.
$store
.
getters
.
getDialog
)
},
register
()
{
this
.
dialog
=
'register'
this
.
$store
.
commit
(
'setDialog'
,
!
this
.
$store
.
getters
.
getDialog
)
}
}
}
</
script
>
<
style
lang=
"scss"
scoped
>
.colornav
{
background-color
:
#0d253d
;
}
</
style
>
.history/resources/js/components/Toolbar_20190424113851.vue
0 → 100644
View file @
b8a7da9b
<
template
>
<div>
<v-layout
row
wrap
fill-height
align-center
class=
"colornav pt-1"
>
<v-flex
xs12
sm10
offset-sm1
>
<v-toolbar
flat
color=
"#0d253d"
>
<!--v-if="page == 'app'"-->
<v-toolbar-title
class=
""
>
<router-link
to=
"/"
><img
src=
"../../../public/images/logocoop.png"
class=
""
width=
"140"
></router-link>
</v-toolbar-title>
<v-spacer></v-spacer>
<router-link
to=
"/"
>
<v-btn
v-if=
"!responsive"
flat
color=
"white"
class=
"mx-2 px-2"
>
<v-icon>
home
</v-icon>
</v-btn>
</router-link>
<router-link
to=
"/showjob"
>
<v-btn
v-if=
"!responsive"
flat
color=
"white"
class=
"mx-2 px-2 body-2 font-weight-bold"
>
<span
class=
"body-2 font-weight-bold"
>
หางานทั้งหมด
</span>
</v-btn>
</router-link>
<router-link
to=
"/employer"
>
<v-btn
v-if=
"!responsive"
flat
color=
"white"
class=
"mx-1 px-1 body-2 font-weight-bold"
>
<span
class=
"body-2 font-weight-bold"
>
สำหรับผู้ประกอบการ
</span>
</v-btn>
</router-link>
<v-menu
left
bottom
v-if=
"responsive"
>
<template
v-slot:activator=
"
{ on }">
<v-toolbar-side-icon
v-on=
"on"
color=
"white"
></v-toolbar-side-icon>
</
template
>
<v-list>
<v-list-tile>
<v-list-tile-title>
หน้าหลัก
</v-list-tile-title>
</v-list-tile>
<v-list-tile>
<v-list-tile-title>
หน้าหลัก
</v-list-tile-title>
</v-list-tile>
<v-list-tile
>
<v-list-tile-title>
หน้าหลัก
</v-list-tile-title>
</v-list-tile>
<v-list-tile
>
<v-list-tile-title>
หน้าหลัก
</v-list-tile-title>
</v-list-tile>
<v-list-tile
>
<v-list-tile-title>
หน้าหลัก
</v-list-tile-title>
</v-list-tile>
<v-list-tile
>
<v-list-tile-title>
หน้าหลัก
</v-list-tile-title>
</v-list-tile>
</v-list>
</v-menu>
</v-toolbar>
</v-flex>
</v-layout>
<v-layout
row
wrap
white
>
<v-flex
xs12
sm10
offset-sm1
>
<v-toolbar
flat
color=
"white"
height=
"40"
>
<v-spacer></v-spacer>
<v-btn
small=
""
dark
color=
"deep-orange darken-4"
class=
"elevation-0"
@
click=
"$router.push('/employer')"
>
สำหรับผู้ประกอบการ
</v-btn>
<v-divider
inset
vertical
></v-divider>
<v-btn
v-if=
"!currentUser"
small
outline
color=
"deep-orange darken-4"
@
click
.
stop=
"login()"
>
<v-icon>
person
</v-icon>
เข้าสู่ระบบ
</v-btn>
<v-btn
v-if=
"!currentUser"
small
outline
color=
"deep-orange darken-4"
@
click
.
stop=
"register()"
>
<v-icon>
account_box
</v-icon>
ลงทะเบียน
</v-btn>
<v-btn
v-else
small
outline
color=
"deep-orange darken-4"
@
click=
"logout()"
>
<v-icon>
account_circle
</v-icon>
{{ currentUser }}
</v-btn>
</v-toolbar>
</v-flex>
</v-layout>
<login
v-if=
"dialog === 'login'"
></login>
<register
v-if=
"dialog === 'register'"
></register>
</div>
</template>
<
script
>
import
Login
from
'../views/Login.vue'
;
import
Register
from
'../views/Register.vue'
;
export
default
{
props
:
[
'page'
],
components
:
{
'login'
:
Login
,
'register'
:
Register
},
data
()
{
return
{
responsive
:
false
,
dialog
:
'login'
}
},
computed
:
{
currentUser
()
{
return
this
.
$store
.
getters
.
getUser
.
name
}
},
mounted
()
{
this
.
onResponsiveInverted
()
window
.
addEventListener
(
'resize'
,
this
.
onResponsiveInverted
)
},
beforeDestroy
()
{
window
.
removeEventListener
(
'resize'
,
this
.
onResponsiveInverted
)
},
methods
:
{
onResponsiveInverted
()
{
if
(
window
.
innerWidth
<
991
)
{
this
.
responsive
=
true
}
else
{
this
.
responsive
=
false
}
},
logout
()
{
this
.
$store
.
dispatch
(
'logout'
)
},
login
()
{
this
.
dialog
=
'login'
this
.
$store
.
commit
(
'setDialog'
,
!
this
.
$store
.
getters
.
getDialog
)
},
register
()
{
this
.
dialog
=
'register'
this
.
$store
.
commit
(
'setDialog'
,
!
this
.
$store
.
getters
.
getDialog
)
}
}
}
</
script
>
<
style
lang=
"scss"
scoped
>
.colornav
{
background-color
:
#0d253d
;
}
</
style
>
.history/resources/js/components/Toolbar_20190424114241.vue
0 → 100644
View file @
b8a7da9b
<
template
>
<div>
<v-layout
row
wrap
fill-height
align-center
class=
"colornav pt-1"
>
<v-flex
xs12
sm10
offset-sm1
>
<v-toolbar
flat
color=
"#0d253d"
fixed
>
<!--v-if="page == 'app'"-->
<v-toolbar-title
class=
""
>
<router-link
to=
"/"
><img
src=
"../../../public/images/logocoop.png"
class=
""
width=
"140"
></router-link>
</v-toolbar-title>
<v-spacer></v-spacer>
<router-link
to=
"/"
>
<v-btn
v-if=
"!responsive"
flat
color=
"white"
class=
"mx-2 px-2"
>
<v-icon>
home
</v-icon>
</v-btn>
</router-link>
<router-link
to=
"/showjob"
>
<v-btn
v-if=
"!responsive"
flat
color=
"white"
class=
"mx-2 px-2 body-2 font-weight-bold"
>
<span
class=
"body-2 font-weight-bold"
>
หางานทั้งหมด
</span>
</v-btn>
</router-link>
<router-link
to=
"/employer"
>
<v-btn
v-if=
"!responsive"
flat
color=
"white"
class=
"mx-1 px-1 body-2 font-weight-bold"
>
<span
class=
"body-2 font-weight-bold"
>
สำหรับผู้ประกอบการ
</span>
</v-btn>
</router-link>
<v-menu
left
bottom
v-if=
"responsive"
>
<template
v-slot:activator=
"
{ on }">
<v-toolbar-side-icon
v-on=
"on"
color=
"white"
></v-toolbar-side-icon>
</
template
>
<v-list>
<v-list-tile>
<v-list-tile-title>
หน้าหลัก
</v-list-tile-title>
</v-list-tile>
<v-list-tile>
<v-list-tile-title>
หน้าหลัก
</v-list-tile-title>
</v-list-tile>
<v-list-tile
>
<v-list-tile-title>
หน้าหลัก
</v-list-tile-title>
</v-list-tile>
<v-list-tile
>
<v-list-tile-title>
หน้าหลัก
</v-list-tile-title>
</v-list-tile>
<v-list-tile
>
<v-list-tile-title>
หน้าหลัก
</v-list-tile-title>
</v-list-tile>
<v-list-tile
>
<v-list-tile-title>
หน้าหลัก
</v-list-tile-title>
</v-list-tile>
</v-list>
</v-menu>
</v-toolbar>
</v-flex>
</v-layout>
<v-layout
row
wrap
white
>
<v-flex
xs12
sm10
offset-sm1
>
<v-toolbar
flat
color=
"white"
height=
"40"
>
<v-spacer></v-spacer>
<v-btn
small=
""
dark
color=
"deep-orange darken-4"
class=
"elevation-0"
@
click=
"$router.push('/employer')"
>
สำหรับผู้ประกอบการ
</v-btn>
<v-divider
inset
vertical
></v-divider>
<v-btn
v-if=
"!currentUser"
small
outline
color=
"deep-orange darken-4"
@
click
.
stop=
"login()"
>
<v-icon>
person
</v-icon>
เข้าสู่ระบบ
</v-btn>
<v-btn
v-if=
"!currentUser"
small
outline
color=
"deep-orange darken-4"
@
click
.
stop=
"register()"
>
<v-icon>
account_box
</v-icon>
ลงทะเบียน
</v-btn>
<v-btn
v-else
small
outline
color=
"deep-orange darken-4"
@
click=
"logout()"
>
<v-icon>
account_circle
</v-icon>
{{ currentUser }}
</v-btn>
</v-toolbar>
</v-flex>
</v-layout>
<login
v-if=
"dialog === 'login'"
></login>
<register
v-if=
"dialog === 'register'"
></register>
</div>
</template>
<
script
>
import
Login
from
'../views/Login.vue'
;
import
Register
from
'../views/Register.vue'
;
export
default
{
props
:
[
'page'
],
components
:
{
'login'
:
Login
,
'register'
:
Register
},
data
()
{
return
{
responsive
:
false
,
dialog
:
'login'
}
},
computed
:
{
currentUser
()
{
return
this
.
$store
.
getters
.
getUser
.
name
}
},
mounted
()
{
this
.
onResponsiveInverted
()
window
.
addEventListener
(
'resize'
,
this
.
onResponsiveInverted
)
},
beforeDestroy
()
{
window
.
removeEventListener
(
'resize'
,
this
.
onResponsiveInverted
)
},
methods
:
{
onResponsiveInverted
()
{
if
(
window
.
innerWidth
<
991
)
{
this
.
responsive
=
true
}
else
{
this
.
responsive
=
false
}
},
logout
()
{
this
.
$store
.
dispatch
(
'logout'
)
},
login
()
{
this
.
dialog
=
'login'
this
.
$store
.
commit
(
'setDialog'
,
!
this
.
$store
.
getters
.
getDialog
)
},
register
()
{
this
.
dialog
=
'register'
this
.
$store
.
commit
(
'setDialog'
,
!
this
.
$store
.
getters
.
getDialog
)
}
}
}
</
script
>
<
style
lang=
"scss"
scoped
>
.colornav
{
background-color
:
#0d253d
;
}
</
style
>
.history/resources/js/components/Toolbar_20190424114322.vue
0 → 100644
View file @
b8a7da9b
<
template
>
<div>
<v-layout
row
wrap
fill-height
align-center
class=
"colornav pt-1"
>
<v-flex
xs12
sm10
offset-sm1
>
<v-toolbar
flat
color=
"#0d253d"
>
<!--v-if="page == 'app'"-->
<v-toolbar-title
class=
""
>
<router-link
to=
"/"
><img
src=
"../../../public/images/logocoop.png"
class=
""
width=
"140"
></router-link>
</v-toolbar-title>
<v-spacer></v-spacer>
<router-link
to=
"/"
>
<v-btn
v-if=
"!responsive"
flat
color=
"white"
class=
"mx-2 px-2"
>
<v-icon>
home
</v-icon>
</v-btn>
</router-link>
<router-link
to=
"/showjob"
>
<v-btn
v-if=
"!responsive"
flat
color=
"white"
class=
"mx-2 px-2 body-2 font-weight-bold"
>
<span
class=
"body-2 font-weight-bold"
>
หางานทั้งหมด
</span>
</v-btn>
</router-link>
<router-link
to=
"/employer"
>
<v-btn
v-if=
"!responsive"
flat
color=
"white"
class=
"mx-1 px-1 body-2 font-weight-bold"
>
<span
class=
"body-2 font-weight-bold"
>
สำหรับผู้ประกอบการ
</span>
</v-btn>
</router-link>
<v-menu
left
bottom
v-if=
"responsive"
>
<template
v-slot:activator=
"
{ on }">
<v-toolbar-side-icon
v-on=
"on"
color=
"white"
></v-toolbar-side-icon>
</
template
>
<v-list>
<v-list-tile>
<v-list-tile-title>
หน้าหลัก
</v-list-tile-title>
</v-list-tile>
<v-list-tile>
<v-list-tile-title>
หน้าหลัก
</v-list-tile-title>
</v-list-tile>
<v-list-tile
>
<v-list-tile-title>
หน้าหลัก
</v-list-tile-title>
</v-list-tile>
<v-list-tile
>
<v-list-tile-title>
หน้าหลัก
</v-list-tile-title>
</v-list-tile>
<v-list-tile
>
<v-list-tile-title>
หน้าหลัก
</v-list-tile-title>
</v-list-tile>
<v-list-tile
>
<v-list-tile-title>
หน้าหลัก
</v-list-tile-title>
</v-list-tile>
</v-list>
</v-menu>
</v-toolbar>
</v-flex>
</v-layout>
<v-layout
row
wrap
white
>
<v-flex
xs12
sm10
offset-sm1
>
<v-toolbar
flat
color=
"white"
height=
"40"
>
<v-spacer></v-spacer>
<v-btn
small=
""
dark
color=
"deep-orange darken-4"
class=
"elevation-0"
@
click=
"$router.push('/employer')"
>
สำหรับผู้ประกอบการ
</v-btn>
<v-divider
inset
vertical
></v-divider>
<v-btn
v-if=
"!currentUser"
small
outline
color=
"deep-orange darken-4"
@
click
.
stop=
"login()"
>
<v-icon>
person
</v-icon>
เข้าสู่ระบบ
</v-btn>
<v-btn
v-if=
"!currentUser"
small
outline
color=
"deep-orange darken-4"
@
click
.
stop=
"register()"
>
<v-icon>
account_box
</v-icon>
ลงทะเบียน
</v-btn>
<v-btn
v-else
small
outline
color=
"deep-orange darken-4"
@
click=
"logout()"
>
<v-icon>
account_circle
</v-icon>
{{ currentUser }}
</v-btn>
</v-toolbar>
</v-flex>
</v-layout>
<login
v-if=
"dialog === 'login'"
></login>
<register
v-if=
"dialog === 'register'"
></register>
</div>
</template>
<
script
>
import
Login
from
'../views/Login.vue'
;
import
Register
from
'../views/Register.vue'
;
export
default
{
props
:
[
'page'
],
components
:
{
'login'
:
Login
,
'register'
:
Register
},
data
()
{
return
{
responsive
:
false
,
dialog
:
'login'
}
},
computed
:
{
currentUser
()
{
return
this
.
$store
.
getters
.
getUser
.
name
}
},
mounted
()
{
this
.
onResponsiveInverted
()
window
.
addEventListener
(
'resize'
,
this
.
onResponsiveInverted
)
},
beforeDestroy
()
{
window
.
removeEventListener
(
'resize'
,
this
.
onResponsiveInverted
)
},
methods
:
{
onResponsiveInverted
()
{
if
(
window
.
innerWidth
<
991
)
{
this
.
responsive
=
true
}
else
{
this
.
responsive
=
false
}
},
logout
()
{
this
.
$store
.
dispatch
(
'logout'
)
},
login
()
{
this
.
dialog
=
'login'
this
.
$store
.
commit
(
'setDialog'
,
!
this
.
$store
.
getters
.
getDialog
)
},
register
()
{
this
.
dialog
=
'register'
this
.
$store
.
commit
(
'setDialog'
,
!
this
.
$store
.
getters
.
getDialog
)
}
}
}
</
script
>
<
style
lang=
"scss"
scoped
>
.colornav
{
background-color
:
#0d253d
;
}
</
style
>
.history/resources/js/components/Toolbar_20190424114345.vue
0 → 100644
View file @
b8a7da9b
<
template
>
<div>
<v-layout
row
wrap
fill-height
align-center
class=
"colornav pt-1"
>
<v-flex
xs12
sm10
offset-sm1
>
<v-toolbar
flat
color=
"#0d253d"
>
<!--v-if="page == 'app'"-->
<v-toolbar-title
class=
""
>
<router-link
to=
"/"
><img
src=
"../../../public/images/logocoop.png"
class=
""
width=
"140"
></router-link>
</v-toolbar-title>
<v-spacer></v-spacer>
<router-link
to=
"/"
>
<v-btn
v-if=
"!responsive"
flat
color=
"white"
class=
"mx-2 px-2"
>
<v-icon>
home
</v-icon>
</v-btn>
</router-link>
<router-link
to=
"/showjob"
>
<v-btn
v-if=
"!responsive"
flat
color=
"white"
class=
"mx-2 px-2 body-2 font-weight-bold"
>
<span
class=
"body-2 font-weight-bold"
>
หางานทั้งหมด
</span>
</v-btn>
</router-link>
<router-link
to=
"/employer"
>
<v-btn
v-if=
"!responsive"
flat
color=
"white"
class=
"mx-1 px-1 body-2 font-weight-bold"
>
<span
class=
"body-2 font-weight-bold"
>
สำหรับผู้ประกอบการ
</span>
</v-btn>
</router-link>
<v-menu
left
bottom
v-if=
"responsive"
>
<template
v-slot:activator=
"
{ on }">
<v-toolbar-side-icon
v-on=
"on"
color=
"white"
></v-toolbar-side-icon>
</
template
>
<v-list>
<v-list-tile>
<v-list-tile-title>
หน้าหลัก
</v-list-tile-title>
</v-list-tile>
<v-list-tile>
<v-list-tile-title>
หน้าหลัก
</v-list-tile-title>
</v-list-tile>
<v-list-tile
>
<v-list-tile-title>
หน้าหลัก
</v-list-tile-title>
</v-list-tile>
<v-list-tile
>
<v-list-tile-title>
หน้าหลัก
</v-list-tile-title>
</v-list-tile>
<v-list-tile
>
<v-list-tile-title>
หน้าหลัก
</v-list-tile-title>
</v-list-tile>
<v-list-tile
>
<v-list-tile-title>
หน้าหลัก
</v-list-tile-title>
</v-list-tile>
</v-list>
</v-menu>
</v-toolbar>
</v-flex>
</v-layout>
<v-layout
row
wrap
white
>
<v-flex
xs12
sm10
offset-sm1
>
<v-toolbar
flat
color=
"white"
height=
"40"
>
<v-spacer></v-spacer>
<v-btn
small=
""
dark
color=
"deep-orange darken-4"
class=
"elevation-0"
@
click=
"$router.push('/employer')"
>
สำหรับผู้ประกอบการ
</v-btn>
<v-divider
inset
vertical
></v-divider>
<v-btn
v-if=
"!currentUser"
small
outline
color=
"deep-orange darken-4"
@
click
.
stop=
"login()"
>
<v-icon>
person
</v-icon>
เข้าสู่ระบบ
</v-btn>
<v-btn
v-if=
"!currentUser"
small
outline
color=
"deep-orange darken-4"
@
click
.
stop=
"register()"
>
<v-icon>
account_box
</v-icon>
ลงทะเบียน
</v-btn>
<v-btn
v-else
small
outline
color=
"deep-orange darken-4"
@
click=
"logout()"
>
<v-icon>
account_circle
</v-icon>
{{ currentUser }}
</v-btn>
</v-toolbar>
</v-flex>
</v-layout>
<login
v-if=
"dialog === 'login'"
></login>
<register
v-if=
"dialog === 'register'"
></register>
</div>
</template>
<
script
>
import
Login
from
'../views/Login.vue'
;
import
Register
from
'../views/Register.vue'
;
export
default
{
props
:
[
'page'
],
components
:
{
'login'
:
Login
,
'register'
:
Register
},
data
()
{
return
{
responsive
:
false
,
dialog
:
'login'
}
},
computed
:
{
currentUser
()
{
return
this
.
$store
.
getters
.
getUser
.
name
}
},
mounted
()
{
this
.
onResponsiveInverted
()
window
.
addEventListener
(
'resize'
,
this
.
onResponsiveInverted
)
},
beforeDestroy
()
{
window
.
removeEventListener
(
'resize'
,
this
.
onResponsiveInverted
)
},
methods
:
{
onResponsiveInverted
()
{
if
(
window
.
innerWidth
<
991
)
{
this
.
responsive
=
true
}
else
{
this
.
responsive
=
false
}
},
logout
()
{
this
.
$store
.
dispatch
(
'logout'
)
},
login
()
{
this
.
dialog
=
'login'
this
.
$store
.
commit
(
'setDialog'
,
!
this
.
$store
.
getters
.
getDialog
)
},
register
()
{
this
.
dialog
=
'register'
this
.
$store
.
commit
(
'setDialog'
,
!
this
.
$store
.
getters
.
getDialog
)
}
}
}
</
script
>
<
style
lang=
"scss"
scoped
>
.colornav
{
background-color
:
#0d253d
;
}
</
style
>
.history/resources/js/components/Toolbar_20190424114511.vue
0 → 100644
View file @
b8a7da9b
<
template
>
<div>
<v-layout
row
wrap
fill-height
align-center
class=
"colornav pt-1"
>
<v-flex
xs12
sm10
offset-sm1
>
<v-toolbar
flat
color=
"#0d253d"
>
<!--v-if="page == 'app'"-->
<v-toolbar-title
class=
""
>
<router-link
to=
"/"
><img
src=
"../../../public/images/logocoop.png"
class=
""
width=
"140"
></router-link>
</v-toolbar-title>
<v-spacer></v-spacer>
<router-link
to=
"/"
>
<v-btn
v-if=
"!responsive"
flat
color=
"white"
class=
"mx-2 px-2"
>
<v-icon>
home
</v-icon>
</v-btn>
</router-link>
<router-link
to=
"/showjob"
>
<v-btn
v-if=
"!responsive"
flat
color=
"white"
class=
"mx-2 px-2 body-2 font-weight-bold"
>
<span
class=
"body-2 font-weight-bold"
>
หางานทั้งหมด
</span>
</v-btn>
</router-link>
<router-link
to=
"/employer"
>
<v-btn
v-if=
"!responsive"
flat
color=
"white"
class=
"mx-1 px-1 body-2 font-weight-bold"
>
<span
class=
"body-2 font-weight-bold"
>
สำหรับผู้ประกอบการ
</span>
</v-btn>
</router-link>
<router-link
to=
"/employer"
>
<v-btn
v-if=
"!responsive"
flat
color=
"white"
class=
"mx-1 px-1 body-2 font-weight-bold"
>
<span
class=
"body-2 font-weight-bold"
>
เข้าสู่ระบบ
</span>
</v-btn>
</router-link>
<v-menu
left
bottom
v-if=
"responsive"
>
<template
v-slot:activator=
"
{ on }">
<v-toolbar-side-icon
v-on=
"on"
color=
"white"
></v-toolbar-side-icon>
</
template
>
<v-list>
<v-list-tile>
<v-list-tile-title>
หน้าหลัก
</v-list-tile-title>
</v-list-tile>
<v-list-tile>
<v-list-tile-title>
หน้าหลัก
</v-list-tile-title>
</v-list-tile>
<v-list-tile
>
<v-list-tile-title>
หน้าหลัก
</v-list-tile-title>
</v-list-tile>
<v-list-tile
>
<v-list-tile-title>
หน้าหลัก
</v-list-tile-title>
</v-list-tile>
<v-list-tile
>
<v-list-tile-title>
หน้าหลัก
</v-list-tile-title>
</v-list-tile>
<v-list-tile
>
<v-list-tile-title>
หน้าหลัก
</v-list-tile-title>
</v-list-tile>
</v-list>
</v-menu>
</v-toolbar>
</v-flex>
</v-layout>
<v-layout
row
wrap
white
>
<v-flex
xs12
sm10
offset-sm1
>
<v-toolbar
flat
color=
"white"
height=
"40"
>
<v-spacer></v-spacer>
<v-btn
small=
""
dark
color=
"deep-orange darken-4"
class=
"elevation-0"
@
click=
"$router.push('/employer')"
>
สำหรับผู้ประกอบการ
</v-btn>
<v-divider
inset
vertical
></v-divider>
<v-btn
v-if=
"!currentUser"
small
outline
color=
"deep-orange darken-4"
@
click
.
stop=
"login()"
>
<v-icon>
person
</v-icon>
เข้าสู่ระบบ
</v-btn>
<v-btn
v-if=
"!currentUser"
small
outline
color=
"deep-orange darken-4"
@
click
.
stop=
"register()"
>
<v-icon>
account_box
</v-icon>
ลงทะเบียน
</v-btn>
<v-btn
v-else
small
outline
color=
"deep-orange darken-4"
@
click=
"logout()"
>
<v-icon>
account_circle
</v-icon>
{{ currentUser }}
</v-btn>
</v-toolbar>
</v-flex>
</v-layout>
<login
v-if=
"dialog === 'login'"
></login>
<register
v-if=
"dialog === 'register'"
></register>
</div>
</template>
<
script
>
import
Login
from
'../views/Login.vue'
;
import
Register
from
'../views/Register.vue'
;
export
default
{
props
:
[
'page'
],
components
:
{
'login'
:
Login
,
'register'
:
Register
},
data
()
{
return
{
responsive
:
false
,
dialog
:
'login'
}
},
computed
:
{
currentUser
()
{
return
this
.
$store
.
getters
.
getUser
.
name
}
},
mounted
()
{
this
.
onResponsiveInverted
()
window
.
addEventListener
(
'resize'
,
this
.
onResponsiveInverted
)
},
beforeDestroy
()
{
window
.
removeEventListener
(
'resize'
,
this
.
onResponsiveInverted
)
},
methods
:
{
onResponsiveInverted
()
{
if
(
window
.
innerWidth
<
991
)
{
this
.
responsive
=
true
}
else
{
this
.
responsive
=
false
}
},
logout
()
{
this
.
$store
.
dispatch
(
'logout'
)
},
login
()
{
this
.
dialog
=
'login'
this
.
$store
.
commit
(
'setDialog'
,
!
this
.
$store
.
getters
.
getDialog
)
},
register
()
{
this
.
dialog
=
'register'
this
.
$store
.
commit
(
'setDialog'
,
!
this
.
$store
.
getters
.
getDialog
)
}
}
}
</
script
>
<
style
lang=
"scss"
scoped
>
.colornav
{
background-color
:
#0d253d
;
}
</
style
>
.history/resources/js/components/Toolbar_20190424114829.vue
0 → 100644
View file @
b8a7da9b
<
template
>
<div>
<v-layout
row
wrap
fill-height
align-center
class=
"colornav pt-1"
>
<v-flex
xs12
sm10
offset-sm1
>
<v-toolbar
flat
color=
"#0d253d"
>
<!--v-if="page == 'app'"-->
<v-toolbar-title
class=
""
>
<router-link
to=
"/"
><img
src=
"../../../public/images/logocoop.png"
class=
""
width=
"140"
></router-link>
</v-toolbar-title>
<v-spacer></v-spacer>
<router-link
to=
"/"
>
<v-btn
v-if=
"!responsive"
flat
color=
"white"
class=
"mx-2 px-2"
>
<v-icon>
home
</v-icon>
</v-btn>
</router-link>
<router-link
to=
"/showjob"
>
<v-btn
v-if=
"!responsive"
flat
color=
"white"
class=
"mx-2 px-2 body-2 font-weight-bold"
>
<span
class=
"body-2 font-weight-bold"
>
หางานทั้งหมด
</span>
</v-btn>
</router-link>
<router-link
to=
"/employer"
>
<v-btn
v-if=
"!responsive"
flat
color=
"white"
class=
"mx-1 px-1 body-2 font-weight-bold"
>
<span
class=
"body-2 font-weight-bold"
>
สำหรับผู้ประกอบการ
</span>
</v-btn>
</router-link>
<v-btn
v-if=
"!responsive"
flat
color=
"white"
class=
"mx-1 px-1 body-2 font-weight-bold"
>
<span
class=
"body-2 font-weight-bold"
>
เข้าสู่ระบบ
</span>
</v-btn>
<v-menu
left
bottom
v-if=
"responsive"
>
<template
v-slot:activator=
"
{ on }">
<v-toolbar-side-icon
v-on=
"on"
color=
"white"
></v-toolbar-side-icon>
</
template
>
<v-list>
<v-list-tile>
<v-list-tile-title>
หน้าหลัก
</v-list-tile-title>
</v-list-tile>
<v-list-tile>
<v-list-tile-title>
หน้าหลัก
</v-list-tile-title>
</v-list-tile>
<v-list-tile
>
<v-list-tile-title>
หน้าหลัก
</v-list-tile-title>
</v-list-tile>
<v-list-tile
>
<v-list-tile-title>
หน้าหลัก
</v-list-tile-title>
</v-list-tile>
<v-list-tile
>
<v-list-tile-title>
หน้าหลัก
</v-list-tile-title>
</v-list-tile>
<v-list-tile
>
<v-list-tile-title>
หน้าหลัก
</v-list-tile-title>
</v-list-tile>
</v-list>
</v-menu>
</v-toolbar>
</v-flex>
</v-layout>
<v-layout
row
wrap
white
>
<v-flex
xs12
sm10
offset-sm1
>
<v-toolbar
flat
color=
"white"
height=
"40"
>
<v-spacer></v-spacer>
<v-btn
small=
""
dark
color=
"deep-orange darken-4"
class=
"elevation-0"
@
click=
"$router.push('/employer')"
>
สำหรับผู้ประกอบการ
</v-btn>
<v-divider
inset
vertical
></v-divider>
<v-btn
v-if=
"!currentUser"
small
outline
color=
"deep-orange darken-4"
@
click
.
stop=
"login()"
>
<v-icon>
person
</v-icon>
เข้าสู่ระบบ
</v-btn>
<v-btn
v-if=
"!currentUser"
small
outline
color=
"deep-orange darken-4"
@
click
.
stop=
"register()"
>
<v-icon>
account_box
</v-icon>
ลงทะเบียน
</v-btn>
<v-btn
v-else
small
outline
color=
"deep-orange darken-4"
@
click=
"logout()"
>
<v-icon>
account_circle
</v-icon>
{{ currentUser }}
</v-btn>
</v-toolbar>
</v-flex>
</v-layout>
<login
v-if=
"dialog === 'login'"
></login>
<register
v-if=
"dialog === 'register'"
></register>
</div>
</template>
<
script
>
import
Login
from
'../views/Login.vue'
;
import
Register
from
'../views/Register.vue'
;
export
default
{
props
:
[
'page'
],
components
:
{
'login'
:
Login
,
'register'
:
Register
},
data
()
{
return
{
responsive
:
false
,
dialog
:
'login'
}
},
computed
:
{
currentUser
()
{
return
this
.
$store
.
getters
.
getUser
.
name
}
},
mounted
()
{
this
.
onResponsiveInverted
()
window
.
addEventListener
(
'resize'
,
this
.
onResponsiveInverted
)
},
beforeDestroy
()
{
window
.
removeEventListener
(
'resize'
,
this
.
onResponsiveInverted
)
},
methods
:
{
onResponsiveInverted
()
{
if
(
window
.
innerWidth
<
991
)
{
this
.
responsive
=
true
}
else
{
this
.
responsive
=
false
}
},
logout
()
{
this
.
$store
.
dispatch
(
'logout'
)
},
login
()
{
this
.
dialog
=
'login'
this
.
$store
.
commit
(
'setDialog'
,
!
this
.
$store
.
getters
.
getDialog
)
},
register
()
{
this
.
dialog
=
'register'
this
.
$store
.
commit
(
'setDialog'
,
!
this
.
$store
.
getters
.
getDialog
)
}
}
}
</
script
>
<
style
lang=
"scss"
scoped
>
.colornav
{
background-color
:
#0d253d
;
}
</
style
>
.history/resources/js/components/Toolbar_20190424114851.vue
0 → 100644
View file @
b8a7da9b
<
template
>
<div>
<v-layout
row
wrap
fill-height
align-center
class=
"colornav pt-1"
>
<v-flex
xs12
sm10
offset-sm1
>
<v-toolbar
flat
color=
"#0d253d"
>
<!--v-if="page == 'app'"-->
<v-toolbar-title
class=
""
>
<router-link
to=
"/"
><img
src=
"../../../public/images/logocoop.png"
class=
""
width=
"140"
></router-link>
</v-toolbar-title>
<v-spacer></v-spacer>
<router-link
to=
"/"
>
<v-btn
v-if=
"!responsive"
flat
color=
"white"
class=
"mx-2 px-2"
>
<v-icon>
home
</v-icon>
</v-btn>
</router-link>
<router-link
to=
"/showjob"
>
<v-btn
v-if=
"!responsive"
flat
color=
"white"
class=
"mx-2 px-2 body-2 font-weight-bold"
>
<span
class=
"body-2 font-weight-bold"
>
หางานทั้งหมด
</span>
</v-btn>
</router-link>
<router-link
to=
"/employer"
>
<v-btn
v-if=
"!responsive"
flat
color=
"white"
class=
"mx-1 px-1 body-2 font-weight-bold"
>
<span
class=
"body-2 font-weight-bold"
>
สำหรับผู้ประกอบการ
</span>
</v-btn>
</router-link>
<v-btn
v-if=
"!responsive"
flat
color=
"white"
class=
"mx-1 px-1 body-2 font-weight-bold"
@
click
.
stop=
"login()"
>
<span
class=
"body-2 font-weight-bold"
>
เข้าสู่ระบบ
</span>
</v-btn>
<v-menu
left
bottom
v-if=
"responsive"
>
<template
v-slot:activator=
"
{ on }">
<v-toolbar-side-icon
v-on=
"on"
color=
"white"
></v-toolbar-side-icon>
</
template
>
<v-list>
<v-list-tile>
<v-list-tile-title>
หน้าหลัก
</v-list-tile-title>
</v-list-tile>
<v-list-tile>
<v-list-tile-title>
หน้าหลัก
</v-list-tile-title>
</v-list-tile>
<v-list-tile
>
<v-list-tile-title>
หน้าหลัก
</v-list-tile-title>
</v-list-tile>
<v-list-tile
>
<v-list-tile-title>
หน้าหลัก
</v-list-tile-title>
</v-list-tile>
<v-list-tile
>
<v-list-tile-title>
หน้าหลัก
</v-list-tile-title>
</v-list-tile>
<v-list-tile
>
<v-list-tile-title>
หน้าหลัก
</v-list-tile-title>
</v-list-tile>
</v-list>
</v-menu>
</v-toolbar>
</v-flex>
</v-layout>
<v-layout
row
wrap
white
>
<v-flex
xs12
sm10
offset-sm1
>
<v-toolbar
flat
color=
"white"
height=
"40"
>
<v-spacer></v-spacer>
<v-btn
small=
""
dark
color=
"deep-orange darken-4"
class=
"elevation-0"
@
click=
"$router.push('/employer')"
>
สำหรับผู้ประกอบการ
</v-btn>
<v-divider
inset
vertical
></v-divider>
<v-btn
v-if=
"!currentUser"
small
outline
color=
"deep-orange darken-4"
>
<v-icon>
person
</v-icon>
เข้าสู่ระบบ
</v-btn>
<v-btn
v-if=
"!currentUser"
small
outline
color=
"deep-orange darken-4"
@
click
.
stop=
"register()"
>
<v-icon>
account_box
</v-icon>
ลงทะเบียน
</v-btn>
<v-btn
v-else
small
outline
color=
"deep-orange darken-4"
@
click=
"logout()"
>
<v-icon>
account_circle
</v-icon>
{{ currentUser }}
</v-btn>
</v-toolbar>
</v-flex>
</v-layout>
<login
v-if=
"dialog === 'login'"
></login>
<register
v-if=
"dialog === 'register'"
></register>
</div>
</template>
<
script
>
import
Login
from
'../views/Login.vue'
;
import
Register
from
'../views/Register.vue'
;
export
default
{
props
:
[
'page'
],
components
:
{
'login'
:
Login
,
'register'
:
Register
},
data
()
{
return
{
responsive
:
false
,
dialog
:
'login'
}
},
computed
:
{
currentUser
()
{
return
this
.
$store
.
getters
.
getUser
.
name
}
},
mounted
()
{
this
.
onResponsiveInverted
()
window
.
addEventListener
(
'resize'
,
this
.
onResponsiveInverted
)
},
beforeDestroy
()
{
window
.
removeEventListener
(
'resize'
,
this
.
onResponsiveInverted
)
},
methods
:
{
onResponsiveInverted
()
{
if
(
window
.
innerWidth
<
991
)
{
this
.
responsive
=
true
}
else
{
this
.
responsive
=
false
}
},
logout
()
{
this
.
$store
.
dispatch
(
'logout'
)
},
login
()
{
this
.
dialog
=
'login'
this
.
$store
.
commit
(
'setDialog'
,
!
this
.
$store
.
getters
.
getDialog
)
},
register
()
{
this
.
dialog
=
'register'
this
.
$store
.
commit
(
'setDialog'
,
!
this
.
$store
.
getters
.
getDialog
)
}
}
}
</
script
>
<
style
lang=
"scss"
scoped
>
.colornav
{
background-color
:
#0d253d
;
}
</
style
>
.history/resources/js/components/Toolbar_20190424115249.vue
0 → 100644
View file @
b8a7da9b
<
template
>
<div>
<v-layout
row
wrap
fill-height
align-center
class=
"colornav pt-1"
>
<v-flex
xs12
sm10
offset-sm1
>
<v-toolbar
flat
color=
"#0d253d"
>
<!--v-if="page == 'app'"-->
<v-toolbar-title
class=
""
>
<router-link
to=
"/"
><img
src=
"../../../public/images/logocoop.png"
class=
""
width=
"140"
></router-link>
</v-toolbar-title>
<v-spacer></v-spacer>
<router-link
to=
"/"
>
<v-btn
v-if=
"!responsive"
flat
color=
"white"
class=
"mx-2 px-2"
>
<v-icon>
home
</v-icon>
</v-btn>
</router-link>
<router-link
to=
"/showjob"
>
<v-btn
v-if=
"!responsive"
flat
color=
"white"
class=
"mx-2 px-2 body-2 font-weight-bold"
>
<span
class=
"body-2 font-weight-bold"
>
หางานทั้งหมด
</span>
</v-btn>
</router-link>
<router-link
to=
"/employer"
>
<v-btn
v-if=
"!responsive"
flat
color=
"white"
class=
"mx-1 px-1 body-2 font-weight-bold"
>
<span
class=
"body-2 font-weight-bold"
>
สำหรับผู้ประกอบการ
</span>
</v-btn>
</router-link>
<v-btn
v-if=
"!responsive !currentUser"
flat
color=
"white"
class=
"mx-1 px-1 body-2 font-weight-bold"
@
click
.
stop=
"login()"
>
<span
class=
"body-2 font-weight-bold"
>
เข้าสู่ระบบ
</span>
</v-btn>
<v-btn
v-if=
"!responsive !currentUser"
flat
color=
"white"
class=
"mx-1 px-1 body-2 font-weight-bold"
@
click
.
stop=
"register()"
>
<span
class=
"body-2 font-weight-bold"
>
สมัครสมาชิก
</span>
</v-btn>
<v-menu
left
bottom
v-if=
"responsive"
>
<template
v-slot:activator=
"
{ on }">
<v-toolbar-side-icon
v-on=
"on"
color=
"white"
></v-toolbar-side-icon>
</
template
>
<v-list>
<v-list-tile>
<v-list-tile-title>
หน้าหลัก
</v-list-tile-title>
</v-list-tile>
<v-list-tile>
<v-list-tile-title>
หน้าหลัก
</v-list-tile-title>
</v-list-tile>
<v-list-tile
>
<v-list-tile-title>
หน้าหลัก
</v-list-tile-title>
</v-list-tile>
<v-list-tile
>
<v-list-tile-title>
หน้าหลัก
</v-list-tile-title>
</v-list-tile>
<v-list-tile
>
<v-list-tile-title>
หน้าหลัก
</v-list-tile-title>
</v-list-tile>
<v-list-tile
>
<v-list-tile-title>
หน้าหลัก
</v-list-tile-title>
</v-list-tile>
</v-list>
</v-menu>
</v-toolbar>
</v-flex>
</v-layout>
<v-layout
row
wrap
white
>
<v-flex
xs12
sm10
offset-sm1
>
<v-toolbar
flat
color=
"white"
height=
"40"
>
<v-spacer></v-spacer>
<v-btn
small=
""
dark
color=
"deep-orange darken-4"
class=
"elevation-0"
@
click=
"$router.push('/employer')"
>
สำหรับผู้ประกอบการ
</v-btn>
<v-divider
inset
vertical
></v-divider>
<v-btn
v-if=
"!currentUser"
small
outline
color=
"deep-orange darken-4"
>
<v-icon>
person
</v-icon>
เข้าสู่ระบบ
</v-btn>
<v-btn
v-if=
"!currentUser"
small
outline
color=
"deep-orange darken-4"
>
<v-icon>
account_box
</v-icon>
ลงทะเบียน
</v-btn>
<v-btn
v-else
small
outline
color=
"deep-orange darken-4"
@
click=
"logout()"
>
<v-icon>
account_circle
</v-icon>
{{ currentUser }}
</v-btn>
</v-toolbar>
</v-flex>
</v-layout>
<login
v-if=
"dialog === 'login'"
></login>
<register
v-if=
"dialog === 'register'"
></register>
</div>
</template>
<
script
>
import
Login
from
'../views/Login.vue'
;
import
Register
from
'../views/Register.vue'
;
export
default
{
props
:
[
'page'
],
components
:
{
'login'
:
Login
,
'register'
:
Register
},
data
()
{
return
{
responsive
:
false
,
dialog
:
'login'
}
},
computed
:
{
currentUser
()
{
return
this
.
$store
.
getters
.
getUser
.
name
}
},
mounted
()
{
this
.
onResponsiveInverted
()
window
.
addEventListener
(
'resize'
,
this
.
onResponsiveInverted
)
},
beforeDestroy
()
{
window
.
removeEventListener
(
'resize'
,
this
.
onResponsiveInverted
)
},
methods
:
{
onResponsiveInverted
()
{
if
(
window
.
innerWidth
<
991
)
{
this
.
responsive
=
true
}
else
{
this
.
responsive
=
false
}
},
logout
()
{
this
.
$store
.
dispatch
(
'logout'
)
},
login
()
{
this
.
dialog
=
'login'
this
.
$store
.
commit
(
'setDialog'
,
!
this
.
$store
.
getters
.
getDialog
)
},
register
()
{
this
.
dialog
=
'register'
this
.
$store
.
commit
(
'setDialog'
,
!
this
.
$store
.
getters
.
getDialog
)
}
}
}
</
script
>
<
style
lang=
"scss"
scoped
>
.colornav
{
background-color
:
#0d253d
;
}
</
style
>
.history/resources/js/components/Toolbar_20190424115315.vue
0 → 100644
View file @
b8a7da9b
<
template
>
<div>
<v-layout
row
wrap
fill-height
align-center
class=
"colornav pt-1"
>
<v-flex
xs12
sm10
offset-sm1
>
<v-toolbar
flat
color=
"#0d253d"
>
<!--v-if="page == 'app'"-->
<v-toolbar-title
class=
""
>
<router-link
to=
"/"
><img
src=
"../../../public/images/logocoop.png"
class=
""
width=
"140"
></router-link>
</v-toolbar-title>
<v-spacer></v-spacer>
<router-link
to=
"/"
>
<v-btn
v-if=
"!responsive"
flat
color=
"white"
class=
"mx-2 px-2"
>
<v-icon>
home
</v-icon>
</v-btn>
</router-link>
<router-link
to=
"/showjob"
>
<v-btn
v-if=
"!responsive"
flat
color=
"white"
class=
"mx-2 px-2 body-2 font-weight-bold"
>
<span
class=
"body-2 font-weight-bold"
>
หางานทั้งหมด
</span>
</v-btn>
</router-link>
<router-link
to=
"/employer"
>
<v-btn
v-if=
"!responsive"
flat
color=
"white"
class=
"mx-1 px-1 body-2 font-weight-bold"
>
<span
class=
"body-2 font-weight-bold"
>
สำหรับผู้ประกอบการ
</span>
</v-btn>
</router-link>
<v-btn
v-if=
"!currentUser"
flat
color=
"white"
class=
"mx-1 px-1 body-2 font-weight-bold"
@
click
.
stop=
"login()"
>
<span
class=
"body-2 font-weight-bold"
>
เข้าสู่ระบบ
</span>
</v-btn>
<v-btn
v-if=
"!currentUser"
flat
color=
"white"
class=
"mx-1 px-1 body-2 font-weight-bold"
@
click
.
stop=
"register()"
>
<span
class=
"body-2 font-weight-bold"
>
สมัครสมาชิก
</span>
</v-btn>
<v-menu
left
bottom
v-if=
"responsive"
>
<template
v-slot:activator=
"
{ on }">
<v-toolbar-side-icon
v-on=
"on"
color=
"white"
></v-toolbar-side-icon>
</
template
>
<v-list>
<v-list-tile>
<v-list-tile-title>
หน้าหลัก
</v-list-tile-title>
</v-list-tile>
<v-list-tile>
<v-list-tile-title>
หน้าหลัก
</v-list-tile-title>
</v-list-tile>
<v-list-tile
>
<v-list-tile-title>
หน้าหลัก
</v-list-tile-title>
</v-list-tile>
<v-list-tile
>
<v-list-tile-title>
หน้าหลัก
</v-list-tile-title>
</v-list-tile>
<v-list-tile
>
<v-list-tile-title>
หน้าหลัก
</v-list-tile-title>
</v-list-tile>
<v-list-tile
>
<v-list-tile-title>
หน้าหลัก
</v-list-tile-title>
</v-list-tile>
</v-list>
</v-menu>
</v-toolbar>
</v-flex>
</v-layout>
<v-layout
row
wrap
white
>
<v-flex
xs12
sm10
offset-sm1
>
<v-toolbar
flat
color=
"white"
height=
"40"
>
<v-spacer></v-spacer>
<v-btn
small=
""
dark
color=
"deep-orange darken-4"
class=
"elevation-0"
@
click=
"$router.push('/employer')"
>
สำหรับผู้ประกอบการ
</v-btn>
<v-divider
inset
vertical
></v-divider>
<v-btn
v-if=
"!currentUser"
small
outline
color=
"deep-orange darken-4"
>
<v-icon>
person
</v-icon>
เข้าสู่ระบบ
</v-btn>
<v-btn
v-if=
"!currentUser"
small
outline
color=
"deep-orange darken-4"
>
<v-icon>
account_box
</v-icon>
ลงทะเบียน
</v-btn>
<v-btn
v-else
small
outline
color=
"deep-orange darken-4"
@
click=
"logout()"
>
<v-icon>
account_circle
</v-icon>
{{ currentUser }}
</v-btn>
</v-toolbar>
</v-flex>
</v-layout>
<login
v-if=
"dialog === 'login'"
></login>
<register
v-if=
"dialog === 'register'"
></register>
</div>
</template>
<
script
>
import
Login
from
'../views/Login.vue'
;
import
Register
from
'../views/Register.vue'
;
export
default
{
props
:
[
'page'
],
components
:
{
'login'
:
Login
,
'register'
:
Register
},
data
()
{
return
{
responsive
:
false
,
dialog
:
'login'
}
},
computed
:
{
currentUser
()
{
return
this
.
$store
.
getters
.
getUser
.
name
}
},
mounted
()
{
this
.
onResponsiveInverted
()
window
.
addEventListener
(
'resize'
,
this
.
onResponsiveInverted
)
},
beforeDestroy
()
{
window
.
removeEventListener
(
'resize'
,
this
.
onResponsiveInverted
)
},
methods
:
{
onResponsiveInverted
()
{
if
(
window
.
innerWidth
<
991
)
{
this
.
responsive
=
true
}
else
{
this
.
responsive
=
false
}
},
logout
()
{
this
.
$store
.
dispatch
(
'logout'
)
},
login
()
{
this
.
dialog
=
'login'
this
.
$store
.
commit
(
'setDialog'
,
!
this
.
$store
.
getters
.
getDialog
)
},
register
()
{
this
.
dialog
=
'register'
this
.
$store
.
commit
(
'setDialog'
,
!
this
.
$store
.
getters
.
getDialog
)
}
}
}
</
script
>
<
style
lang=
"scss"
scoped
>
.colornav
{
background-color
:
#0d253d
;
}
</
style
>
.history/resources/js/components/Toolbar_20190424115439.vue
0 → 100644
View file @
b8a7da9b
<
template
>
<div>
<v-layout
row
wrap
fill-height
align-center
class=
"colornav pt-1"
>
<v-flex
xs12
sm10
offset-sm1
>
<v-toolbar
flat
color=
"#0d253d"
>
<!--v-if="page == 'app'"-->
<v-toolbar-title
class=
""
>
<router-link
to=
"/"
><img
src=
"../../../public/images/logocoop.png"
class=
""
width=
"140"
></router-link>
</v-toolbar-title>
<v-spacer></v-spacer>
<router-link
to=
"/"
>
<v-btn
v-if=
"!responsive"
flat
color=
"white"
class=
"mx-2 px-2"
>
<v-icon>
home
</v-icon>
</v-btn>
</router-link>
<router-link
to=
"/showjob"
>
<v-btn
v-if=
"!responsive"
flat
color=
"white"
class=
"mx-2 px-2 body-2 font-weight-bold"
>
<span
class=
"body-2 font-weight-bold"
>
หางานทั้งหมด
</span>
</v-btn>
</router-link>
<router-link
to=
"/employer"
>
<v-btn
v-if=
"!responsive"
flat
color=
"white"
class=
"mx-1 px-1 body-2 font-weight-bold"
>
<span
class=
"body-2 font-weight-bold"
>
สำหรับผู้ประกอบการ
</span>
</v-btn>
</router-link>
<v-btn
v-if=
"!currentUser"
flat
color=
"white"
class=
"mx-1 px-1 body-2 font-weight-bold"
@
click
.
stop=
"login()"
>
<span
class=
"body-2 font-weight-bold"
>
เข้าสู่ระบบ
</span>
</v-btn>
<v-btn
v-if=
"!currentUser"
flat
color=
"white"
class=
"mx-1 px-1 body-2 font-weight-bold"
@
click
.
stop=
"register()"
>
<span
class=
"body-2 font-weight-bold"
>
สมัครสมาชิก
</span>
</v-btn>
</v-toolbar>
</v-flex>
</v-layout>
<v-layout
row
wrap
white
>
<v-flex
xs12
sm10
offset-sm1
>
<v-toolbar
flat
color=
"white"
height=
"40"
>
<v-spacer></v-spacer>
<v-btn
small=
""
dark
color=
"deep-orange darken-4"
class=
"elevation-0"
@
click=
"$router.push('/employer')"
>
สำหรับผู้ประกอบการ
</v-btn>
<v-divider
inset
vertical
></v-divider>
<v-btn
v-if=
"!currentUser"
small
outline
color=
"deep-orange darken-4"
>
<v-icon>
person
</v-icon>
เข้าสู่ระบบ
</v-btn>
<v-btn
v-if=
"!currentUser"
small
outline
color=
"deep-orange darken-4"
>
<v-icon>
account_box
</v-icon>
ลงทะเบียน
</v-btn>
<v-btn
v-else
small
outline
color=
"deep-orange darken-4"
@
click=
"logout()"
>
<v-icon>
account_circle
</v-icon>
{{
currentUser
}}
</v-btn>
</v-toolbar>
</v-flex>
</v-layout>
<login
v-if=
"dialog === 'login'"
></login>
<register
v-if=
"dialog === 'register'"
></register>
</div>
</
template
>
<
script
>
import
Login
from
'../views/Login.vue'
;
import
Register
from
'../views/Register.vue'
;
export
default
{
props
:
[
'page'
],
components
:
{
'login'
:
Login
,
'register'
:
Register
},
data
()
{
return
{
responsive
:
false
,
dialog
:
'login'
}
},
computed
:
{
currentUser
()
{
return
this
.
$store
.
getters
.
getUser
.
name
}
},
mounted
()
{
this
.
onResponsiveInverted
()
window
.
addEventListener
(
'resize'
,
this
.
onResponsiveInverted
)
},
beforeDestroy
()
{
window
.
removeEventListener
(
'resize'
,
this
.
onResponsiveInverted
)
},
methods
:
{
onResponsiveInverted
()
{
if
(
window
.
innerWidth
<
991
)
{
this
.
responsive
=
true
}
else
{
this
.
responsive
=
false
}
},
logout
()
{
this
.
$store
.
dispatch
(
'logout'
)
},
login
()
{
this
.
dialog
=
'login'
this
.
$store
.
commit
(
'setDialog'
,
!
this
.
$store
.
getters
.
getDialog
)
},
register
()
{
this
.
dialog
=
'register'
this
.
$store
.
commit
(
'setDialog'
,
!
this
.
$store
.
getters
.
getDialog
)
}
}
}
</
script
>
<
style
lang=
"scss"
scoped
>
.colornav
{
background-color
:
#0d253d
;
}
</
style
>
.history/resources/js/components/Toolbar_20190424115619.vue
0 → 100644
View file @
b8a7da9b
<
template
>
<div>
<v-layout
row
wrap
fill-height
align-center
class=
"colornav pt-1"
>
<v-flex
xs12
sm10
offset-sm1
>
<v-toolbar
flat
color=
"#0d253d"
>
<!--v-if="page == 'app'"-->
<v-toolbar-title
class=
""
>
<router-link
to=
"/"
><img
src=
"../../../public/images/logocoop.png"
class=
""
width=
"140"
></router-link>
</v-toolbar-title>
<v-spacer></v-spacer>
<router-link
to=
"/"
>
<v-btn
v-if=
"!responsive"
flat
color=
"white"
class=
"mx-2 px-2"
>
<v-icon>
home
</v-icon>
</v-btn>
</router-link>
<router-link
to=
"/showjob"
>
<v-btn
v-if=
"!responsive"
flat
color=
"white"
class=
"mx-2 px-2 body-2 font-weight-bold"
>
<span
class=
"body-2 font-weight-bold"
>
หางานทั้งหมด
</span>
</v-btn>
</router-link>
<router-link
to=
"/employer"
>
<v-btn
v-if=
"!responsive"
flat
color=
"white"
class=
"mx-1 px-1 body-2 font-weight-bold"
>
<span
class=
"body-2 font-weight-bold"
>
สำหรับผู้ประกอบการ
</span>
</v-btn>
</router-link>
<v-btn
v-if=
"!currentUser"
flat
color=
"white"
class=
"mx-1 px-1 body-2 font-weight-bold"
@
click
.
stop=
"login()"
>
<span
class=
"body-2 font-weight-bold"
>
เข้าสู่ระบบ
</span>
</v-btn>
<v-btn
v-if=
"!currentUser"
flat
color=
"white"
class=
"mx-1 px-1 body-2 font-weight-bold"
@
click
.
stop=
"register()"
>
<span
class=
"body-2 font-weight-bold"
>
สมัครสมาชิก
</span>
</v-btn>
<v-btn
v-else
small
outline
flat
color=
"white"
color=
"deep-orange darken-4"
@
click=
"logout()"
>
<v-icon>
account_circle
</v-icon>
{{
currentUser
}}
</v-btn>
</v-toolbar>
</v-flex>
</v-layout>
<v-layout
row
wrap
white
>
<v-flex
xs12
sm10
offset-sm1
>
<v-toolbar
flat
color=
"white"
height=
"40"
>
<v-spacer></v-spacer>
<v-btn
small=
""
dark
color=
"deep-orange darken-4"
class=
"elevation-0"
@
click=
"$router.push('/employer')"
>
สำหรับผู้ประกอบการ
</v-btn>
<v-divider
inset
vertical
></v-divider>
<v-btn
v-if=
"!currentUser"
small
outline
color=
"deep-orange darken-4"
>
<v-icon>
person
</v-icon>
เข้าสู่ระบบ
</v-btn>
<v-btn
v-if=
"!currentUser"
small
outline
color=
"deep-orange darken-4"
>
<v-icon>
account_box
</v-icon>
ลงทะเบียน
</v-btn>
</v-toolbar>
</v-flex>
</v-layout>
<login
v-if=
"dialog === 'login'"
></login>
<register
v-if=
"dialog === 'register'"
></register>
</div>
</
template
>
<
script
>
import
Login
from
'../views/Login.vue'
;
import
Register
from
'../views/Register.vue'
;
export
default
{
props
:
[
'page'
],
components
:
{
'login'
:
Login
,
'register'
:
Register
},
data
()
{
return
{
responsive
:
false
,
dialog
:
'login'
}
},
computed
:
{
currentUser
()
{
return
this
.
$store
.
getters
.
getUser
.
name
}
},
mounted
()
{
this
.
onResponsiveInverted
()
window
.
addEventListener
(
'resize'
,
this
.
onResponsiveInverted
)
},
beforeDestroy
()
{
window
.
removeEventListener
(
'resize'
,
this
.
onResponsiveInverted
)
},
methods
:
{
onResponsiveInverted
()
{
if
(
window
.
innerWidth
<
991
)
{
this
.
responsive
=
true
}
else
{
this
.
responsive
=
false
}
},
logout
()
{
this
.
$store
.
dispatch
(
'logout'
)
},
login
()
{
this
.
dialog
=
'login'
this
.
$store
.
commit
(
'setDialog'
,
!
this
.
$store
.
getters
.
getDialog
)
},
register
()
{
this
.
dialog
=
'register'
this
.
$store
.
commit
(
'setDialog'
,
!
this
.
$store
.
getters
.
getDialog
)
}
}
}
</
script
>
<
style
lang=
"scss"
scoped
>
.colornav
{
background-color
:
#0d253d
;
}
</
style
>
.history/resources/js/components/Toolbar_20190424115627.vue
0 → 100644
View file @
b8a7da9b
<
template
>
<div>
<v-layout
row
wrap
fill-height
align-center
class=
"colornav pt-1"
>
<v-flex
xs12
sm10
offset-sm1
>
<v-toolbar
flat
color=
"#0d253d"
>
<!--v-if="page == 'app'"-->
<v-toolbar-title
class=
""
>
<router-link
to=
"/"
><img
src=
"../../../public/images/logocoop.png"
class=
""
width=
"140"
></router-link>
</v-toolbar-title>
<v-spacer></v-spacer>
<router-link
to=
"/"
>
<v-btn
v-if=
"!responsive"
flat
color=
"white"
class=
"mx-2 px-2"
>
<v-icon>
home
</v-icon>
</v-btn>
</router-link>
<router-link
to=
"/showjob"
>
<v-btn
v-if=
"!responsive"
flat
color=
"white"
class=
"mx-2 px-2 body-2 font-weight-bold"
>
<span
class=
"body-2 font-weight-bold"
>
หางานทั้งหมด
</span>
</v-btn>
</router-link>
<router-link
to=
"/employer"
>
<v-btn
v-if=
"!responsive"
flat
color=
"white"
class=
"mx-1 px-1 body-2 font-weight-bold"
>
<span
class=
"body-2 font-weight-bold"
>
สำหรับผู้ประกอบการ
</span>
</v-btn>
</router-link>
<v-btn
v-if=
"!currentUser"
flat
color=
"white"
class=
"mx-1 px-1 body-2 font-weight-bold"
@
click
.
stop=
"login()"
>
<span
class=
"body-2 font-weight-bold"
>
เข้าสู่ระบบ
</span>
</v-btn>
<v-btn
v-if=
"!currentUser"
flat
color=
"white"
class=
"mx-1 px-1 body-2 font-weight-bold"
@
click
.
stop=
"register()"
>
<span
class=
"body-2 font-weight-bold"
>
สมัครสมาชิก
</span>
</v-btn>
<v-btn
v-else
small
outline
flat
color=
"deep-orange darken-4"
@
click=
"logout()"
>
<v-icon>
account_circle
</v-icon>
{{
currentUser
}}
</v-btn>
</v-toolbar>
</v-flex>
</v-layout>
<v-layout
row
wrap
white
>
<v-flex
xs12
sm10
offset-sm1
>
<v-toolbar
flat
color=
"white"
height=
"40"
>
<v-spacer></v-spacer>
<v-btn
small=
""
dark
color=
"deep-orange darken-4"
class=
"elevation-0"
@
click=
"$router.push('/employer')"
>
สำหรับผู้ประกอบการ
</v-btn>
<v-divider
inset
vertical
></v-divider>
<v-btn
v-if=
"!currentUser"
small
outline
color=
"deep-orange darken-4"
>
<v-icon>
person
</v-icon>
เข้าสู่ระบบ
</v-btn>
<v-btn
v-if=
"!currentUser"
small
outline
color=
"deep-orange darken-4"
>
<v-icon>
account_box
</v-icon>
ลงทะเบียน
</v-btn>
</v-toolbar>
</v-flex>
</v-layout>
<login
v-if=
"dialog === 'login'"
></login>
<register
v-if=
"dialog === 'register'"
></register>
</div>
</
template
>
<
script
>
import
Login
from
'../views/Login.vue'
;
import
Register
from
'../views/Register.vue'
;
export
default
{
props
:
[
'page'
],
components
:
{
'login'
:
Login
,
'register'
:
Register
},
data
()
{
return
{
responsive
:
false
,
dialog
:
'login'
}
},
computed
:
{
currentUser
()
{
return
this
.
$store
.
getters
.
getUser
.
name
}
},
mounted
()
{
this
.
onResponsiveInverted
()
window
.
addEventListener
(
'resize'
,
this
.
onResponsiveInverted
)
},
beforeDestroy
()
{
window
.
removeEventListener
(
'resize'
,
this
.
onResponsiveInverted
)
},
methods
:
{
onResponsiveInverted
()
{
if
(
window
.
innerWidth
<
991
)
{
this
.
responsive
=
true
}
else
{
this
.
responsive
=
false
}
},
logout
()
{
this
.
$store
.
dispatch
(
'logout'
)
},
login
()
{
this
.
dialog
=
'login'
this
.
$store
.
commit
(
'setDialog'
,
!
this
.
$store
.
getters
.
getDialog
)
},
register
()
{
this
.
dialog
=
'register'
this
.
$store
.
commit
(
'setDialog'
,
!
this
.
$store
.
getters
.
getDialog
)
}
}
}
</
script
>
<
style
lang=
"scss"
scoped
>
.colornav
{
background-color
:
#0d253d
;
}
</
style
>
.history/resources/js/components/Toolbar_20190424115726.vue
0 → 100644
View file @
b8a7da9b
<
template
>
<div>
<v-layout
row
wrap
fill-height
align-center
class=
"colornav pt-1"
>
<v-flex
xs12
sm10
offset-sm1
>
<v-toolbar
flat
color=
"#0d253d"
>
<!--v-if="page == 'app'"-->
<v-toolbar-title
class=
""
>
<router-link
to=
"/"
><img
src=
"../../../public/images/logocoop.png"
class=
""
width=
"140"
></router-link>
</v-toolbar-title>
<v-spacer></v-spacer>
<router-link
to=
"/"
>
<v-btn
v-if=
"!responsive"
flat
color=
"white"
class=
"mx-2 px-2"
>
<v-icon>
home
</v-icon>
</v-btn>
</router-link>
<router-link
to=
"/showjob"
>
<v-btn
v-if=
"!responsive"
flat
color=
"white"
class=
"mx-2 px-2 body-2 font-weight-bold"
>
<span
class=
"body-2 font-weight-bold"
>
หางานทั้งหมด
</span>
</v-btn>
</router-link>
<router-link
to=
"/employer"
>
<v-btn
v-if=
"!responsive"
flat
color=
"white"
class=
"mx-1 px-1 body-2 font-weight-bold"
>
<span
class=
"body-2 font-weight-bold"
>
สำหรับผู้ประกอบการ
</span>
</v-btn>
</router-link>
<v-btn
v-if=
"!currentUser"
flat
color=
"white"
class=
"mx-1 px-1 body-2 font-weight-bold"
@
click
.
stop=
"login()"
>
<span
class=
"body-2 font-weight-bold"
>
เข้าสู่ระบบ
</span>
</v-btn>
<v-btn
v-if=
"!currentUser"
flat
color=
"white"
class=
"mx-1 px-1 body-2 font-weight-bold"
@
click
.
stop=
"register()"
>
<span
class=
"body-2 font-weight-bold"
>
สมัครสมาชิก
</span>
</v-btn>
<v-btn
v-else
small
dark
color=
"deep-orange darken-4"
@
click=
"logout()"
>
<v-icon>
account_circle
</v-icon>
{{
currentUser
}}
</v-btn>
</v-toolbar>
</v-flex>
</v-layout>
<v-layout
row
wrap
white
>
<v-flex
xs12
sm10
offset-sm1
>
<v-toolbar
flat
color=
"white"
height=
"40"
>
<v-spacer></v-spacer>
<v-btn
small=
""
dark
color=
"deep-orange darken-4"
class=
"elevation-0"
@
click=
"$router.push('/employer')"
>
สำหรับผู้ประกอบการ
</v-btn>
<v-divider
inset
vertical
></v-divider>
<v-btn
v-if=
"!currentUser"
small
outline
color=
"deep-orange darken-4"
>
<v-icon>
person
</v-icon>
เข้าสู่ระบบ
</v-btn>
<v-btn
v-if=
"!currentUser"
small
outline
color=
"deep-orange darken-4"
>
<v-icon>
account_box
</v-icon>
ลงทะเบียน
</v-btn>
</v-toolbar>
</v-flex>
</v-layout>
<login
v-if=
"dialog === 'login'"
></login>
<register
v-if=
"dialog === 'register'"
></register>
</div>
</
template
>
<
script
>
import
Login
from
'../views/Login.vue'
;
import
Register
from
'../views/Register.vue'
;
export
default
{
props
:
[
'page'
],
components
:
{
'login'
:
Login
,
'register'
:
Register
},
data
()
{
return
{
responsive
:
false
,
dialog
:
'login'
}
},
computed
:
{
currentUser
()
{
return
this
.
$store
.
getters
.
getUser
.
name
}
},
mounted
()
{
this
.
onResponsiveInverted
()
window
.
addEventListener
(
'resize'
,
this
.
onResponsiveInverted
)
},
beforeDestroy
()
{
window
.
removeEventListener
(
'resize'
,
this
.
onResponsiveInverted
)
},
methods
:
{
onResponsiveInverted
()
{
if
(
window
.
innerWidth
<
991
)
{
this
.
responsive
=
true
}
else
{
this
.
responsive
=
false
}
},
logout
()
{
this
.
$store
.
dispatch
(
'logout'
)
},
login
()
{
this
.
dialog
=
'login'
this
.
$store
.
commit
(
'setDialog'
,
!
this
.
$store
.
getters
.
getDialog
)
},
register
()
{
this
.
dialog
=
'register'
this
.
$store
.
commit
(
'setDialog'
,
!
this
.
$store
.
getters
.
getDialog
)
}
}
}
</
script
>
<
style
lang=
"scss"
scoped
>
.colornav
{
background-color
:
#0d253d
;
}
</
style
>
.history/resources/js/components/Toolbar_20190424115801.vue
0 → 100644
View file @
b8a7da9b
<
template
>
<div>
<v-layout
row
wrap
fill-height
align-center
class=
"colornav pt-1"
>
<v-flex
xs12
sm10
offset-sm1
>
<v-toolbar
flat
color=
"#0d253d"
>
<!--v-if="page == 'app'"-->
<v-toolbar-title
class=
""
>
<router-link
to=
"/"
><img
src=
"../../../public/images/logocoop.png"
class=
""
width=
"140"
></router-link>
</v-toolbar-title>
<v-spacer></v-spacer>
<router-link
to=
"/"
>
<v-btn
v-if=
"!responsive"
flat
color=
"white"
class=
"mx-2 px-2"
>
<v-icon>
home
</v-icon>
</v-btn>
</router-link>
<router-link
to=
"/showjob"
>
<v-btn
v-if=
"!responsive"
flat
color=
"white"
class=
"mx-2 px-2 body-2 font-weight-bold"
>
<span
class=
"body-2 font-weight-bold"
>
หางานทั้งหมด
</span>
</v-btn>
</router-link>
<router-link
to=
"/employer"
>
<v-btn
v-if=
"!responsive"
flat
color=
"white"
class=
"mx-1 px-1 body-2 font-weight-bold"
>
<span
class=
"body-2 font-weight-bold"
>
สำหรับผู้ประกอบการ
</span>
</v-btn>
</router-link>
<v-btn
v-if=
"!currentUser"
flat
color=
"white"
class=
"mx-1 px-1 body-2 font-weight-bold"
@
click
.
stop=
"login()"
>
<span
class=
"body-2 font-weight-bold"
>
เข้าสู่ระบบ
</span>
</v-btn>
<v-btn
v-if=
"!currentUser"
flat
color=
"white"
class=
"mx-1 px-1 body-2 font-weight-bold"
@
click
.
stop=
"register()"
>
<span
class=
"body-2 font-weight-bold"
>
สมัครสมาชิก
</span>
</v-btn>
<v-btn
v-else
small
dark
color=
"yellow darken-2"
@
click=
"logout()"
>
<v-icon>
account_circle
</v-icon>
{{
currentUser
}}
</v-btn>
</v-toolbar>
</v-flex>
</v-layout>
<v-layout
row
wrap
white
>
<v-flex
xs12
sm10
offset-sm1
>
<v-toolbar
flat
color=
"white"
height=
"40"
>
<v-spacer></v-spacer>
<v-btn
small=
""
dark
color=
"deep-orange darken-4"
class=
"elevation-0"
@
click=
"$router.push('/employer')"
>
สำหรับผู้ประกอบการ
</v-btn>
<v-divider
inset
vertical
></v-divider>
<v-btn
v-if=
"!currentUser"
small
outline
color=
"deep-orange darken-4"
>
<v-icon>
person
</v-icon>
เข้าสู่ระบบ
</v-btn>
<v-btn
v-if=
"!currentUser"
small
outline
color=
"deep-orange darken-4"
>
<v-icon>
account_box
</v-icon>
ลงทะเบียน
</v-btn>
</v-toolbar>
</v-flex>
</v-layout>
<login
v-if=
"dialog === 'login'"
></login>
<register
v-if=
"dialog === 'register'"
></register>
</div>
</
template
>
<
script
>
import
Login
from
'../views/Login.vue'
;
import
Register
from
'../views/Register.vue'
;
export
default
{
props
:
[
'page'
],
components
:
{
'login'
:
Login
,
'register'
:
Register
},
data
()
{
return
{
responsive
:
false
,
dialog
:
'login'
}
},
computed
:
{
currentUser
()
{
return
this
.
$store
.
getters
.
getUser
.
name
}
},
mounted
()
{
this
.
onResponsiveInverted
()
window
.
addEventListener
(
'resize'
,
this
.
onResponsiveInverted
)
},
beforeDestroy
()
{
window
.
removeEventListener
(
'resize'
,
this
.
onResponsiveInverted
)
},
methods
:
{
onResponsiveInverted
()
{
if
(
window
.
innerWidth
<
991
)
{
this
.
responsive
=
true
}
else
{
this
.
responsive
=
false
}
},
logout
()
{
this
.
$store
.
dispatch
(
'logout'
)
},
login
()
{
this
.
dialog
=
'login'
this
.
$store
.
commit
(
'setDialog'
,
!
this
.
$store
.
getters
.
getDialog
)
},
register
()
{
this
.
dialog
=
'register'
this
.
$store
.
commit
(
'setDialog'
,
!
this
.
$store
.
getters
.
getDialog
)
}
}
}
</
script
>
<
style
lang=
"scss"
scoped
>
.colornav
{
background-color
:
#0d253d
;
}
</
style
>
.history/resources/js/components/Toolbar_20190424120029.vue
0 → 100644
View file @
b8a7da9b
<
template
>
<div>
<v-layout
row
wrap
fill-height
align-center
class=
"colornav pt-1"
>
<v-flex
xs12
sm10
offset-sm1
>
<v-toolbar
flat
color=
"#0d253d"
>
<!--v-if="page == 'app'"-->
<v-toolbar-title
class=
""
>
<router-link
to=
"/"
><img
src=
"../../../public/images/logocoop.png"
class=
""
width=
"140"
></router-link>
</v-toolbar-title>
<v-spacer></v-spacer>
<router-link
to=
"/"
>
<v-btn
v-if=
"!responsive"
flat
color=
"white"
class=
"mx-2 px-2"
>
<v-icon>
home
</v-icon>
</v-btn>
</router-link>
<router-link
to=
"/showjob"
>
<v-btn
v-if=
"!responsive"
flat
color=
"white"
class=
"mx-2 px-2 body-2 font-weight-bold"
>
<span
class=
"body-2 font-weight-bold"
>
หางานทั้งหมด
</span>
</v-btn>
</router-link>
<router-link
to=
"/employer"
>
<v-btn
v-if=
"!responsive"
flat
color=
"white"
class=
"mx-1 px-1 body-2 font-weight-bold"
>
<span
class=
"body-2 font-weight-bold"
>
สำหรับผู้ประกอบการ
</span>
</v-btn>
</router-link>
<v-btn
v-if=
"!currentUser"
flat
color=
"white"
class=
"mx-1 px-1 body-2 font-weight-bold"
@
click
.
stop=
"login()"
>
<span
class=
"body-2 font-weight-bold"
>
เข้าสู่ระบบ
</span>
</v-btn>
<v-btn
v-if=
"!currentUser"
flat
color=
"white"
class=
"mx-1 px-1 body-2 font-weight-bold"
@
click
.
stop=
"register()"
>
<span
class=
"body-2 font-weight-bold"
>
สมัครสมาชิก
</span>
</v-btn>
<v-btn
v-else
small
dark
color=
"yellow darken-2"
@
click=
"logout()"
>
<v-icon>
account_circle
</v-icon>
{{
currentUser
}}
</v-btn>
</v-toolbar>
</v-flex>
</v-layout>
<v-layout
row
wrap
white
>
<v-flex
xs12
sm10
offset-sm1
>
<v-toolbar
flat
color=
"white"
height=
"40"
>
<v-spacer></v-spacer>
<v-btn
small=
""
dark
color=
"deep-orange darken-4"
class=
"elevation-0"
@
click=
"$router.push('/employer')"
>
สำหรับผู้ประกอบการ
</v-btn>
<v-divider
inset
vertical
></v-divider>
<v-btn
v-if=
"!currentUser"
small
outline
color=
"deep-orange darken-4"
>
<v-icon>
person
</v-icon>
เข้าสู่ระบบ
</v-btn>
<v-btn
v-if=
"!currentUser"
small
outline
color=
"deep-orange darken-4"
>
<v-icon>
account_box
</v-icon>
ลงทะเบียน
</v-btn>
</v-toolbar>
</v-flex>
</v-layout>
<login
v-if=
"dialog === 'login'"
></login>
<register
v-if=
"dialog === 'register'"
></register>
</div>
</
template
>
<
script
>
import
Login
from
'../views/Login.vue'
;
import
Register
from
'../views/Register.vue'
;
export
default
{
props
:
[
'page'
],
components
:
{
'login'
:
Login
,
'register'
:
Register
},
data
()
{
return
{
responsive
:
false
,
dialog
:
'login'
}
},
computed
:
{
currentUser
()
{
return
this
.
$store
.
getters
.
getUser
.
name
}
},
mounted
()
{
this
.
onResponsiveInverted
()
window
.
addEventListener
(
'resize'
,
this
.
onResponsiveInverted
)
},
beforeDestroy
()
{
window
.
removeEventListener
(
'resize'
,
this
.
onResponsiveInverted
)
},
methods
:
{
onResponsiveInverted
()
{
if
(
window
.
innerWidth
<
991
)
{
this
.
responsive
=
true
}
else
{
this
.
responsive
=
false
}
},
logout
()
{
this
.
$store
.
dispatch
(
'logout'
)
},
login
()
{
this
.
dialog
=
'login'
this
.
$store
.
commit
(
'setDialog'
,
!
this
.
$store
.
getters
.
getDialog
)
},
register
()
{
this
.
dialog
=
'register'
this
.
$store
.
commit
(
'setDialog'
,
!
this
.
$store
.
getters
.
getDialog
)
}
}
}
</
script
>
<
style
lang=
"scss"
scoped
>
.colornav
{
background-color
:
#0d253d
;
}
</
style
>
.history/resources/js/components/Toolbar_20190424120049.vue
0 → 100644
View file @
b8a7da9b
<
template
>
<div>
<v-layout
row
wrap
fill-height
align-center
class=
"colornav pt-1"
>
<v-flex
xs12
sm10
offset-sm1
>
<v-toolbar
flat
color=
"#0d253d"
>
<!--v-if="page == 'app'"-->
<v-toolbar-title
class=
""
>
<router-link
to=
"/"
><img
src=
"../../../public/images/logocoop.png"
class=
""
width=
"140"
></router-link>
</v-toolbar-title>
<v-spacer></v-spacer>
<router-link
to=
"/"
>
<v-btn
v-if=
"!responsive"
flat
color=
"white"
class=
"mx-2 px-2"
>
<v-icon>
home
</v-icon>
</v-btn>
</router-link>
<router-link
to=
"/showjob"
>
<v-btn
v-if=
"!responsive"
flat
color=
"white"
class=
"mx-2 px-2 body-2 font-weight-bold"
>
<span
class=
"body-2 font-weight-bold"
>
หางานทั้งหมด
</span>
</v-btn>
</router-link>
<router-link
to=
"/employer"
>
<v-btn
v-if=
"!responsive"
flat
color=
"white"
class=
"mx-1 px-1 body-2 font-weight-bold"
>
<span
class=
"body-2 font-weight-bold"
>
สำหรับผู้ประกอบการ
</span>
</v-btn>
</router-link>
<v-btn
v-if=
"!currentUser"
flat
color=
"white"
class=
"mx-1 px-1 body-2 font-weight-bold"
@
click
.
stop=
"login()"
>
<span
class=
"body-2 font-weight-bold"
>
เข้าสู่ระบบ
</span>
</v-btn>
<v-btn
v-if=
"!currentUser"
flat
color=
"white"
class=
"mx-1 px-1 body-2 font-weight-bold"
@
click
.
stop=
"register()"
>
<span
class=
"body-2 font-weight-bold"
>
สมัครสมาชิก
</span>
</v-btn>
<v-btn
v-else
small
dark
color=
"yellow darken-2"
@
click=
"logout()"
class=
"white--text"
>
<v-icon>
account_circle
</v-icon>
{{
currentUser
}}
</v-btn>
</v-toolbar>
</v-flex>
</v-layout>
<v-layout
row
wrap
white
>
<v-flex
xs12
sm10
offset-sm1
>
<v-toolbar
flat
color=
"white"
height=
"40"
>
<v-spacer></v-spacer>
<v-btn
small=
""
dark
color=
"deep-orange darken-4"
class=
"elevation-0"
@
click=
"$router.push('/employer')"
>
สำหรับผู้ประกอบการ
</v-btn>
<v-divider
inset
vertical
></v-divider>
<v-btn
v-if=
"!currentUser"
small
outline
color=
"deep-orange darken-4"
>
<v-icon>
person
</v-icon>
เข้าสู่ระบบ
</v-btn>
<v-btn
v-if=
"!currentUser"
small
outline
color=
"deep-orange darken-4"
>
<v-icon>
account_box
</v-icon>
ลงทะเบียน
</v-btn>
</v-toolbar>
</v-flex>
</v-layout>
<login
v-if=
"dialog === 'login'"
></login>
<register
v-if=
"dialog === 'register'"
></register>
</div>
</
template
>
<
script
>
import
Login
from
'../views/Login.vue'
;
import
Register
from
'../views/Register.vue'
;
export
default
{
props
:
[
'page'
],
components
:
{
'login'
:
Login
,
'register'
:
Register
},
data
()
{
return
{
responsive
:
false
,
dialog
:
'login'
}
},
computed
:
{
currentUser
()
{
return
this
.
$store
.
getters
.
getUser
.
name
}
},
mounted
()
{
this
.
onResponsiveInverted
()
window
.
addEventListener
(
'resize'
,
this
.
onResponsiveInverted
)
},
beforeDestroy
()
{
window
.
removeEventListener
(
'resize'
,
this
.
onResponsiveInverted
)
},
methods
:
{
onResponsiveInverted
()
{
if
(
window
.
innerWidth
<
991
)
{
this
.
responsive
=
true
}
else
{
this
.
responsive
=
false
}
},
logout
()
{
this
.
$store
.
dispatch
(
'logout'
)
},
login
()
{
this
.
dialog
=
'login'
this
.
$store
.
commit
(
'setDialog'
,
!
this
.
$store
.
getters
.
getDialog
)
},
register
()
{
this
.
dialog
=
'register'
this
.
$store
.
commit
(
'setDialog'
,
!
this
.
$store
.
getters
.
getDialog
)
}
}
}
</
script
>
<
style
lang=
"scss"
scoped
>
.colornav
{
background-color
:
#0d253d
;
}
</
style
>
.history/resources/js/components/Toolbar_20190424120121.vue
0 → 100644
View file @
b8a7da9b
<
template
>
<div>
<v-layout
row
wrap
fill-height
align-center
class=
"colornav pt-1"
>
<v-flex
xs12
sm10
offset-sm1
>
<v-toolbar
flat
color=
"#0d253d"
>
<!--v-if="page == 'app'"-->
<v-toolbar-title
class=
""
>
<router-link
to=
"/"
><img
src=
"../../../public/images/logocoop.png"
class=
""
width=
"140"
></router-link>
</v-toolbar-title>
<v-spacer></v-spacer>
<router-link
to=
"/"
>
<v-btn
v-if=
"!responsive"
flat
color=
"white"
class=
"mx-2 px-2"
>
<v-icon>
home
</v-icon>
</v-btn>
</router-link>
<router-link
to=
"/showjob"
>
<v-btn
v-if=
"!responsive"
flat
color=
"white"
class=
"mx-2 px-2 body-2 font-weight-bold"
>
<span
class=
"body-2 font-weight-bold"
>
หางานทั้งหมด
</span>
</v-btn>
</router-link>
<router-link
to=
"/employer"
>
<v-btn
v-if=
"!responsive"
flat
color=
"white"
class=
"mx-1 px-1 body-2 font-weight-bold"
>
<span
class=
"body-2 font-weight-bold"
>
สำหรับผู้ประกอบการ
</span>
</v-btn>
</router-link>
<v-btn
v-if=
"!currentUser"
flat
color=
"white"
class=
"mx-1 px-1 body-2 font-weight-bold"
@
click
.
stop=
"login()"
>
<span
class=
"body-2 font-weight-bold"
>
เข้าสู่ระบบ
</span>
</v-btn>
<v-btn
v-if=
"!currentUser"
flat
color=
"white"
class=
"mx-1 px-1 body-2 font-weight-bold"
@
click
.
stop=
"register()"
>
<span
class=
"body-2 font-weight-bold"
>
สมัครสมาชิก
</span>
</v-btn>
<v-btn
v-else
small
dark
color=
"yellow darken-2"
@
click=
"logout()"
class=
"black--text"
>
<v-icon>
account_circle
</v-icon>
{{
currentUser
}}
</v-btn>
</v-toolbar>
</v-flex>
</v-layout>
<v-layout
row
wrap
white
>
<v-flex
xs12
sm10
offset-sm1
>
<v-toolbar
flat
color=
"white"
height=
"40"
>
<v-spacer></v-spacer>
<v-btn
small=
""
dark
color=
"deep-orange darken-4"
class=
"elevation-0"
@
click=
"$router.push('/employer')"
>
สำหรับผู้ประกอบการ
</v-btn>
<v-divider
inset
vertical
></v-divider>
<v-btn
v-if=
"!currentUser"
small
outline
color=
"deep-orange darken-4"
>
<v-icon>
person
</v-icon>
เข้าสู่ระบบ
</v-btn>
<v-btn
v-if=
"!currentUser"
small
outline
color=
"deep-orange darken-4"
>
<v-icon>
account_box
</v-icon>
ลงทะเบียน
</v-btn>
</v-toolbar>
</v-flex>
</v-layout>
<login
v-if=
"dialog === 'login'"
></login>
<register
v-if=
"dialog === 'register'"
></register>
</div>
</
template
>
<
script
>
import
Login
from
'../views/Login.vue'
;
import
Register
from
'../views/Register.vue'
;
export
default
{
props
:
[
'page'
],
components
:
{
'login'
:
Login
,
'register'
:
Register
},
data
()
{
return
{
responsive
:
false
,
dialog
:
'login'
}
},
computed
:
{
currentUser
()
{
return
this
.
$store
.
getters
.
getUser
.
name
}
},
mounted
()
{
this
.
onResponsiveInverted
()
window
.
addEventListener
(
'resize'
,
this
.
onResponsiveInverted
)
},
beforeDestroy
()
{
window
.
removeEventListener
(
'resize'
,
this
.
onResponsiveInverted
)
},
methods
:
{
onResponsiveInverted
()
{
if
(
window
.
innerWidth
<
991
)
{
this
.
responsive
=
true
}
else
{
this
.
responsive
=
false
}
},
logout
()
{
this
.
$store
.
dispatch
(
'logout'
)
},
login
()
{
this
.
dialog
=
'login'
this
.
$store
.
commit
(
'setDialog'
,
!
this
.
$store
.
getters
.
getDialog
)
},
register
()
{
this
.
dialog
=
'register'
this
.
$store
.
commit
(
'setDialog'
,
!
this
.
$store
.
getters
.
getDialog
)
}
}
}
</
script
>
<
style
lang=
"scss"
scoped
>
.colornav
{
background-color
:
#0d253d
;
}
</
style
>
.history/resources/js/components/Toolbar_20190424120259.vue
0 → 100644
View file @
b8a7da9b
<
template
>
<div>
<v-layout
row
wrap
fill-height
align-center
class=
"colornav pt-1"
>
<v-flex
xs12
sm10
offset-sm1
>
<v-toolbar
flat
color=
"#0d253d"
>
<!--v-if="page == 'app'"-->
<v-toolbar-title
class=
""
>
<router-link
to=
"/"
><img
src=
"../../../public/images/logocoop.png"
class=
""
width=
"140"
></router-link>
</v-toolbar-title>
<v-spacer></v-spacer>
<router-link
to=
"/"
>
<v-btn
v-if=
"!responsive"
flat
color=
"white"
class=
"mx-2 px-2"
>
<v-icon>
home
</v-icon>
</v-btn>
</router-link>
<router-link
to=
"/showjob"
>
<v-btn
v-if=
"!responsive"
flat
color=
"white"
class=
"mx-2 px-2 body-2 font-weight-bold"
>
<span
class=
"body-2 font-weight-bold"
>
หางานทั้งหมด
</span>
</v-btn>
</router-link>
<router-link
to=
"/employer"
>
<v-btn
v-if=
"!responsive"
flat
color=
"white"
class=
"mx-1 px-1 body-2 font-weight-bold"
>
<span
class=
"body-2 font-weight-bold"
>
สำหรับผู้ประกอบการ
</span>
</v-btn>
</router-link>
<v-btn
v-if=
"!currentUser"
flat
color=
"white"
class=
"mx-1 px-1 body-2 font-weight-bold"
@
click
.
stop=
"login()"
>
<span
class=
"body-2 font-weight-bold"
>
เข้าสู่ระบบ
</span>
</v-btn>
<v-btn
v-if=
"!currentUser"
flat
color=
"white"
class=
"mx-1 px-1 body-2 font-weight-bold"
@
click
.
stop=
"register()"
>
<span
class=
"body-2 font-weight-bold"
>
สมัครสมาชิก
</span>
</v-btn>
<v-btn
v-else
small
dark
color=
"yellow darken-2"
@
click=
"logout()"
class=
"black--text"
>
<v-icon>
account_circle
</v-icon>
{{
currentUser
}}
</v-btn>
</v-toolbar>
</v-flex>
</v-layout>
<login
v-if=
"dialog === 'login'"
></login>
<register
v-if=
"dialog === 'register'"
></register>
</div>
</
template
>
<
script
>
import
Login
from
'../views/Login.vue'
;
import
Register
from
'../views/Register.vue'
;
export
default
{
props
:
[
'page'
],
components
:
{
'login'
:
Login
,
'register'
:
Register
},
data
()
{
return
{
responsive
:
false
,
dialog
:
'login'
}
},
computed
:
{
currentUser
()
{
return
this
.
$store
.
getters
.
getUser
.
name
}
},
mounted
()
{
this
.
onResponsiveInverted
()
window
.
addEventListener
(
'resize'
,
this
.
onResponsiveInverted
)
},
beforeDestroy
()
{
window
.
removeEventListener
(
'resize'
,
this
.
onResponsiveInverted
)
},
methods
:
{
onResponsiveInverted
()
{
if
(
window
.
innerWidth
<
991
)
{
this
.
responsive
=
true
}
else
{
this
.
responsive
=
false
}
},
logout
()
{
this
.
$store
.
dispatch
(
'logout'
)
},
login
()
{
this
.
dialog
=
'login'
this
.
$store
.
commit
(
'setDialog'
,
!
this
.
$store
.
getters
.
getDialog
)
},
register
()
{
this
.
dialog
=
'register'
this
.
$store
.
commit
(
'setDialog'
,
!
this
.
$store
.
getters
.
getDialog
)
}
}
}
</
script
>
<
style
lang=
"scss"
scoped
>
.colornav
{
background-color
:
#0d253d
;
}
</
style
>
.history/resources/js/components/Toolbar_20190424120559.vue
0 → 100644
View file @
b8a7da9b
<
template
>
<div>
<v-layout
row
wrap
fill-height
align-center
class=
"colornav pt-1"
>
<v-flex
xs12
sm10
offset-sm1
>
<v-toolbar
flat
color=
"#0d253d"
>
<!--v-if="page == 'app'"-->
<v-toolbar-title
class=
""
>
<router-link
to=
"/"
><img
src=
"../../../public/images/logocoop.png"
class=
""
width=
"140"
></router-link>
</v-toolbar-title>
<v-spacer></v-spacer>
<router-link
to=
"/"
>
<v-btn
v-if=
"!responsive"
flat
color=
"white"
class=
"mx-2 px-2"
>
<v-icon>
home
</v-icon>
</v-btn>
</router-link>
<router-link
to=
"/showjob"
>
<v-btn
v-if=
"!responsive"
flat
color=
"white"
class=
"mx-2 px-2 body-2 font-weight-bold"
>
<span
class=
"body-2 font-weight-bold"
>
หางานทั้งหมด
</span>
</v-btn>
</router-link>
<router-link
to=
"/employer"
>
<v-btn
v-if=
"!responsive"
flat
color=
"white"
class=
"mx-1 px-1 body-2 font-weight-bold"
>
<span
class=
"body-2 font-weight-bold"
>
สำหรับผู้ประกอบการ
</span>
</v-btn>
</router-link>
<v-btn
v-if=
"!currentUser"
flat
color=
"white"
class=
"mx-1 px-1 body-2 font-weight-bold"
@
click
.
stop=
"login()"
>
<span
class=
"body-2 font-weight-bold"
>
เข้าสู่ระบบ
</span>
</v-btn>
<v-btn
v-if=
"!currentUser"
flat
color=
"white"
class=
"mx-1 px-1 body-2 font-weight-bold"
@
click
.
stop=
"register()"
>
<span
class=
"body-2 font-weight-bold"
>
สมัครสมาชิก
</span>
</v-btn>
<v-btn
v-else
small
dark
color=
"yellow darken-2"
@
click=
"logout()"
class=
"black--text py-2"
>
<v-icon>
account_circle
</v-icon>
{{
currentUser
}}
</v-btn>
</v-toolbar>
</v-flex>
</v-layout>
<login
v-if=
"dialog === 'login'"
></login>
<register
v-if=
"dialog === 'register'"
></register>
</div>
</
template
>
<
script
>
import
Login
from
'../views/Login.vue'
;
import
Register
from
'../views/Register.vue'
;
export
default
{
props
:
[
'page'
],
components
:
{
'login'
:
Login
,
'register'
:
Register
},
data
()
{
return
{
responsive
:
false
,
dialog
:
'login'
}
},
computed
:
{
currentUser
()
{
return
this
.
$store
.
getters
.
getUser
.
name
}
},
mounted
()
{
this
.
onResponsiveInverted
()
window
.
addEventListener
(
'resize'
,
this
.
onResponsiveInverted
)
},
beforeDestroy
()
{
window
.
removeEventListener
(
'resize'
,
this
.
onResponsiveInverted
)
},
methods
:
{
onResponsiveInverted
()
{
if
(
window
.
innerWidth
<
991
)
{
this
.
responsive
=
true
}
else
{
this
.
responsive
=
false
}
},
logout
()
{
this
.
$store
.
dispatch
(
'logout'
)
},
login
()
{
this
.
dialog
=
'login'
this
.
$store
.
commit
(
'setDialog'
,
!
this
.
$store
.
getters
.
getDialog
)
},
register
()
{
this
.
dialog
=
'register'
this
.
$store
.
commit
(
'setDialog'
,
!
this
.
$store
.
getters
.
getDialog
)
}
}
}
</
script
>
<
style
lang=
"scss"
scoped
>
.colornav
{
background-color
:
#0d253d
;
}
</
style
>
.history/resources/js/views/DetailJob_20190424121225.vue
0 → 100644
View file @
b8a7da9b
<
template
>
<div>
<v-layout
row
wrap
>
<v-flex
xs12
sm9
class=
"pa-1"
>
<v-flex
xs12
sm12
class=
"div-card white pa-4"
>
<v-layout
row
wrap
>
<v-flex
xs12
sm10
>
<span
class=
"headline font-weight-bold indigo--text"
>
{{
detail_data
.
job_title
}}
</span>
</v-flex>
<v-flex
xs12
sm2
>
<v-btn
color=
"deep-orange "
dark
small
depressed
class=
"body-2"
>
สมัครงานนี้
</v-btn>
</v-flex>
</v-layout>
<v-flex
xs12
sm8
>
<span
class=
"subheading font-weight-medium"
>
{{
detail_data
.
company_name
}}
</span>
</v-flex>
<v-flex
xs12
sm12
>
<span
class=
"body-2 grey--text"
>
{{
detail_data
.
addr
}}
ตำบล
{{
detail_data
.
tambon
}}
อำเภอ
{{
detail_data
.
amphoe
}}
จังหวัด
{{
detail_data
.
province
}}
{{
detail_data
.
zipcode
}}
</span>
</v-flex>
<v-flex
xs12
sm12
class=
"mt-3 font-weight-bold subheading brown--text"
>
<v-icon
small
color=
"brown"
>
fas fa-building
</v-icon>
เกี่ยวกับเรา
</v-flex>
<v-flex
xs12
sm12
class=
"body-1 mt-1"
>
{{
detail_data
.
about
?
detail_data
.
sabout
:
'-'
}}
</v-flex>
<v-flex
xs12
sm12
class=
"mt-2 "
>
<span
class=
"font-weight-bold subheading red--text"
>
รายละเอียดงาน
</span>
<v-flex
xs12
sm12
class=
"body-1 px-4"
>
<b>
รับสมัคร :
</b>
{{
detail_data
.
num
?
detail_data
.
num
+
' ตำแหน่ง'
:
'-'
}}
</v-flex>
<v-flex
xs12
sm12
class=
"body-1 px-4"
>
<b>
ประเภทธุรกิจ :
</b>
{{
detail_data
.
job_type
}}
</v-flex>
<v-flex
xs12
sm12
class=
"body-1 px-4"
>
<b>
ตำแหน่งงาน :
</b>
{{
detail_data
.
department
}}
</v-flex>
<v-flex
xs12
sm12
class=
"body-1 px-4"
>
<b>
สาขาวิชาที่เปิดรับ :
</b>
{{
detail_data
.
branch
?
detail_data
.
branch
:
'-'
}}
</v-flex>
<v-flex
xs12
sm12
class=
"body-1 px-4"
>
<b>
ค่าตอบแทน/เงินเดือน :
</b>
{{
detail_data
.
salary
?
detail_data
.
salary
:
'-'
}}
</v-flex>
<v-flex
xs12
sm12
class=
"body-1 px-4"
>
<b>
วันทำงาน :
</b>
{{
detail_data
.
day
?
detail_data
.
day
:
'-'
}}
</v-flex>
<v-flex
xs12
sm12
class=
"body-1 px-4"
>
<b>
เวลาทำงาน :
</b>
{{
detail_data
.
time
?
detail_data
.
time
:
'-'
}}
</v-flex>
</v-flex>
<v-flex
xs12
sm12
class=
"mt-2 "
>
<span
class=
"font-weight-bold subheading red--text"
>
คุณสมบัติ
</span>
<v-flex
xs12
sm12
class=
"body-1 px-4"
>
<b>
เพศ :
</b>
{{
detail_data
.
gender
?
detail_data
.
gender
:
'-'
}}
</v-flex>
<v-flex
xs12
sm12
class=
"body-1 px-4"
>
<b>
ระดับการศึกษา :
</b>
{{
detail_data
.
degree
?
detail_data
.
degree
:
'-'
}}
</v-flex>
<v-flex
xs12
sm12
class=
"body-1 px-4"
>
<b>
เกรดเฉลี่ย :
</b>
{{
detail_data
.
gpax
?
detail_data
.
gpax
:
'-'
}}
</v-flex>
<v-flex
xs12
sm12
class=
"body-1 px-4"
>
<b>
ระยะเวลาการทำงาน :
</b>
{{
detail_data
.
phase
?
detail_data
.
phase
:
'-'
}}
</v-flex>
<v-flex
xs12
sm12
class=
"body-1 px-4"
>
<b>
คุณสมบัติเพิ่มเติม :
</b>
{{
detail_data
.
feature
?
detail_data
.
feature
:
'-'
}}
</v-flex>
</v-flex>
<v-flex
xs12
sm12
class=
"mt-2 "
>
<span
class=
"font-weight-bold subheading red--text"
>
หน้าที่รับผิดชอบ
</span>
<v-flex
xs12
sm12
class=
"body-1 px-4"
>
{{
detail_data
.
role
?
detail_data
.
role
:
'-'
}}
</v-flex>
</v-flex>
<v-flex
xs12
sm12
class=
"mt-2 "
>
<span
class=
"font-weight-bold subheading red--text"
>
สวัสดิการ
</span>
<v-flex
xs12
sm12
class=
"body-1 px-4"
>
<pre>
{{
detail_data
.
welfare
?
detail_data
.
welfare
:
'-'
}}
</pre>
</v-flex>
</v-flex>
</v-flex>
</v-flex>
<v-flex
xs12
sm3
class=
"pa-1 "
>
<v-flex
xs12
sm12
class=
"div-card white pa-2"
>
<v-flex
xs12
sm12
class=
" font-weight-bold subheading mb-1 mt-2"
>
<v-icon
small
>
fas fa-mobile-alt
</v-icon>
ข้อมูลติดต่อ
<v-divider></v-divider>
</v-flex>
<v-flex
xs12
sm12
class=
"text-xs-center text-sm-center "
>
<img
width=
"180"
class=
""
:src=
"detail_data.imageCompany"
alt=
""
>
</v-flex>
<v-flex
xs12
sm12
class=
"text-xs-center text-sm-center font-weight-bold caption mb-1"
>
{{
detail_data
.
company_name
}}
</v-flex>
<v-flex
xs12
sm12
class=
" body-1 px-2"
>
<v-icon
small
>
fas fa-user
</v-icon>
คุณ
{{
detail_data
.
company_owner
}}
</v-flex>
<v-flex
xs12
sm12
class=
" body-1 px-2"
>
<v-icon
small
>
fas fa-envelope
</v-icon>
{{
detail_data
.
email
}}
</v-flex>
<v-flex
xs12
sm12
class=
" body-1 px-2"
>
<v-icon
small
>
laptop_mac
</v-icon>
{{
detail_data
.
website
?
detail_data
.
website
:
'-'
}}
</v-flex>
<v-flex
xs12
sm12
class=
" body-1 px-2"
>
<v-icon
small
>
phone
</v-icon>
โทร.
{{
detail_data
.
phone_no
?
detail_data
.
phone_no
:
'-'
}}
</v-flex>
<v-flex
xs12
sm12
class=
" body-1 px-2"
>
<v-icon
small
>
fas fa-fax
</v-icon>
แฟกซ์. :
{{
detail_data
.
fax
?
detail_data
.
fax
:
'-'
}}
</v-flex>
<v-flex
xs12
sm12
class=
" font-weight-bold subheading mt-2 my-1"
>
<v-icon
small
>
fas fa-street-view
</v-icon>
แผนที่ตั้งบริษัท
<v-divider></v-divider>
</v-flex>
<v-flex
xs12
sm12
class=
" font-weight-bold subheading mt-2 my-1"
>
<v-icon
small
>
fas fa-plane
</v-icon>
การเดินทาง
<v-divider></v-divider>
</v-flex>
<v-layout
row
wrap
justify-center
class=
"pa-1"
fill-height
align-center
>
<v-flex
xs6
sm6
class=
"text-sm-center text-xs-center"
>
<img
src=
"/images/bts.png"
width=
"50"
height=
"50"
alt=
""
>
<v-flex
xs12
sm12
>
{{
detail_data
.
bts
?
detail_data
.
bts
:
'ไม่มี'
}}
</v-flex>
</v-flex>
<v-flex
xs6
sm6
class=
"text-sm-center text-xs-center"
>
<img
src=
"/images/mrt.png"
width=
"50"
height=
"50"
alt=
""
>
<v-flex
xs12
sm12
>
{{
detail_data
.
mrt
?
detail_data
.
mrt
:
'ไม่มี'
}}
</v-flex>
</v-flex>
</v-layout>
<v-layout
row
wrap
justify-center
class=
"pa-1"
fill-height
align-center
>
<v-flex
xs6
sm6
class=
"text-sm-center text-xs-center"
>
<img
src=
"/images/arl.png"
width=
"50"
height=
"50"
alt=
""
>
<v-flex
xs12
sm12
>
{{
detail_data
.
arl
?
detail_data
.
arl
:
'ไม่มี'
}}
</v-flex>
</v-flex>
<v-flex
xs6
sm6
class=
"text-sm-center text-xs-center"
>
<img
src=
"/images/bus.png"
width=
"50"
height=
"50"
alt=
""
>
<v-flex
xs12
sm12
>
{{
detail_data
.
bus
?
detail_data
.
bus
:
'ไม่มี'
}}
</v-flex>
</v-flex>
</v-layout>
<v-flex
xs12
sm12
class=
"px-3 font-weight-bold"
>
การเดินทางเพิ่มเติม :
{{
detail_data
.
another
?
detail_data
.
another
:
'-'
}}
</v-flex>
</v-flex>
</v-flex>
</v-layout>
</div>
</
template
>
<
script
>
export
default
{
data
()
{
return
{
detail_data
:
{}
}
},
beforeMount
()
{
axios
.
get
(
`/api/detail/
${
this
.
$route
.
params
.
id
}
`
)
.
then
(
res
=>
{
this
.
detail_data
=
res
.
data
.
job
}).
catch
(
err
=>
{
console
.
log
(
err
.
response
)})
}
}
</
script
>
<
style
lang=
"scss"
scoped
>
.border-logo
{
border
:
1px
solid
#e1e1e1
;
}
.div-card
{
border-radius
:
3px
;
box-shadow
:
0
2px
1px
rgba
(
0
,
0
,
0
,.
17
);
}
</
style
>
.history/resources/js/views/DetailJob_20190424121322.vue
0 → 100644
View file @
b8a7da9b
<
template
>
<div>
<v-layout
row
wrap
>
<v-flex
xs12
sm9
class=
"pa-1"
>
<v-flex
xs12
sm12
class=
"div-card white pa-4"
>
<v-layout
row
wrap
>
<v-flex
xs12
sm10
>
<span
class=
"headline font-weight-bold indigo--text"
>
{{
detail_data
.
job_title
}}
</span>
</v-flex>
<v-flex
xs12
sm2
>
<v-btn
color=
"deep-orange "
dark
small
depressed
class=
"body-2"
>
สมัครงานนี้
</v-btn>
</v-flex>
</v-layout>
<v-flex
xs12
sm8
>
<span
class=
"subheading font-weight-medium"
>
{{
detail_data
.
company_name
}}
</span>
</v-flex>
<v-flex
xs12
sm12
>
<span
class=
"body-2 grey--text"
>
{{
detail_data
.
addr
}}
ตำบล
{{
detail_data
.
tambon
}}
อำเภอ
{{
detail_data
.
amphoe
}}
จังหวัด
{{
detail_data
.
province
}}
{{
detail_data
.
zipcode
}}
</span>
</v-flex>
<v-flex
xs12
sm12
class=
"mt-3 font-weight-bold subheading brown--text"
>
<v-icon
small
color=
"brown"
>
fas fa-building
</v-icon>
เกี่ยวกับเรา
</v-flex>
<v-flex
xs12
sm12
class=
"body-1 mt-1"
>
{{
detail_data
.
about
?
detail_data
.
sabout
:
'-'
}}
</v-flex>
<v-flex
xs12
sm12
class=
"mt-2 "
>
<span
class=
"font-weight-bold subheading red--text"
>
รายละเอียดงาน
</span>
<v-flex
xs12
sm12
class=
"body-1 px-4"
>
<b>
รับสมัคร :
</b>
{{
detail_data
.
num
?
detail_data
.
num
+
' ตำแหน่ง'
:
'-'
}}
</v-flex>
<v-flex
xs12
sm12
class=
"body-1 px-4"
>
<b>
ประเภทธุรกิจ :
</b>
{{
detail_data
.
job_type
}}
</v-flex>
<v-flex
xs12
sm12
class=
"body-1 px-4"
>
<b>
ตำแหน่งงาน :
</b>
{{
detail_data
.
department
}}
</v-flex>
<v-flex
xs12
sm12
class=
"body-1 px-4"
>
<b>
สาขาวิชาที่เปิดรับ :
</b>
{{
detail_data
.
branch
?
detail_data
.
branch
:
'-'
}}
</v-flex>
<v-flex
xs12
sm12
class=
"body-1 px-4"
>
<b>
ค่าตอบแทน/เงินเดือน :
</b>
{{
detail_data
.
salary
?
detail_data
.
salary
:
'-'
}}
</v-flex>
<v-flex
xs12
sm12
class=
"body-1 px-4"
>
<b>
วันทำงาน :
</b>
{{
detail_data
.
day
?
detail_data
.
day
:
'-'
}}
</v-flex>
<v-flex
xs12
sm12
class=
"body-1 px-4"
>
<b>
เวลาทำงาน :
</b>
{{
detail_data
.
time
?
detail_data
.
time
:
'-'
}}
</v-flex>
</v-flex>
<v-flex
xs12
sm12
class=
"mt-2 "
>
<span
class=
"font-weight-bold subheading red--text"
>
คุณสมบัติ
</span>
<v-flex
xs12
sm12
class=
"body-1 px-4"
>
<b>
เพศ :
</b>
{{
detail_data
.
gender
?
detail_data
.
gender
:
'-'
}}
</v-flex>
<v-flex
xs12
sm12
class=
"body-1 px-4"
>
<b>
ระดับการศึกษา :
</b>
{{
detail_data
.
degree
?
detail_data
.
degree
:
'-'
}}
</v-flex>
<v-flex
xs12
sm12
class=
"body-1 px-4"
>
<b>
เกรดเฉลี่ย :
</b>
{{
detail_data
.
gpax
?
detail_data
.
gpax
:
'-'
}}
</v-flex>
<v-flex
xs12
sm12
class=
"body-1 px-4"
>
<b>
ระยะเวลาการทำงาน :
</b>
{{
detail_data
.
phase
?
detail_data
.
phase
:
'-'
}}
</v-flex>
<v-flex
xs12
sm12
class=
"body-1 px-4"
>
<b>
คุณสมบัติเพิ่มเติม :
</b>
{{
detail_data
.
feature
?
detail_data
.
feature
:
'-'
}}
</v-flex>
</v-flex>
<v-flex
xs12
sm12
class=
"mt-2 "
>
<span
class=
"font-weight-bold subheading red--text"
>
หน้าที่รับผิดชอบ
</span>
<v-flex
xs12
sm12
class=
"body-1 px-4"
>
{{
detail_data
.
role
?
detail_data
.
role
:
'-'
}}
</v-flex>
</v-flex>
<v-flex
xs12
sm12
class=
"mt-2 "
>
<span
class=
"font-weight-bold subheading red--text"
>
สวัสดิการ
</span>
<v-flex
xs12
sm12
class=
"body-1 px-4"
>
<pre
class=
"body-1"
>
{{
detail_data
.
welfare
?
detail_data
.
welfare
:
'-'
}}
</pre>
</v-flex>
</v-flex>
</v-flex>
</v-flex>
<v-flex
xs12
sm3
class=
"pa-1 "
>
<v-flex
xs12
sm12
class=
"div-card white pa-2"
>
<v-flex
xs12
sm12
class=
" font-weight-bold subheading mb-1 mt-2"
>
<v-icon
small
>
fas fa-mobile-alt
</v-icon>
ข้อมูลติดต่อ
<v-divider></v-divider>
</v-flex>
<v-flex
xs12
sm12
class=
"text-xs-center text-sm-center "
>
<img
width=
"180"
class=
""
:src=
"detail_data.imageCompany"
alt=
""
>
</v-flex>
<v-flex
xs12
sm12
class=
"text-xs-center text-sm-center font-weight-bold caption mb-1"
>
{{
detail_data
.
company_name
}}
</v-flex>
<v-flex
xs12
sm12
class=
" body-1 px-2"
>
<v-icon
small
>
fas fa-user
</v-icon>
คุณ
{{
detail_data
.
company_owner
}}
</v-flex>
<v-flex
xs12
sm12
class=
" body-1 px-2"
>
<v-icon
small
>
fas fa-envelope
</v-icon>
{{
detail_data
.
email
}}
</v-flex>
<v-flex
xs12
sm12
class=
" body-1 px-2"
>
<v-icon
small
>
laptop_mac
</v-icon>
{{
detail_data
.
website
?
detail_data
.
website
:
'-'
}}
</v-flex>
<v-flex
xs12
sm12
class=
" body-1 px-2"
>
<v-icon
small
>
phone
</v-icon>
โทร.
{{
detail_data
.
phone_no
?
detail_data
.
phone_no
:
'-'
}}
</v-flex>
<v-flex
xs12
sm12
class=
" body-1 px-2"
>
<v-icon
small
>
fas fa-fax
</v-icon>
แฟกซ์. :
{{
detail_data
.
fax
?
detail_data
.
fax
:
'-'
}}
</v-flex>
<v-flex
xs12
sm12
class=
" font-weight-bold subheading mt-2 my-1"
>
<v-icon
small
>
fas fa-street-view
</v-icon>
แผนที่ตั้งบริษัท
<v-divider></v-divider>
</v-flex>
<v-flex
xs12
sm12
class=
" font-weight-bold subheading mt-2 my-1"
>
<v-icon
small
>
fas fa-plane
</v-icon>
การเดินทาง
<v-divider></v-divider>
</v-flex>
<v-layout
row
wrap
justify-center
class=
"pa-1"
fill-height
align-center
>
<v-flex
xs6
sm6
class=
"text-sm-center text-xs-center"
>
<img
src=
"/images/bts.png"
width=
"50"
height=
"50"
alt=
""
>
<v-flex
xs12
sm12
>
{{
detail_data
.
bts
?
detail_data
.
bts
:
'ไม่มี'
}}
</v-flex>
</v-flex>
<v-flex
xs6
sm6
class=
"text-sm-center text-xs-center"
>
<img
src=
"/images/mrt.png"
width=
"50"
height=
"50"
alt=
""
>
<v-flex
xs12
sm12
>
{{
detail_data
.
mrt
?
detail_data
.
mrt
:
'ไม่มี'
}}
</v-flex>
</v-flex>
</v-layout>
<v-layout
row
wrap
justify-center
class=
"pa-1"
fill-height
align-center
>
<v-flex
xs6
sm6
class=
"text-sm-center text-xs-center"
>
<img
src=
"/images/arl.png"
width=
"50"
height=
"50"
alt=
""
>
<v-flex
xs12
sm12
>
{{
detail_data
.
arl
?
detail_data
.
arl
:
'ไม่มี'
}}
</v-flex>
</v-flex>
<v-flex
xs6
sm6
class=
"text-sm-center text-xs-center"
>
<img
src=
"/images/bus.png"
width=
"50"
height=
"50"
alt=
""
>
<v-flex
xs12
sm12
>
{{
detail_data
.
bus
?
detail_data
.
bus
:
'ไม่มี'
}}
</v-flex>
</v-flex>
</v-layout>
<v-flex
xs12
sm12
class=
"px-3 font-weight-bold"
>
การเดินทางเพิ่มเติม :
{{
detail_data
.
another
?
detail_data
.
another
:
'-'
}}
</v-flex>
</v-flex>
</v-flex>
</v-layout>
</div>
</
template
>
<
script
>
export
default
{
data
()
{
return
{
detail_data
:
{}
}
},
beforeMount
()
{
axios
.
get
(
`/api/detail/
${
this
.
$route
.
params
.
id
}
`
)
.
then
(
res
=>
{
this
.
detail_data
=
res
.
data
.
job
}).
catch
(
err
=>
{
console
.
log
(
err
.
response
)})
}
}
</
script
>
<
style
lang=
"scss"
scoped
>
.border-logo
{
border
:
1px
solid
#e1e1e1
;
}
.div-card
{
border-radius
:
3px
;
box-shadow
:
0
2px
1px
rgba
(
0
,
0
,
0
,.
17
);
}
</
style
>
.history/resources/js/views/DetailJob_20190424121423.vue
0 → 100644
View file @
b8a7da9b
<
template
>
<div>
<v-layout
row
wrap
>
<v-flex
xs12
sm9
class=
"pa-1"
>
<v-flex
xs12
sm12
class=
"div-card white pa-4"
>
<v-layout
row
wrap
>
<v-flex
xs12
sm10
>
<span
class=
"headline font-weight-bold indigo--text"
>
{{
detail_data
.
job_title
}}
</span>
</v-flex>
<v-flex
xs12
sm2
>
<v-btn
color=
"deep-orange "
dark
small
depressed
class=
"body-2"
>
สมัครงานนี้
</v-btn>
</v-flex>
</v-layout>
<v-flex
xs12
sm8
>
<span
class=
"subheading font-weight-medium"
>
{{
detail_data
.
company_name
}}
</span>
</v-flex>
<v-flex
xs12
sm12
>
<span
class=
"body-2 grey--text"
>
{{
detail_data
.
addr
}}
ตำบล
{{
detail_data
.
tambon
}}
อำเภอ
{{
detail_data
.
amphoe
}}
จังหวัด
{{
detail_data
.
province
}}
{{
detail_data
.
zipcode
}}
</span>
</v-flex>
<v-flex
xs12
sm12
class=
"mt-3 font-weight-bold subheading brown--text"
>
<v-icon
small
color=
"brown"
>
fas fa-building
</v-icon>
เกี่ยวกับเรา
</v-flex>
<v-flex
xs12
sm12
class=
"body-1 mt-1"
>
{{
detail_data
.
about
?
detail_data
.
sabout
:
'-'
}}
</v-flex>
<v-flex
xs12
sm12
class=
"mt-2 "
>
<span
class=
"font-weight-bold subheading red--text"
>
รายละเอียดงาน
</span>
<v-flex
xs12
sm12
class=
"body-1 px-4"
>
<b>
รับสมัคร :
</b>
{{
detail_data
.
num
?
detail_data
.
num
+
' ตำแหน่ง'
:
'-'
}}
</v-flex>
<v-flex
xs12
sm12
class=
"body-1 px-4"
>
<b>
ประเภทธุรกิจ :
</b>
{{
detail_data
.
job_type
}}
</v-flex>
<v-flex
xs12
sm12
class=
"body-1 px-4"
>
<b>
ตำแหน่งงาน :
</b>
{{
detail_data
.
department
}}
</v-flex>
<v-flex
xs12
sm12
class=
"body-1 px-4"
>
<b>
สาขาวิชาที่เปิดรับ :
</b>
{{
detail_data
.
branch
?
detail_data
.
branch
:
'-'
}}
</v-flex>
<v-flex
xs12
sm12
class=
"body-1 px-4"
>
<b>
ค่าตอบแทน/เงินเดือน :
</b>
{{
detail_data
.
salary
?
detail_data
.
salary
:
'-'
}}
</v-flex>
<v-flex
xs12
sm12
class=
"body-1 px-4"
>
<b>
วันทำงาน :
</b>
{{
detail_data
.
day
?
detail_data
.
day
:
'-'
}}
</v-flex>
<v-flex
xs12
sm12
class=
"body-1 px-4"
>
<b>
เวลาทำงาน :
</b>
{{
detail_data
.
time
?
detail_data
.
time
:
'-'
}}
</v-flex>
</v-flex>
<v-flex
xs12
sm12
class=
"mt-2 "
>
<span
class=
"font-weight-bold subheading red--text"
>
คุณสมบัติ
</span>
<v-flex
xs12
sm12
class=
"body-1 px-4"
>
<b>
เพศ :
</b>
{{
detail_data
.
gender
?
detail_data
.
gender
:
'-'
}}
</v-flex>
<v-flex
xs12
sm12
class=
"body-1 px-4"
>
<b>
ระดับการศึกษา :
</b>
{{
detail_data
.
degree
?
detail_data
.
degree
:
'-'
}}
</v-flex>
<v-flex
xs12
sm12
class=
"body-1 px-4"
>
<b>
เกรดเฉลี่ย :
</b>
{{
detail_data
.
gpax
?
detail_data
.
gpax
:
'-'
}}
</v-flex>
<v-flex
xs12
sm12
class=
"body-1 px-4"
>
<b>
ระยะเวลาการทำงาน :
</b>
{{
detail_data
.
phase
?
detail_data
.
phase
:
'-'
}}
</v-flex>
<v-flex
xs12
sm12
class=
"body-1 px-4"
>
<b>
คุณสมบัติเพิ่มเติม :
</b>
{{
detail_data
.
feature
?
detail_data
.
feature
:
'-'
}}
</v-flex>
</v-flex>
<v-flex
xs12
sm12
class=
"mt-2 "
>
<span
class=
"font-weight-bold subheading red--text"
>
หน้าที่รับผิดชอบ
</span>
<v-flex
xs12
sm12
class=
"body-1 px-4"
>
<pre
class=
"body-1"
>
{{
detail_data
.
role
?
detail_data
.
role
:
'-'
}}
</pre>
</v-flex>
</v-flex>
<v-flex
xs12
sm12
class=
"mt-2 "
>
<span
class=
"font-weight-bold subheading red--text"
>
สวัสดิการ
</span>
<v-flex
xs12
sm12
class=
"body-1 px-4"
>
<pre
class=
"body-1"
>
{{
detail_data
.
welfare
?
detail_data
.
welfare
:
'-'
}}
</pre>
</v-flex>
</v-flex>
</v-flex>
</v-flex>
<v-flex
xs12
sm3
class=
"pa-1 "
>
<v-flex
xs12
sm12
class=
"div-card white pa-2"
>
<v-flex
xs12
sm12
class=
" font-weight-bold subheading mb-1 mt-2"
>
<v-icon
small
>
fas fa-mobile-alt
</v-icon>
ข้อมูลติดต่อ
<v-divider></v-divider>
</v-flex>
<v-flex
xs12
sm12
class=
"text-xs-center text-sm-center "
>
<img
width=
"180"
class=
""
:src=
"detail_data.imageCompany"
alt=
""
>
</v-flex>
<v-flex
xs12
sm12
class=
"text-xs-center text-sm-center font-weight-bold caption mb-1"
>
{{
detail_data
.
company_name
}}
</v-flex>
<v-flex
xs12
sm12
class=
" body-1 px-2"
>
<v-icon
small
>
fas fa-user
</v-icon>
คุณ
{{
detail_data
.
company_owner
}}
</v-flex>
<v-flex
xs12
sm12
class=
" body-1 px-2"
>
<v-icon
small
>
fas fa-envelope
</v-icon>
{{
detail_data
.
email
}}
</v-flex>
<v-flex
xs12
sm12
class=
" body-1 px-2"
>
<v-icon
small
>
laptop_mac
</v-icon>
{{
detail_data
.
website
?
detail_data
.
website
:
'-'
}}
</v-flex>
<v-flex
xs12
sm12
class=
" body-1 px-2"
>
<v-icon
small
>
phone
</v-icon>
โทร.
{{
detail_data
.
phone_no
?
detail_data
.
phone_no
:
'-'
}}
</v-flex>
<v-flex
xs12
sm12
class=
" body-1 px-2"
>
<v-icon
small
>
fas fa-fax
</v-icon>
แฟกซ์. :
{{
detail_data
.
fax
?
detail_data
.
fax
:
'-'
}}
</v-flex>
<v-flex
xs12
sm12
class=
" font-weight-bold subheading mt-2 my-1"
>
<v-icon
small
>
fas fa-street-view
</v-icon>
แผนที่ตั้งบริษัท
<v-divider></v-divider>
</v-flex>
<v-flex
xs12
sm12
class=
" font-weight-bold subheading mt-2 my-1"
>
<v-icon
small
>
fas fa-plane
</v-icon>
การเดินทาง
<v-divider></v-divider>
</v-flex>
<v-layout
row
wrap
justify-center
class=
"pa-1"
fill-height
align-center
>
<v-flex
xs6
sm6
class=
"text-sm-center text-xs-center"
>
<img
src=
"/images/bts.png"
width=
"50"
height=
"50"
alt=
""
>
<v-flex
xs12
sm12
>
{{
detail_data
.
bts
?
detail_data
.
bts
:
'ไม่มี'
}}
</v-flex>
</v-flex>
<v-flex
xs6
sm6
class=
"text-sm-center text-xs-center"
>
<img
src=
"/images/mrt.png"
width=
"50"
height=
"50"
alt=
""
>
<v-flex
xs12
sm12
>
{{
detail_data
.
mrt
?
detail_data
.
mrt
:
'ไม่มี'
}}
</v-flex>
</v-flex>
</v-layout>
<v-layout
row
wrap
justify-center
class=
"pa-1"
fill-height
align-center
>
<v-flex
xs6
sm6
class=
"text-sm-center text-xs-center"
>
<img
src=
"/images/arl.png"
width=
"50"
height=
"50"
alt=
""
>
<v-flex
xs12
sm12
>
{{
detail_data
.
arl
?
detail_data
.
arl
:
'ไม่มี'
}}
</v-flex>
</v-flex>
<v-flex
xs6
sm6
class=
"text-sm-center text-xs-center"
>
<img
src=
"/images/bus.png"
width=
"50"
height=
"50"
alt=
""
>
<v-flex
xs12
sm12
>
{{
detail_data
.
bus
?
detail_data
.
bus
:
'ไม่มี'
}}
</v-flex>
</v-flex>
</v-layout>
<v-flex
xs12
sm12
class=
"px-3 font-weight-bold"
>
การเดินทางเพิ่มเติม :
{{
detail_data
.
another
?
detail_data
.
another
:
'-'
}}
</v-flex>
</v-flex>
</v-flex>
</v-layout>
</div>
</
template
>
<
script
>
export
default
{
data
()
{
return
{
detail_data
:
{}
}
},
beforeMount
()
{
axios
.
get
(
`/api/detail/
${
this
.
$route
.
params
.
id
}
`
)
.
then
(
res
=>
{
this
.
detail_data
=
res
.
data
.
job
}).
catch
(
err
=>
{
console
.
log
(
err
.
response
)})
}
}
</
script
>
<
style
lang=
"scss"
scoped
>
.border-logo
{
border
:
1px
solid
#e1e1e1
;
}
.div-card
{
border-radius
:
3px
;
box-shadow
:
0
2px
1px
rgba
(
0
,
0
,
0
,.
17
);
}
</
style
>
.history/resources/js/views/DetailJob_20190424121523.vue
0 → 100644
View file @
b8a7da9b
<
template
>
<div>
<v-layout
row
wrap
>
<v-flex
xs12
sm9
class=
"pa-1"
>
<v-flex
xs12
sm12
class=
"div-card white pa-4"
>
<v-layout
row
wrap
>
<v-flex
xs12
sm10
>
<span
class=
"headline font-weight-bold indigo--text"
>
{{
detail_data
.
job_title
}}
</span>
</v-flex>
<v-flex
xs12
sm2
>
<v-btn
color=
"deep-orange "
dark
small
depressed
class=
"body-2"
>
สมัครงานนี้
</v-btn>
</v-flex>
</v-layout>
<v-flex
xs12
sm8
>
<span
class=
"subheading font-weight-medium"
>
{{
detail_data
.
company_name
}}
</span>
</v-flex>
<v-flex
xs12
sm12
>
<span
class=
"body-2 grey--text"
>
{{
detail_data
.
addr
}}
ตำบล
{{
detail_data
.
tambon
}}
อำเภอ
{{
detail_data
.
amphoe
}}
จังหวัด
{{
detail_data
.
province
}}
{{
detail_data
.
zipcode
}}
</span>
</v-flex>
<v-flex
xs12
sm12
class=
"mt-3 font-weight-bold subheading brown--text"
>
<v-icon
small
color=
"brown"
>
fas fa-building
</v-icon>
เกี่ยวกับเรา
</v-flex>
<v-flex
xs12
sm12
class=
"body-1 mt-1"
>
{{
detail_data
.
about
?
detail_data
.
sabout
:
'-'
}}
</v-flex>
<v-flex
xs12
sm12
class=
"mt-2 "
>
<span
class=
"font-weight-bold subheading red--text"
>
รายละเอียดงาน
</span>
<v-flex
xs12
sm12
class=
"body-1 px-4"
>
<b>
รับสมัคร :
</b>
{{
detail_data
.
num
?
detail_data
.
num
+
' ตำแหน่ง'
:
'-'
}}
</v-flex>
<v-flex
xs12
sm12
class=
"body-1 px-4"
>
<b>
ประเภทธุรกิจ :
</b>
{{
detail_data
.
job_type
}}
</v-flex>
<v-flex
xs12
sm12
class=
"body-1 px-4"
>
<b>
ตำแหน่งงาน :
</b>
{{
detail_data
.
department
}}
</v-flex>
<v-flex
xs12
sm12
class=
"body-1 px-4"
>
<b>
สาขาวิชาที่เปิดรับ :
</b>
{{
detail_data
.
branch
?
detail_data
.
branch
:
'-'
}}
</v-flex>
<v-flex
xs12
sm12
class=
"body-1 px-4"
>
<b>
ค่าตอบแทน/เงินเดือน :
</b>
{{
detail_data
.
salary
?
detail_data
.
salary
:
'-'
}}
</v-flex>
<v-flex
xs12
sm12
class=
"body-1 px-4"
>
<b>
วันทำงาน :
</b>
{{
detail_data
.
day
?
detail_data
.
day
:
'-'
}}
</v-flex>
<v-flex
xs12
sm12
class=
"body-1 px-4"
>
<b>
เวลาทำงาน :
</b>
{{
detail_data
.
time
?
detail_data
.
time
:
'-'
}}
</v-flex>
</v-flex>
<v-flex
xs12
sm12
class=
"mt-2 "
>
<span
class=
"font-weight-bold subheading red--text"
>
คุณสมบัติ
</span>
<v-flex
xs12
sm12
class=
"body-1 px-4"
>
<b>
เพศ :
</b>
{{
detail_data
.
gender
?
detail_data
.
gender
:
'-'
}}
</v-flex>
<v-flex
xs12
sm12
class=
"body-1 px-4"
>
<b>
ระดับการศึกษา :
</b>
{{
detail_data
.
degree
?
detail_data
.
degree
:
'-'
}}
</v-flex>
<v-flex
xs12
sm12
class=
"body-1 px-4"
>
<b>
เกรดเฉลี่ย :
</b>
{{
detail_data
.
gpax
?
detail_data
.
gpax
:
'-'
}}
</v-flex>
<v-flex
xs12
sm12
class=
"body-1 px-4"
>
<b>
ระยะเวลาการทำงาน :
</b>
{{
detail_data
.
phase
?
detail_data
.
phase
:
'-'
}}
</v-flex>
<v-flex
xs12
sm12
class=
"body-1 px-4"
>
<b>
คุณสมบัติเพิ่มเติม :
</b>
<v-flex
xs12
sm12
class=
"body-1 px-4"
>
<pre
class=
"body-1"
>
{{
detail_data
.
feature
?
detail_data
.
feature
:
'-'
}}
</pre>
</v-flex>
</v-flex>
</v-flex>
<v-flex
xs12
sm12
class=
"mt-2 "
>
<span
class=
"font-weight-bold subheading red--text"
>
หน้าที่รับผิดชอบ
</span>
<v-flex
xs12
sm12
class=
"body-1 px-4"
>
<pre
class=
"body-1"
>
{{
detail_data
.
role
?
detail_data
.
role
:
'-'
}}
</pre>
</v-flex>
</v-flex>
<v-flex
xs12
sm12
class=
"mt-2 "
>
<span
class=
"font-weight-bold subheading red--text"
>
สวัสดิการ
</span>
<v-flex
xs12
sm12
class=
"body-1 px-4"
>
<pre
class=
"body-1"
>
{{
detail_data
.
welfare
?
detail_data
.
welfare
:
'-'
}}
</pre>
</v-flex>
</v-flex>
</v-flex>
</v-flex>
<v-flex
xs12
sm3
class=
"pa-1 "
>
<v-flex
xs12
sm12
class=
"div-card white pa-2"
>
<v-flex
xs12
sm12
class=
" font-weight-bold subheading mb-1 mt-2"
>
<v-icon
small
>
fas fa-mobile-alt
</v-icon>
ข้อมูลติดต่อ
<v-divider></v-divider>
</v-flex>
<v-flex
xs12
sm12
class=
"text-xs-center text-sm-center "
>
<img
width=
"180"
class=
""
:src=
"detail_data.imageCompany"
alt=
""
>
</v-flex>
<v-flex
xs12
sm12
class=
"text-xs-center text-sm-center font-weight-bold caption mb-1"
>
{{
detail_data
.
company_name
}}
</v-flex>
<v-flex
xs12
sm12
class=
" body-1 px-2"
>
<v-icon
small
>
fas fa-user
</v-icon>
คุณ
{{
detail_data
.
company_owner
}}
</v-flex>
<v-flex
xs12
sm12
class=
" body-1 px-2"
>
<v-icon
small
>
fas fa-envelope
</v-icon>
{{
detail_data
.
email
}}
</v-flex>
<v-flex
xs12
sm12
class=
" body-1 px-2"
>
<v-icon
small
>
laptop_mac
</v-icon>
{{
detail_data
.
website
?
detail_data
.
website
:
'-'
}}
</v-flex>
<v-flex
xs12
sm12
class=
" body-1 px-2"
>
<v-icon
small
>
phone
</v-icon>
โทร.
{{
detail_data
.
phone_no
?
detail_data
.
phone_no
:
'-'
}}
</v-flex>
<v-flex
xs12
sm12
class=
" body-1 px-2"
>
<v-icon
small
>
fas fa-fax
</v-icon>
แฟกซ์. :
{{
detail_data
.
fax
?
detail_data
.
fax
:
'-'
}}
</v-flex>
<v-flex
xs12
sm12
class=
" font-weight-bold subheading mt-2 my-1"
>
<v-icon
small
>
fas fa-street-view
</v-icon>
แผนที่ตั้งบริษัท
<v-divider></v-divider>
</v-flex>
<v-flex
xs12
sm12
class=
" font-weight-bold subheading mt-2 my-1"
>
<v-icon
small
>
fas fa-plane
</v-icon>
การเดินทาง
<v-divider></v-divider>
</v-flex>
<v-layout
row
wrap
justify-center
class=
"pa-1"
fill-height
align-center
>
<v-flex
xs6
sm6
class=
"text-sm-center text-xs-center"
>
<img
src=
"/images/bts.png"
width=
"50"
height=
"50"
alt=
""
>
<v-flex
xs12
sm12
>
{{
detail_data
.
bts
?
detail_data
.
bts
:
'ไม่มี'
}}
</v-flex>
</v-flex>
<v-flex
xs6
sm6
class=
"text-sm-center text-xs-center"
>
<img
src=
"/images/mrt.png"
width=
"50"
height=
"50"
alt=
""
>
<v-flex
xs12
sm12
>
{{
detail_data
.
mrt
?
detail_data
.
mrt
:
'ไม่มี'
}}
</v-flex>
</v-flex>
</v-layout>
<v-layout
row
wrap
justify-center
class=
"pa-1"
fill-height
align-center
>
<v-flex
xs6
sm6
class=
"text-sm-center text-xs-center"
>
<img
src=
"/images/arl.png"
width=
"50"
height=
"50"
alt=
""
>
<v-flex
xs12
sm12
>
{{
detail_data
.
arl
?
detail_data
.
arl
:
'ไม่มี'
}}
</v-flex>
</v-flex>
<v-flex
xs6
sm6
class=
"text-sm-center text-xs-center"
>
<img
src=
"/images/bus.png"
width=
"50"
height=
"50"
alt=
""
>
<v-flex
xs12
sm12
>
{{
detail_data
.
bus
?
detail_data
.
bus
:
'ไม่มี'
}}
</v-flex>
</v-flex>
</v-layout>
<v-flex
xs12
sm12
class=
"px-3 font-weight-bold"
>
การเดินทางเพิ่มเติม :
{{
detail_data
.
another
?
detail_data
.
another
:
'-'
}}
</v-flex>
</v-flex>
</v-flex>
</v-layout>
</div>
</
template
>
<
script
>
export
default
{
data
()
{
return
{
detail_data
:
{}
}
},
beforeMount
()
{
axios
.
get
(
`/api/detail/
${
this
.
$route
.
params
.
id
}
`
)
.
then
(
res
=>
{
this
.
detail_data
=
res
.
data
.
job
}).
catch
(
err
=>
{
console
.
log
(
err
.
response
)})
}
}
</
script
>
<
style
lang=
"scss"
scoped
>
.border-logo
{
border
:
1px
solid
#e1e1e1
;
}
.div-card
{
border-radius
:
3px
;
box-shadow
:
0
2px
1px
rgba
(
0
,
0
,
0
,.
17
);
}
</
style
>
.history/resources/js/views/DetailJob_20190424121702.vue
0 → 100644
View file @
b8a7da9b
<
template
>
<div>
<v-layout
row
wrap
>
<v-flex
xs12
sm9
class=
"pa-1"
>
<v-flex
xs12
sm12
class=
"div-card white pa-4"
>
<v-layout
row
wrap
>
<v-flex
xs12
sm10
>
<span
class=
"headline font-weight-bold indigo--text"
>
{{
detail_data
.
job_title
}}
</span>
</v-flex>
<v-flex
xs12
sm2
>
<v-btn
color=
"deep-orange "
dark
small
depressed
class=
"body-2"
>
สมัครงานนี้
</v-btn>
</v-flex>
</v-layout>
<v-flex
xs12
sm8
>
<span
class=
"subheading font-weight-medium"
>
{{
detail_data
.
company_name
}}
</span>
</v-flex>
<v-flex
xs12
sm12
>
<span
class=
"body-2 grey--text"
>
{{
detail_data
.
addr
}}
ตำบล
{{
detail_data
.
tambon
}}
อำเภอ
{{
detail_data
.
amphoe
}}
จังหวัด
{{
detail_data
.
province
}}
{{
detail_data
.
zipcode
}}
</span>
</v-flex>
<v-flex
xs12
sm12
class=
"mt-3 font-weight-bold subheading brown--text"
>
<v-icon
small
color=
"brown"
>
fas fa-building
</v-icon>
เกี่ยวกับเรา
</v-flex>
<v-flex
xs12
sm12
class=
"body-1 mt-1"
>
{{
detail_data
.
about
?
detail_data
.
sabout
:
'-'
}}
</v-flex>
<v-flex
xs12
sm12
class=
"mt-2 "
>
<span
class=
"font-weight-bold subheading red--text"
>
รายละเอียดงาน
</span>
<v-flex
xs12
sm12
class=
"body-1 px-4"
>
<b>
รับสมัคร :
</b>
{{
detail_data
.
num
?
detail_data
.
num
+
' ตำแหน่ง'
:
'-'
}}
</v-flex>
<v-flex
xs12
sm12
class=
"body-1 px-4"
>
<b>
ประเภทธุรกิจ :
</b>
{{
detail_data
.
job_type
}}
</v-flex>
<v-flex
xs12
sm12
class=
"body-1 px-4"
>
<b>
ตำแหน่งงาน :
</b>
{{
detail_data
.
department
}}
</v-flex>
<v-flex
xs12
sm12
class=
"body-1 px-4"
>
<b>
สาขาวิชาที่เปิดรับ :
</b>
{{
detail_data
.
branch
?
detail_data
.
branch
:
'-'
}}
</v-flex>
<v-flex
xs12
sm12
class=
"body-1 px-4"
>
<b>
ค่าตอบแทน/เงินเดือน :
</b>
{{
detail_data
.
salary
?
detail_data
.
salary
:
'-'
}}
</v-flex>
<v-flex
xs12
sm12
class=
"body-1 px-4"
>
<b>
วันทำงาน :
</b>
{{
detail_data
.
day
?
detail_data
.
day
:
'-'
}}
</v-flex>
<v-flex
xs12
sm12
class=
"body-1 px-4"
>
<b>
เวลาทำงาน :
</b>
{{
detail_data
.
time
?
detail_data
.
time
:
'-'
}}
</v-flex>
</v-flex>
<v-flex
xs12
sm12
class=
"mt-2 "
>
<span
class=
"font-weight-bold subheading red--text"
>
คุณสมบัติ
</span>
<v-flex
xs12
sm12
class=
"body-1 px-4"
>
<b>
เพศ :
</b>
{{
detail_data
.
gender
?
detail_data
.
gender
:
'-'
}}
</v-flex>
<v-flex
xs12
sm12
class=
"body-1 px-4"
>
<b>
ระดับการศึกษา :
</b>
{{
detail_data
.
degree
?
detail_data
.
degree
:
'-'
}}
</v-flex>
<v-flex
xs12
sm12
class=
"body-1 px-4"
>
<b>
เกรดเฉลี่ย :
</b>
{{
detail_data
.
gpax
?
detail_data
.
gpax
:
'-'
}}
</v-flex>
<v-flex
xs12
sm12
class=
"body-1 px-4"
>
<b>
ระยะเวลาการทำงาน :
</b>
{{
detail_data
.
phase
?
detail_data
.
phase
:
'-'
}}
</v-flex>
<v-flex
xs12
sm12
class=
"body-1 px-4"
>
<b>
คุณสมบัติเพิ่มเติม :
</b>
<v-flex
xs12
sm12
class=
"body-1 px-4"
><pre
class=
"body-1"
>
{{
detail_data
.
feature
?
detail_data
.
feature
:
'-'
}}
</pre>
</v-flex>
</v-flex>
</v-flex>
<v-flex
xs12
sm12
class=
"mt-2 "
>
<span
class=
"font-weight-bold subheading red--text"
>
หน้าที่รับผิดชอบ
</span>
<v-flex
xs12
sm12
class=
"body-1 px-4"
>
<pre
class=
"body-1"
>
{{
detail_data
.
role
?
detail_data
.
role
:
'-'
}}
</pre>
</v-flex>
</v-flex>
<v-flex
xs12
sm12
class=
"mt-2 "
>
<span
class=
"font-weight-bold subheading red--text"
>
สวัสดิการ
</span>
<v-flex
xs12
sm12
class=
"body-1 px-4"
>
<pre
class=
"body-1"
>
{{
detail_data
.
welfare
?
detail_data
.
welfare
:
'-'
}}
</pre>
</v-flex>
</v-flex>
</v-flex>
</v-flex>
<v-flex
xs12
sm3
class=
"pa-1 "
>
<v-flex
xs12
sm12
class=
"div-card white pa-2"
>
<v-flex
xs12
sm12
class=
" font-weight-bold subheading mb-1 mt-2"
>
<v-icon
small
>
fas fa-mobile-alt
</v-icon>
ข้อมูลติดต่อ
<v-divider></v-divider>
</v-flex>
<v-flex
xs12
sm12
class=
"text-xs-center text-sm-center "
>
<img
width=
"180"
class=
""
:src=
"detail_data.imageCompany"
alt=
""
>
</v-flex>
<v-flex
xs12
sm12
class=
"text-xs-center text-sm-center font-weight-bold caption mb-1"
>
{{
detail_data
.
company_name
}}
</v-flex>
<v-flex
xs12
sm12
class=
" body-1 px-2"
>
<v-icon
small
>
fas fa-user
</v-icon>
คุณ
{{
detail_data
.
company_owner
}}
</v-flex>
<v-flex
xs12
sm12
class=
" body-1 px-2"
>
<v-icon
small
>
fas fa-envelope
</v-icon>
{{
detail_data
.
email
}}
</v-flex>
<v-flex
xs12
sm12
class=
" body-1 px-2"
>
<v-icon
small
>
laptop_mac
</v-icon>
{{
detail_data
.
website
?
detail_data
.
website
:
'-'
}}
</v-flex>
<v-flex
xs12
sm12
class=
" body-1 px-2"
>
<v-icon
small
>
phone
</v-icon>
โทร.
{{
detail_data
.
phone_no
?
detail_data
.
phone_no
:
'-'
}}
</v-flex>
<v-flex
xs12
sm12
class=
" body-1 px-2"
>
<v-icon
small
>
fas fa-fax
</v-icon>
แฟกซ์. :
{{
detail_data
.
fax
?
detail_data
.
fax
:
'-'
}}
</v-flex>
<v-flex
xs12
sm12
class=
" font-weight-bold subheading mt-2 my-1"
>
<v-icon
small
>
fas fa-street-view
</v-icon>
แผนที่ตั้งบริษัท
<v-divider></v-divider>
</v-flex>
<v-flex
xs12
sm12
class=
" font-weight-bold subheading mt-2 my-1"
>
<v-icon
small
>
fas fa-plane
</v-icon>
การเดินทาง
<v-divider></v-divider>
</v-flex>
<v-layout
row
wrap
justify-center
class=
"pa-1"
fill-height
align-center
>
<v-flex
xs6
sm6
class=
"text-sm-center text-xs-center"
>
<img
src=
"/images/bts.png"
width=
"50"
height=
"50"
alt=
""
>
<v-flex
xs12
sm12
>
{{
detail_data
.
bts
?
detail_data
.
bts
:
'ไม่มี'
}}
</v-flex>
</v-flex>
<v-flex
xs6
sm6
class=
"text-sm-center text-xs-center"
>
<img
src=
"/images/mrt.png"
width=
"50"
height=
"50"
alt=
""
>
<v-flex
xs12
sm12
>
{{
detail_data
.
mrt
?
detail_data
.
mrt
:
'ไม่มี'
}}
</v-flex>
</v-flex>
</v-layout>
<v-layout
row
wrap
justify-center
class=
"pa-1"
fill-height
align-center
>
<v-flex
xs6
sm6
class=
"text-sm-center text-xs-center"
>
<img
src=
"/images/arl.png"
width=
"50"
height=
"50"
alt=
""
>
<v-flex
xs12
sm12
>
{{
detail_data
.
arl
?
detail_data
.
arl
:
'ไม่มี'
}}
</v-flex>
</v-flex>
<v-flex
xs6
sm6
class=
"text-sm-center text-xs-center"
>
<img
src=
"/images/bus.png"
width=
"50"
height=
"50"
alt=
""
>
<v-flex
xs12
sm12
>
{{
detail_data
.
bus
?
detail_data
.
bus
:
'ไม่มี'
}}
</v-flex>
</v-flex>
</v-layout>
<v-flex
xs12
sm12
class=
"px-3 font-weight-bold"
>
การเดินทางเพิ่มเติม :
{{
detail_data
.
another
?
detail_data
.
another
:
'-'
}}
</v-flex>
</v-flex>
</v-flex>
</v-layout>
</div>
</
template
>
<
script
>
export
default
{
data
()
{
return
{
detail_data
:
{}
}
},
beforeMount
()
{
axios
.
get
(
`/api/detail/
${
this
.
$route
.
params
.
id
}
`
)
.
then
(
res
=>
{
this
.
detail_data
=
res
.
data
.
job
}).
catch
(
err
=>
{
console
.
log
(
err
.
response
)})
}
}
</
script
>
<
style
lang=
"scss"
scoped
>
.border-logo
{
border
:
1px
solid
#e1e1e1
;
}
.div-card
{
border-radius
:
3px
;
box-shadow
:
0
2px
1px
rgba
(
0
,
0
,
0
,.
17
);
}
</
style
>
.history/resources/js/views/DetailJob_20190424121729.vue
0 → 100644
View file @
b8a7da9b
<
template
>
<div>
<v-layout
row
wrap
>
<v-flex
xs12
sm9
class=
"pa-1"
>
<v-flex
xs12
sm12
class=
"div-card white pa-4"
>
<v-layout
row
wrap
>
<v-flex
xs12
sm10
>
<span
class=
"headline font-weight-bold indigo--text"
>
{{
detail_data
.
job_title
}}
</span>
</v-flex>
<v-flex
xs12
sm2
>
<v-btn
color=
"deep-orange "
dark
small
depressed
class=
"body-2"
>
สมัครงานนี้
</v-btn>
</v-flex>
</v-layout>
<v-flex
xs12
sm8
>
<span
class=
"subheading font-weight-medium"
>
{{
detail_data
.
company_name
}}
</span>
</v-flex>
<v-flex
xs12
sm12
>
<span
class=
"body-2 grey--text"
>
{{
detail_data
.
addr
}}
ตำบล
{{
detail_data
.
tambon
}}
อำเภอ
{{
detail_data
.
amphoe
}}
จังหวัด
{{
detail_data
.
province
}}
{{
detail_data
.
zipcode
}}
</span>
</v-flex>
<v-flex
xs12
sm12
class=
"mt-3 font-weight-bold subheading brown--text"
>
<v-icon
small
color=
"brown"
>
fas fa-building
</v-icon>
เกี่ยวกับเรา
</v-flex>
<v-flex
xs12
sm12
class=
"body-1 mt-1"
>
{{
detail_data
.
about
?
detail_data
.
sabout
:
'-'
}}
</v-flex>
<v-flex
xs12
sm12
class=
"mt-2 "
>
<span
class=
"font-weight-bold subheading red--text"
>
รายละเอียดงาน
</span>
<v-flex
xs12
sm12
class=
"body-1 px-4"
>
<b>
รับสมัคร :
</b>
{{
detail_data
.
num
?
detail_data
.
num
+
' ตำแหน่ง'
:
'-'
}}
</v-flex>
<v-flex
xs12
sm12
class=
"body-1 px-4"
>
<b>
ประเภทธุรกิจ :
</b>
{{
detail_data
.
job_type
}}
</v-flex>
<v-flex
xs12
sm12
class=
"body-1 px-4"
>
<b>
ตำแหน่งงาน :
</b>
{{
detail_data
.
department
}}
</v-flex>
<v-flex
xs12
sm12
class=
"body-1 px-4"
>
<b>
สาขาวิชาที่เปิดรับ :
</b>
{{
detail_data
.
branch
?
detail_data
.
branch
:
'-'
}}
</v-flex>
<v-flex
xs12
sm12
class=
"body-1 px-4"
>
<b>
ค่าตอบแทน/เงินเดือน :
</b>
{{
detail_data
.
salary
?
detail_data
.
salary
:
'-'
}}
</v-flex>
<v-flex
xs12
sm12
class=
"body-1 px-4"
>
<b>
วันทำงาน :
</b>
{{
detail_data
.
day
?
detail_data
.
day
:
'-'
}}
</v-flex>
<v-flex
xs12
sm12
class=
"body-1 px-4"
>
<b>
เวลาทำงาน :
</b>
{{
detail_data
.
time
?
detail_data
.
time
:
'-'
}}
</v-flex>
</v-flex>
<v-flex
xs12
sm12
class=
"mt-2 "
>
<span
class=
"font-weight-bold subheading red--text"
>
คุณสมบัติ
</span>
<v-flex
xs12
sm12
class=
"body-1 px-4"
>
<b>
เพศ :
</b>
{{
detail_data
.
gender
?
detail_data
.
gender
:
'-'
}}
</v-flex>
<v-flex
xs12
sm12
class=
"body-1 px-4"
>
<b>
ระดับการศึกษา :
</b>
{{
detail_data
.
degree
?
detail_data
.
degree
:
'-'
}}
</v-flex>
<v-flex
xs12
sm12
class=
"body-1 px-4"
>
<b>
เกรดเฉลี่ย :
</b>
{{
detail_data
.
gpax
?
detail_data
.
gpax
:
'-'
}}
</v-flex>
<v-flex
xs12
sm12
class=
"body-1 px-4"
>
<b>
ระยะเวลาการทำงาน :
</b>
{{
detail_data
.
phase
?
detail_data
.
phase
:
'-'
}}
</v-flex>
<v-flex
xs12
sm12
class=
"body-1 px-4"
>
<b>
คุณสมบัติเพิ่มเติม :
</b>
<v-flex
xs12
sm12
class=
"body-1 px-4"
><pre
class=
"body-1"
>
{{
detail_data
.
feature
?
detail_data
.
feature
:
'-'
}}
</pre>
</v-flex>
</v-flex>
</v-flex>
<v-flex
xs12
sm12
class=
"mt-2 "
>
<span
class=
"font-weight-bold subheading red--text"
>
หน้าที่รับผิดชอบ
</span>
<v-flex
xs12
sm12
class=
"body-1 px-4"
>
<pre
class=
"body-1"
>
{{
detail_data
.
role
?
detail_data
.
role
:
'-'
}}
</pre>
</v-flex>
</v-flex>
<v-flex
xs12
sm12
class=
"mt-2 "
>
<span
class=
"font-weight-bold subheading red--text"
>
สวัสดิการ
</span>
<v-flex
xs12
sm12
class=
"body-1 px-4"
>
<pre
class=
"body-1"
>
{{
detail_data
.
welfare
?
detail_data
.
welfare
:
'-'
}}
</pre>
</v-flex>
</v-flex>
</v-flex>
</v-flex>
<v-flex
xs12
sm3
class=
"pa-1 "
>
<v-flex
xs12
sm12
class=
"div-card white pa-2"
>
<v-flex
xs12
sm12
class=
" font-weight-bold subheading mb-1 mt-2"
>
<v-icon
small
>
fas fa-mobile-alt
</v-icon>
ข้อมูลติดต่อ
<v-divider></v-divider>
</v-flex>
<v-flex
xs12
sm12
class=
"text-xs-center text-sm-center "
>
<img
width=
"180"
class=
""
:src=
"detail_data.imageCompany"
alt=
""
>
</v-flex>
<v-flex
xs12
sm12
class=
"text-xs-center text-sm-center font-weight-bold caption mb-1"
>
{{
detail_data
.
company_name
}}
</v-flex>
<v-flex
xs12
sm12
class=
" body-1 px-2"
>
<v-icon
small
>
fas fa-user
</v-icon>
คุณ
{{
detail_data
.
company_owner
}}
</v-flex>
<v-flex
xs12
sm12
class=
" body-1 px-2"
>
<v-icon
small
>
fas fa-envelope
</v-icon>
{{
detail_data
.
email
}}
</v-flex>
<v-flex
xs12
sm12
class=
" body-1 px-2"
>
<v-icon
small
>
laptop_mac
</v-icon>
{{
detail_data
.
website
?
detail_data
.
website
:
'-'
}}
</v-flex>
<v-flex
xs12
sm12
class=
" body-1 px-2"
>
<v-icon
small
>
phone
</v-icon>
โทร.
{{
detail_data
.
phone_no
?
detail_data
.
phone_no
:
'-'
}}
</v-flex>
<v-flex
xs12
sm12
class=
" body-1 px-2"
>
<v-icon
small
>
fas fa-fax
</v-icon>
แฟกซ์. :
{{
detail_data
.
fax
?
detail_data
.
fax
:
'-'
}}
</v-flex>
<v-flex
xs12
sm12
class=
" font-weight-bold subheading mt-2 my-1"
>
<v-icon
small
>
fas fa-street-view
</v-icon>
แผนที่ตั้งบริษัท
<v-divider></v-divider>
</v-flex>
<v-flex
xs12
sm12
class=
" font-weight-bold subheading mt-2 my-1"
>
<v-icon
small
>
fas fa-plane
</v-icon>
การเดินทาง
<v-divider></v-divider>
</v-flex>
<v-layout
row
wrap
justify-center
class=
"pa-1"
fill-height
align-center
>
<v-flex
xs6
sm6
class=
"text-sm-center text-xs-center"
>
<img
src=
"/images/bts.png"
width=
"50"
height=
"50"
alt=
""
>
<v-flex
xs12
sm12
>
{{
detail_data
.
bts
?
detail_data
.
bts
:
'ไม่มี'
}}
</v-flex>
</v-flex>
<v-flex
xs6
sm6
class=
"text-sm-center text-xs-center"
>
<img
src=
"/images/mrt.png"
width=
"50"
height=
"50"
alt=
""
>
<v-flex
xs12
sm12
>
{{
detail_data
.
mrt
?
detail_data
.
mrt
:
'ไม่มี'
}}
</v-flex>
</v-flex>
</v-layout>
<v-layout
row
wrap
justify-center
class=
"pa-1"
fill-height
align-center
>
<v-flex
xs6
sm6
class=
"text-sm-center text-xs-center"
>
<img
src=
"/images/arl.png"
width=
"50"
height=
"50"
alt=
""
>
<v-flex
xs12
sm12
>
{{
detail_data
.
arl
?
detail_data
.
arl
:
'ไม่มี'
}}
</v-flex>
</v-flex>
<v-flex
xs6
sm6
class=
"text-sm-center text-xs-center"
>
<img
src=
"/images/bus.png"
width=
"50"
height=
"50"
alt=
""
>
<v-flex
xs12
sm12
>
{{
detail_data
.
bus
?
detail_data
.
bus
:
'ไม่มี'
}}
</v-flex>
</v-flex>
</v-layout>
<v-flex
xs12
sm12
class=
"px-3 font-weight-bold"
>
การเดินทางเพิ่มเติม :
{{
detail_data
.
another
?
detail_data
.
another
:
'-'
}}
</v-flex>
</v-flex>
</v-flex>
</v-layout>
</div>
</
template
>
<
script
>
export
default
{
data
()
{
return
{
detail_data
:
{}
}
},
beforeMount
()
{
axios
.
get
(
`/api/detail/
${
this
.
$route
.
params
.
id
}
`
)
.
then
(
res
=>
{
this
.
detail_data
=
res
.
data
.
job
}).
catch
(
err
=>
{
console
.
log
(
err
.
response
)})
}
}
</
script
>
<
style
lang=
"scss"
scoped
>
.border-logo
{
border
:
1px
solid
#e1e1e1
;
}
.div-card
{
border-radius
:
3px
;
box-shadow
:
0
2px
1px
rgba
(
0
,
0
,
0
,.
17
);
}
</
style
>
public/images/logocoop.png
0 → 100644
View file @
b8a7da9b
9.11 KB
public/js/app.js
View file @
b8a7da9b
This source diff could not be displayed because it is too large. You can
view the blob
instead.
resources/js/components/Toolbar.vue
View file @
b8a7da9b
<
template
>
<
template
>
<div>
<div>
<v-layout
row
wrap
white
>
<v-layout
row
wrap
fill-height
align-center
class=
"colornav pt-1"
>
<v-flex
xs12
sm10
offset-sm1
>
<v-flex
xs12
sm10
offset-sm1
>
<v-toolbar
flat
color=
"white"
height=
"40"
>
<v-toolbar
flat
color=
"#0d253d"
>
<!--v-if="page == 'app'"-->
<v-spacer></v-spacer>
<v-toolbar-title
class=
""
>
<v-btn
small=
""
dark
color=
"deep-orange darken-4"
class=
"elevation-0"
@
click=
"$router.push('/employer')"
>
สำหรับผู้ประกอบการ
</v-btn>
<router-link
to=
"/"
><img
src=
"../../../public/images/logocoop.png"
class=
""
width=
"140"
></router-link>
<v-divider
inset
vertical
></v-divider>
<v-btn
v-if=
"!currentUser"
small
outline
color=
"deep-orange darken-4"
@
click
.
stop=
"login()"
>
<v-icon>
person
</v-icon>
เข้าสู่ระบบ
</v-btn>
<v-btn
v-if=
"!currentUser"
small
outline
color=
"deep-orange darken-4"
@
click
.
stop=
"register()"
>
<v-icon>
account_box
</v-icon>
ลงทะเบียน
</v-btn>
<v-btn
v-else
small
outline
color=
"deep-orange darken-4"
@
click=
"logout()"
>
<v-icon>
account_circle
</v-icon>
{{
currentUser
}}
</v-btn>
</v-toolbar>
</v-flex>
</v-layout>
<v-layout
row
wrap
white
>
<v-flex
xs12
sm10
offset-sm1
>
<v-toolbar
flat
color=
"white"
>
<!--v-if="page == 'app'"-->
<v-toolbar-title>
<router-link
to=
"/"
><img
src=
"../../../public/img/banner.png"
class=
"my-2"
width=
"150"
></router-link>
</v-toolbar-title>
</v-toolbar-title>
<v-spacer></v-spacer>
<v-spacer></v-spacer>
<v-btn
v-if=
"!responsive"
flat
color=
"black"
class=
"mx-0 px-0"
>
<router-link
to=
"/"
>
<v-btn
v-if=
"!responsive"
flat
color=
"white"
class=
"mx-2 px-2"
>
<v-icon>
home
</v-icon>
<v-icon>
home
</v-icon>
<span
class=
"body-2 font-weight-bold"
>
หน้าหลัก
</span>
</v-btn>
</v-btn>
<v-btn
v-if=
"!responsive"
flat
color=
"black"
class=
"mx-0 px-0 body-2 font-weight-bold"
>
</router-link>
<span
class=
"body-2 font-weight-bold"
>
เกี่ยวกับเรา
</span>
<router-link
to=
"/showjob"
>
<v-btn
v-if=
"!responsive"
flat
color=
"white"
class=
"mx-2 px-2 body-2 font-weight-bold"
>
<span
class=
"body-2 font-weight-bold"
>
หางานทั้งหมด
</span>
</v-btn>
</v-btn>
<v-btn
v-if=
"!responsive"
flat
color=
"black"
class=
"mx-0 px-0 body-2 font-weight-bold"
>
</router-link>
<span
class=
"body-2 font-weight-bold"
>
เกี่ยวกับเรา
</span>
<router-link
to=
"/employer"
>
<v-btn
v-if=
"!responsive"
flat
color=
"white"
class=
"mx-1 px-1 body-2 font-weight-bold"
>
<span
class=
"body-2 font-weight-bold"
>
สำหรับผู้ประกอบการ
</span>
</v-btn>
</v-btn>
<v-btn
v-if=
"!responsive"
flat
color=
"black"
class=
"m x-0 px-0 body-2 font-weight-bold"
>
</router-link>
<span
class=
"body-2 font-weight-bold"
>
เกี่ยวกับเรา
</span>
<v-btn
v-if=
"!currentUser"
flat
color=
"white"
class=
"mx-1 px-1 body-2 font-weight-bold"
@
click
.
stop=
"login()"
>
<span
class=
"body-2 font-weight-bold"
>
เข้าสู่ระบบ
</span>
</v-btn>
</v-btn>
<v-btn
v-if=
"!
responsive"
flat
color=
"black"
class=
"mx-0 px-0 body-2 font-weight-bold
"
>
<v-btn
v-if=
"!
currentUser"
flat
color=
"white"
class=
"mx-1 px-1 body-2 font-weight-bold"
@
click
.
stop=
"register()
"
>
<span
class=
"body-2 font-weight-bold"
>
เกี่ยวกับเรา
</span>
<span
class=
"body-2 font-weight-bold"
>
สมัครสมาชิก
</span>
</v-btn>
</v-btn>
<v-btn
v-if=
"!responsive"
flat
color=
"black"
class=
"mx-0 px-0 body-2 font-weight-bold"
>
<v-btn
v-else
small
dark
color=
"yellow darken-2"
@
click=
"logout()"
class=
"black--text py-2"
>
<span
class=
"body-2 font-weight-bold"
>
เกี่ยวกับเรา
</span>
<v-icon>
account_circle
</v-icon>
{{
currentUser
}}
</v-btn>
<v-btn
v-if=
"!responsive"
flat
color=
"black"
class=
"mx-0 px-0 body-2 font-weight-bold"
>
<span
class=
"body-2 font-weight-bold"
>
เกี่ยวกับเรา
</span>
</v-btn>
</v-btn>
<v-menu
left
bottom
v-if=
"responsive"
>
<template
v-slot:activator=
"
{ on }">
<v-toolbar-side-icon
v-on=
"on"
></v-toolbar-side-icon>
</
template
>
<v-list>
<v-list-tile>
<v-list-tile-title>
หน้าหลัก
</v-list-tile-title>
</v-list-tile>
<v-list-tile>
<v-list-tile-title>
หน้าหลัก
</v-list-tile-title>
</v-list-tile>
<v-list-tile
>
<v-list-tile-title>
หน้าหลัก
</v-list-tile-title>
</v-list-tile>
<v-list-tile
>
<v-list-tile-title>
หน้าหลัก
</v-list-tile-title>
</v-list-tile>
<v-list-tile
>
<v-list-tile-title>
หน้าหลัก
</v-list-tile-title>
</v-list-tile>
<v-list-tile
>
<v-list-tile-title>
หน้าหลัก
</v-list-tile-title>
</v-list-tile>
</v-list>
</v-menu>
</v-toolbar>
</v-toolbar>
</v-flex>
</v-flex>
</v-layout>
</v-layout>
...
@@ -129,3 +88,10 @@ export default {
...
@@ -129,3 +88,10 @@ export default {
}
}
}
}
</
script
>
</
script
>
<
style
lang=
"scss"
scoped
>
.colornav
{
background-color
:
#0d253d
;
}
</
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