hubl/src/views/project/page-project-edit.pug

71 lines
2.0 KiB
Plaintext
Raw Normal View History

div.content-box__info.flex
2020-05-08 13:27:44 +00:00
include ../../templates/hubl-user-avatar.pug
2020-05-08 13:27:44 +00:00
sib-widget(name='hubl-fieldset-title')
template
label ${label}
2020-04-21 10:10:01 +00:00
sib-link(class='backlink right', bind-resources, next='project-profile') Retour
2020-04-21 10:10:01 +00:00
h1 Modifie ton projet
sib-form.form.button-register(
bind-resources
fields='fieldset-info, block-project__info(customer, name, description), fieldset-fee, block-project__fee(businessProvider, businessProviderFee)'
2019-05-14 15:32:42 +00:00
class-customer='form-label is-light is-half-width'
widget-customer='sib-form-auto-completion'
class-name='form-label is-light is-half-width input-text-like'
class-description='form-label is-light is-full-width input-text-like'
label-fieldset-info=''
2020-04-21 10:10:01 +00:00
label-customer='Client*'
range-customer=`${endpoints.customers || endpoints.get.customers}`
2020-04-21 10:10:01 +00:00
label-name='Nom du projet*'
label-description='Description du projet'
2020-05-08 13:27:44 +00:00
widget-fieldset-info='hubl-fieldset-title'
widget-description='sib-form-textarea'
class-fieldset-fee='fieldset'
class-businessprovider='form-label is-light is-half-width input-text-like'
class-businessproviderfee='form-label is-light is-half-width input-text-like'
2020-04-21 10:10:01 +00:00
label-fieldset-fee='Contributions'
label-businessprovider='Apporteur d\'affaire'
label-businessproviderfee='Montant de la contribution'
2020-05-08 13:27:44 +00:00
widget-fieldset-fee='hubl-fieldset-title'
2020-04-21 10:10:01 +00:00
submit-button='Enregistrer'
)
2020-04-21 10:10:01 +00:00
h2 Liste des membres :
2020-05-12 17:14:50 +00:00
sib-form.block.select-add.button-add(
bind-resources
nested-field='members'
fields='user'
range-user=`${endpoints.users || endpoints.get.users}`
class-user='team form-label is-light'
label-user=''
widget-user='sib-form-auto-completion'
2020-04-21 10:10:01 +00:00
submit-button='Ajouter un membre'
)
.table
div.table-header.grey-color
2020-05-29 16:12:29 +00:00
div.w66 Nom
div.w33 Accès
//-class='table-body'
sib-display(
class='table-body'
bind-resources
fields='members'
multiple-members=''
2020-05-08 13:27:44 +00:00
widget-members='hubl-team-template-edit'
)