2020-01-08 09:58:59 +00:00
|
|
|
sib-widget(name='hd-template-project-title')
|
|
|
|
template
|
|
|
|
p ${value}
|
|
|
|
|
2019-12-09 17:23:47 +00:00
|
|
|
div.content-box__info
|
|
|
|
sib-link(class="backlink" next='admin-project-list') Back
|
|
|
|
|
2019-12-12 13:34:09 +00:00
|
|
|
sib-widget(name="admin-project-add-user")
|
|
|
|
template
|
|
|
|
sib-form(
|
|
|
|
data-holder
|
|
|
|
fields='user, project'
|
|
|
|
range-user=`${endpoints.users}`
|
|
|
|
value-project='${src}'
|
|
|
|
widget-project='sib-form-hidden'
|
|
|
|
naked
|
|
|
|
)
|
|
|
|
|
2020-01-06 16:40:58 +00:00
|
|
|
h1.centered New project
|
2019-12-09 17:23:47 +00:00
|
|
|
|
|
|
|
sib-form.block(
|
|
|
|
data-src=`${endpoints.projects}`
|
|
|
|
|
2020-01-08 09:58:59 +00:00
|
|
|
fields='line-1(customer.name, name), line-2(customer.logo), line-3(project.description), fieldset-fee, line-4(businessProvider.name, businessProvider.fee), fieldset-customer, line-5(customer.companyRegister), line-6(customer.address), line-7(customer.firstName, customer.lastName), line-8(customer.role), line-9(customer.email, customer.phone), fieldset-captain, line-10(captain)'
|
|
|
|
|
|
|
|
class-fieldset-fee='fieldset'
|
|
|
|
value-fieldset-fee='Fee'
|
|
|
|
widget-fieldset-fee='hd-template-project-title'
|
|
|
|
|
|
|
|
class-fieldset-customer='fieldset'
|
|
|
|
value-fieldset-customer='Customer\'s information'
|
|
|
|
widget-fieldset-customer='hd-template-project-title'
|
|
|
|
|
|
|
|
class-fieldset-captain='fieldset'
|
|
|
|
value-fieldset-captain='Captain'
|
|
|
|
widget-fieldset-captain='hd-template-project-title'
|
2019-12-09 17:23:47 +00:00
|
|
|
|
|
|
|
label-customer.name='Customer\'s name*'
|
2020-01-06 16:40:58 +00:00
|
|
|
class-customer.name='form-label is-light is-half-width'
|
2019-12-09 17:23:47 +00:00
|
|
|
|
|
|
|
label-name='Project\'s name*'
|
2020-01-06 16:40:58 +00:00
|
|
|
class-name='form-label is-light is-half-width'
|
2019-12-09 17:23:47 +00:00
|
|
|
|
|
|
|
label-customer.logo='Customer\'s logo'
|
2020-01-06 16:40:58 +00:00
|
|
|
class-customer.logo='form-label is-light is-half-width'
|
2019-12-09 17:23:47 +00:00
|
|
|
|
2020-01-06 16:40:58 +00:00
|
|
|
label-project.description='Project description'
|
|
|
|
class-project.description='form-label is-light is-full-width'
|
|
|
|
widget-project.description='sib-form-textarea'
|
2019-12-09 17:23:47 +00:00
|
|
|
|
|
|
|
label-businessProvider.name='Business provider*'
|
2020-01-06 16:40:58 +00:00
|
|
|
class-businessProvider.name='form-label is-light is-half-width'
|
2019-12-09 17:23:47 +00:00
|
|
|
|
|
|
|
label-businessProvider.fee='Amount of the contribution'
|
2020-01-06 16:40:58 +00:00
|
|
|
class-businessProvider.fee='form-label is-light is-half-width'
|
2019-12-09 17:23:47 +00:00
|
|
|
|
|
|
|
label-customer.companyregister='Company register'
|
2020-01-06 16:40:58 +00:00
|
|
|
class-customer.companyregister='form-label is-light is-half-width'
|
2019-12-09 17:23:47 +00:00
|
|
|
|
|
|
|
label-customer.address='Address'
|
2020-01-06 16:40:58 +00:00
|
|
|
class-customer.address='form-label is-light is-full-width'
|
2019-12-09 17:23:47 +00:00
|
|
|
widget-customer.address='sib-form-textarea'
|
|
|
|
|
|
|
|
label-customer.firstName='Name of the contact'
|
2020-01-06 16:40:58 +00:00
|
|
|
class-customer.firstName='form-label is-light is-half-width'
|
2019-12-09 17:23:47 +00:00
|
|
|
|
|
|
|
label-customer.lastName='Firstname of the contact'
|
2020-01-06 16:40:58 +00:00
|
|
|
class-customer.lastName='form-label is-light is-half-width'
|
2019-12-09 17:23:47 +00:00
|
|
|
|
|
|
|
label-customer.role='Role within the company'
|
2020-01-06 16:40:58 +00:00
|
|
|
class-customer.role='form-label is-light is-half-width'
|
2019-12-09 17:23:47 +00:00
|
|
|
|
|
|
|
label-customer.email='Email'
|
2020-01-06 16:40:58 +00:00
|
|
|
class-customer.email='form-label is-light is-half-width'
|
2019-12-09 17:23:47 +00:00
|
|
|
|
|
|
|
label-customer.phone='Phone'
|
2020-01-06 16:40:58 +00:00
|
|
|
class-customer.phone='form-label is-light is-half-width'
|
2019-12-09 17:23:47 +00:00
|
|
|
|
|
|
|
range-captain=`${endpoints.users}`
|
2020-01-06 16:40:58 +00:00
|
|
|
class-captain='member-select form-label is-light is-half-width'
|
|
|
|
widget-captain='sib-form-auto-completion'
|
2019-12-09 17:23:47 +00:00
|
|
|
|
|
|
|
next='admin-project-list'
|
|
|
|
|
|
|
|
submit-button='Save'
|
|
|
|
)
|