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
9b71c408
Commit
9b71c408
authored
Apr 02, 2019
by
Kittisak Maneewong
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Update Layout
parent
c0093b2a
Expand all
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
36 additions
and
9 deletions
+36
-9
app.js
public/js/app.js
+0
-0
Toolbar.vue
resources/js/components/Toolbar.vue
+8
-7
AppLayout.vue
resources/js/layouts/AppLayout.vue
+1
-1
EmployerLayout.vue
resources/js/layouts/EmployerLayout.vue
+27
-1
No files found.
public/js/app.js
View file @
9b71c408
This diff is collapsed.
Click to expand it.
resources/js/components/Toolbar.vue
View file @
9b71c408
<
template
>
<v-toolbar
absolute
flat
color=
"white"
app
>
<v-toolbar
absolute
flat
color=
"white"
app
v-if=
"page == 'app'"
>
<v-toolbar-title>
Cooperative Search
</v-toolbar-title>
<v-spacer></v-spacer>
<v-btn
dark
color=
"success"
class=
"elevation-0"
@
click=
"$router.push('/employer')"
>
สำหรับผู้ประกอบการ
</v-btn>
<v-btn
dark
color=
"success"
class=
"elevation-0"
@
click=
"$router.push('/employer
/login
')"
>
สำหรับผู้ประกอบการ
</v-btn>
<v-divider
inset
vertical
></v-divider>
<v-btn
outline
color=
"success"
>
เข้าสู่ระบบ
</v-btn>
<v-btn
outline
color=
"success"
class=
"ml-0"
>
สมัครสมาชิก
<v-btn
round
small
outline
color=
"success"
>
<v-icon>
person
</v-icon>
เข้าสู่ระบบ / สมัครสมาชิก
</v-btn>
</v-toolbar>
<v-toolbar
absolute
flat
color=
"success"
dark
app
v-else
>
<v-toolbar-title>
Cooperative Search
</v-toolbar-title>
</v-toolbar>
</
template
>
<
script
>
export
default
{
props
:
[
'page'
]
}
</
script
>
resources/js/layouts/AppLayout.vue
View file @
9b71c408
<
template
>
<div>
<Toolbar></Toolbar>
<Toolbar
page=
"app"
></Toolbar>
<v-content
class=
"mt-5"
>
<v-container
fluid
>
<v-layout>
...
...
resources/js/layouts/EmployerLayout.vue
View file @
9b71c408
<
template
>
<router-view></router-view>
<div>
<Toolbar
page=
"employer"
></Toolbar>
<v-content
class=
"mt-5"
>
<v-container
fluid
>
<v-layout>
<v-flex
xs10
offset-xs1
>
<v-card
flat
height=
"600px"
>
<router-view></router-view>
</v-card>
</v-flex>
</v-layout>
</v-container>
</v-content>
<Footer></Footer>
</div>
</
template
>
<
script
>
import
Toolbar
from
'../components/Toolbar.vue'
;
import
Footer
from
'../components/Footer.vue'
;
export
default
{
components
:
{
Toolbar
,
Footer
}
}
</
script
>
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