feature: job-board listing,, createand edit
This commit is contained in:
parent
2b4da0d09e
commit
a703671853
@ -20,12 +20,12 @@ if endpoints.events || (endpoints.get && endpoints.get.events)
|
|||||||
if endpoints.joboffers || (endpoints.get && endpoints.get.joboffers)
|
if endpoints.joboffers || (endpoints.get && endpoints.get.joboffers)
|
||||||
script(type="module" src="https://unpkg.com/@startinblox/component-job-board@0.3" defer)
|
script(type="module" src="https://unpkg.com/@startinblox/component-job-board@0.3" defer)
|
||||||
script(type="module" src="https://unpkg.com/@startinblox/component-conversation@0.3" defer)
|
script(type="module" src="https://unpkg.com/@startinblox/component-conversation@0.3" defer)
|
||||||
//- script(type="module" src="/lib/sib-job-board/sib-job-board.js" defer)
|
//- script(type="module" src="/lib/sib-job-board/index.js" defer)
|
||||||
//- script(type="module" src="/lib/sib-conversation/sib-conversation.js" defer)
|
//- script(type="module" src="/lib/sib-conversation/sib-conversation.js" defer)
|
||||||
|
|
||||||
if publicDirectory && (endpoints.users || (endpoints.get && endpoints.get.users))
|
if publicDirectory && (endpoints.users || (endpoints.get && endpoints.get.users))
|
||||||
script(type="module" src="https://unpkg.com/@startinblox/component-directory@0.3" defer)
|
script(type="module" src="https://unpkg.com/@startinblox/component-directory@0.3" defer)
|
||||||
//- script(type="module" src="/lib/sib-directory/sib-directory.js" defer)
|
//- script(type="module" src="/lib/sib-directory/index.js" defer)
|
||||||
|
|
||||||
if endpoints.dashboards || (endpoints.get && endpoints.get.dashboards)
|
if endpoints.dashboards || (endpoints.get && endpoints.get.dashboards)
|
||||||
script(type="module" src="https://unpkg.com/@startinblox/component-dashboard@0.1" defer)
|
script(type="module" src="https://unpkg.com/@startinblox/component-dashboard@0.1" defer)
|
||||||
|
@ -60,7 +60,7 @@ nav#main__menu.jsLeftMenu
|
|||||||
div.menu-icon.icon-people
|
div.menu-icon.icon-people
|
||||||
div.divider
|
div.divider
|
||||||
if endpoints.joboffers || (endpoints.get && endpoints.get.joboffers)
|
if endpoints.joboffers || (endpoints.get && endpoints.get.joboffers)
|
||||||
sib-route.menu(name='job-offers', rdf-type='hd:joboffer')
|
sib-route.menu(name='job-offers')
|
||||||
div.menu-label Offres de mission
|
div.menu-label Offres de mission
|
||||||
div.menu-icon.icon-briefcase
|
div.menu-icon.icon-briefcase
|
||||||
div.divider
|
div.divider
|
||||||
|
@ -1,25 +1,7 @@
|
|||||||
.content-box.full-width
|
.content-box.full-width
|
||||||
#job-offer-board
|
#job-offers.job-offers__container
|
||||||
.job-offers__container
|
|
||||||
sib-job-board(
|
sib-job-board(
|
||||||
data-src=`${endpoints.joboffers || endpoints.get.joboffers}`,
|
data-src=`${endpoints.joboffers || endpoints.get.joboffers}`,
|
||||||
|
post-data-src=`${endpoints.joboffers || endpoints.post.joboffers}`,
|
||||||
range-skills=`${endpoints.skills || endpoints.get.skills}`
|
range-skills=`${endpoints.skills || endpoints.get.skills}`
|
||||||
)
|
)
|
||||||
|
|
||||||
div.job-offers__newoffer
|
|
||||||
sib-link(next="job-offer-create").plus-button
|
|
||||||
div.icon-plus
|
|
||||||
div Post a new offer
|
|
||||||
|
|
||||||
#job-offer-create(hidden)
|
|
||||||
sib-link(class="backlink", next="job-offers") Back
|
|
||||||
include views/job-offer/page-job-offer-create.pug
|
|
||||||
|
|
||||||
#job-offer-edit(hidden)
|
|
||||||
sib-link(class="backlink", next="job-offers") Back
|
|
||||||
include views/job-offer/page-job-offer-edit.pug
|
|
||||||
|
|
||||||
sib-router(default-route='job-offer-board')
|
|
||||||
sib-route(name='job-offer-board')
|
|
||||||
sib-route(name='job-offer-create')
|
|
||||||
sib-route(name='job-offer-edit')
|
|
@ -25,4 +25,3 @@
|
|||||||
|
|
||||||
next='job-offers'
|
next='job-offers'
|
||||||
)
|
)
|
||||||
|
|
||||||
|
@ -25,4 +25,3 @@
|
|||||||
|
|
||||||
next='job-offers'
|
next='job-offers'
|
||||||
)
|
)
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user