sorted src, activate condition for public directory and job offers, dev parameter for local lib folder
This commit is contained in:
41
src/views/job-offer/page-job-offer-create.pug
Normal file
41
src/views/job-offer/page-job-offer-create.pug
Normal file
@ -0,0 +1,41 @@
|
||||
.content-box.with-padding.with-form
|
||||
h1 Post a new job offer
|
||||
p.center This form allows you to share an offer to all members of the network.
|
||||
|
||||
sib-widget(name='title-text')
|
||||
template
|
||||
p Be clear and specific with the name of your offer. You can indicate which skill is important, the start date or the name of the client. Ex: "Looking for a plumber for planet Mars ASAP".
|
||||
|
||||
sib-widget(name='description-text')
|
||||
template
|
||||
p Be specific and exhaustive to avoid answering too many questions later. Indicate what is the best way to fill the offer, the prerequisites...'
|
||||
|
||||
sib-form.block(
|
||||
data-src=`${endpoints.joboffers || endpoints.post.joboffers}`
|
||||
range-skills=`${endpoints.skills || endpoints.get.skills}`
|
||||
|
||||
fields='title, title-text, description, description-text, skills, closingDate'
|
||||
|
||||
class-title='field form-label is-light is-expanded'
|
||||
label-title='Title*'
|
||||
|
||||
widget-title-text='title-text'
|
||||
|
||||
class-description='field form-label is-light is-expanded'
|
||||
label-description='Description*'
|
||||
widget-description='sib-form-textarea'
|
||||
|
||||
widget-description-text='description-text'
|
||||
|
||||
class-skills='form-label is-dark'
|
||||
label-skills='The required skills for this mission:*'
|
||||
multiple-skills='sib-multiple-select'
|
||||
widget-skills='sib-form-auto-completion'
|
||||
|
||||
class-closingDate='form-label is-dark'
|
||||
label-closingDate='Publication end date:*'
|
||||
widget-closingDate='sib-form-date'
|
||||
|
||||
next='job-offers'
|
||||
)
|
||||
|
28
src/views/job-offer/page-job-offer-edit.pug
Normal file
28
src/views/job-offer/page-job-offer-edit.pug
Normal file
@ -0,0 +1,28 @@
|
||||
.content-box.with-padding.with-form
|
||||
h1 Edit your job offer
|
||||
|
||||
sib-form.block(
|
||||
bind-resources
|
||||
range-skills=`${endpoints.skills || endpoints.get.skills}`
|
||||
|
||||
fields='title, description, skills, closingDate'
|
||||
|
||||
class-title='field form-label is-light is-expanded'
|
||||
label-title='Title*'
|
||||
|
||||
class-description='field form-label is-light is-expanded'
|
||||
label-description='Description*'
|
||||
widget-description='sib-form-textarea'
|
||||
|
||||
class-skills='form-label is-dark'
|
||||
label-skills='The required skills for this mission:*'
|
||||
multiple-skills='sib-multiple-select'
|
||||
widget-skills='sib-form-auto-completion'
|
||||
|
||||
class-closingDate='form-label is-dark'
|
||||
label-closingDate='Publication end date:*'
|
||||
widget-closingDate='sib-form-date'
|
||||
|
||||
next='job-offers'
|
||||
)
|
||||
|
Reference in New Issue
Block a user