match the mock-ups ok

This commit is contained in:
Gaëlle Morin 2019-11-11 11:50:10 +01:00
parent 5da381ce93
commit 1eb83f2a80
3 changed files with 17 additions and 15 deletions

View File

@ -47,6 +47,7 @@ div.content-box__info
range-owner=`${endpoints.users}` range-owner=`${endpoints.users}`
label-owner='owner' label-owner='owner'
label-description='circle subtitle'
class-name='form-label is-light is-half-width' class-name='form-label is-light is-half-width'
class-owner='form-label is-light is-half-width member-select color' class-owner='form-label is-light is-half-width member-select color'
@ -62,6 +63,21 @@ div.content-box__info
h2 Members list h2 Members list
//- TODO: sib-ac-checker unworking - https://git.happy-dev.fr/startinblox/framework/sib-core/issues/517
//- sib-ac-checker(permission='acl:Write', bind-resources, nested-field='team')
sib-form.block.team-form(
bind-resources
nested-field='members'
fields='user'
range-user=`${endpoints.users}`
class-user='team form-label is-dark'
label-user=''
widget-user='sib-form-auto-completion'
submit-button='Add a member'
)
div.table.cols-2.table-no-border-bottom div.table.cols-2.table-no-border-bottom
div.table-header Name div.table-header Name
div.table-header Access div.table-header Access

View File

@ -21,21 +21,6 @@ sib-router(default-route='circle-profile', hidden)
h2(name="label-team") Members: h2(name="label-team") Members:
//- TODO: sib-ac-checker unworking - https://git.happy-dev.fr/startinblox/framework/sib-core/issues/517
//- sib-ac-checker(permission='acl:Write', bind-resources, nested-field='team')
sib-form.block.team-form(
bind-resources
nested-field='members'
fields='user'
range-user=`${endpoints.users}`
class-user='team form-label is-dark'
label-user=''
widget-user='sib-form-auto-completion'
submit-button='Add a member'
)
sib-display.block( sib-display.block(
bind-resources bind-resources
fields='team' fields='team'

View File

@ -189,6 +189,7 @@ h5 {
.space-between { .space-between {
display: flex; display: flex;
justify-content: space-between; justify-content: space-between;
padding-bottom: 1.4rem;
} }
.section { .section {