ui(project-edit): #issue60 edit team + #issue83 CSS - project edit

Customize labels.
Styling labels, inputs, text areas, title, paragraph, buttons and checkbox.
Big clean up
This commit is contained in:
Gaëlle Morin
2019-02-01 17:21:11 +01:00
parent 95c410e688
commit ed50a26380
9 changed files with 208 additions and 134 deletions
+38 -13
View File
@@ -1,13 +1,38 @@
h1 Edit project
//- sib-display(data-fields="name" bind-resources)]
.form-view
sib-form(
range-customer=`${sdn}/customers/`,
range-team=`${sdn}/members/`,
data-fields=`name, phone, customer, description, team, jabberRoom, foaf:jabberID`,
widget-jabberRoom='sib-form-checkbox',
widget-description='sib-form-textarea',
widget-team='hdapp-link-more',
label-team='Equipe'
bind-resources
)
.frame-form
h1 Edit your project
p Here you can edit your projet's details
Do not forget to add comment
.form-view
sib-form(
range-team=`${sdn}/users/`,
range-members=`${sdn}/project-members/`,
data-fields=`customer.name, name, description, customer.logo, customer.companyRegister, customer.address, customer.firstName, customer.lastName, customer.role, customer.email, customer.phone, block-fee, jabberRoom, foaf:jabberID, block-team`,
set-block-team=`team, members`,
set-block-fee=`businessProvider, businessProviderFee`,
'label-customer,name'='Business name',
label-name='Project name',
label-description='Project description',
'label-customer,logo'='Customer logo',
'label-customer,companyRegister'='Company register',
'label-customer,address'='Customer address',
'label-customer,firstName'='Contact firstname',
'label-customer,lastName'='Contact lastname',
'label-customer,role'='Contact role',
'label-customer,email'='Contact email',
'label-customer,phone'='Contact phone',
label-businessProvider='Business provider',
label-businessProviderFee='Fee (%)',
label-foaf:jabberID='Chatroom id',
label-team='Teammates',
label-members='Member role'
widget-jabberRoom='sib-form-checkbox',
widget-description='sib-form-textarea',
widget-team='sib-form-multiple-dropdown',
widget-members='sib-form-multiple-dropdown',
bind-resources
)