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

74 lines
1.7 KiB
Plaintext
Raw Normal View History

div.content-box__info
2020-05-08 13:27:44 +00:00
include ../../templates/hubl-user-avatar.pug
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='status, line-1(customer.name, name), description'
2020-06-01 15:29:30 +00:00
label-status='Statut du canal*'
widget-status='hubl-status'
class-status='form-label is-light is-full-width member-select color'
2019-05-14 15:32:42 +00:00
2020-04-21 10:10:01 +00:00
label-name='Nom du projet*'
class-name='form-label is-light is-half-width input-text-like'
2020-06-01 15:29:30 +00:00
label-customer.name='Nom du client*'
class-customer.name='form-label is-light is-half-width input-text-like'
2020-06-01 15:29:30 +00:00
2020-04-21 10:10:01 +00:00
label-description='Description du projet'
class-description='form-label is-light is-full-width input-text-like'
widget-description='sib-form-textarea'
2020-06-01 15:29:30 +00:00
partial=""
2020-04-21 10:10:01 +00:00
submit-button='Enregistrer'
2020-06-01 15:29:30 +00:00
next='project-information'
)
2020-06-18 02:58:39 +00:00
h2 Photo du projet
2020-06-15 11:56:13 +00:00
sib-form.form-picture(
bind-resources
fields='customer.logo'
widget-customer.logo="hubl-user-avatar"
submit-button='Edit'
next='project-picture'
)
2020-04-21 10:10:01 +00:00
h2 Liste des membres :
sib-form.block.select-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-wrapper
.table
div.table-header.grey-color
div.w280 Nom
div.w162 Accès
//-class='table-body'
sib-display(
class='table-body'
bind-resources
fields='members'
multiple-members=''
widget-members='hubl-team-template-edit'
)