ui(create project form): #issue86 CSS - Project-create

Add all fields to create a project.
Add style.
Fix box-shadow problem.
This commit is contained in:
Gaëlle Morin 2019-02-11 18:50:06 +01:00
parent 5bf9568e2f
commit ad6ba65669
3 changed files with 38 additions and 12 deletions

View File

@ -1,8 +1,36 @@
h1 New project
.form-view
sib-form.block(
.frame-form
h1 New project
p Here you can create your project, add members and assign them a job.
.form-view
sib-form(
data-src=`${sdn}/projects/`,
range-customer=`${sdn}/customers/`,
range-members=`${sdn}/members/`,
range-team=`${sdn}/users/`,
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',
range-team=`${sdn}/users/`
widget-members='sib-form-multiple-dropdown'
)

View File

@ -1,7 +1,6 @@
.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/`,
@ -31,8 +30,6 @@
widget-jabberRoom='sib-form-checkbox',
widget-description='sib-form-textarea',
widget-team='sib-form-multiple-dropdown',
widget-members='sib-form-multiple-dropdown',
bind-resources
widget-members='sib-form-multiple-dropdown'
)

View File

@ -14,6 +14,7 @@
align-items: center;
padding: 1em 0.4em;
position: relative;
z-index: 1;
> * {
padding: 0 1.8rem;