hubl/src/views/admin/page-admin-projects-create.pug

53 lines
1.6 KiB
Plaintext
Raw Normal View History

div.content-box__info.flex
2020-04-21 09:43:01 +00:00
sib-link(class="backlink right" next='admin-project-list') Retour
2020-05-08 13:27:44 +00:00
sib-widget(name="hubl-admin-project-add-user")
2019-12-12 13:34:09 +00:00
template
sib-form(
data-holder
fields='user, project'
range-user=`${endpoints.users || endpoints.get.users}`
2019-12-12 13:34:09 +00:00
value-project='${src}'
widget-project='sib-form-hidden'
naked
)
h1 Créer un nouveau projet
sib-form.form.button-register(
data-src=`${endpoints.projects || endpoints.post.projects}`
fields='status, line-1(customer.name, name), description, line-10(captain), logo'
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'
2020-06-01 15:29:30 +00:00
label-description='Description du projet'
class-description='form-label is-light is-full-width'
widget-description='sib-form-textarea'
class-fieldset-captain='fieldset'
2020-05-08 13:27:44 +00:00
widget-fieldset-captain='hubl-template-project-title'
2020-06-01 15:29:30 +00:00
label-customer.name='Nom du client*'
class-customer.name='form-label is-light is-half-width'
2020-04-21 09:43: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-captain='Capitaine du projet*'
range-captain=`${endpoints.users || endpoints.get.users}`
class-captain='form-label is-light is-half-width'
widget-captain='sib-form-auto-completion'
widget-logo="sib-form-file"
label-logo="Télécharger un logo"
2020-06-01 15:29:30 +00:00
class-logo='form-label is-light is-full-width'
upload-url-logo=`${endpoints.uploads || endpoints.post.uploads}`
next='admin-project-list'
submit-button='Enregistrer et ajouter des membres'
)