hubl/src/page-circle-edit.pug

56 lines
1.3 KiB
Plaintext
Raw Normal View History

#circle-edit.content-box.with-padding.with-form.full-width
sib-widget(name='circle-team-template')
template
2019-10-18 13:39:56 +00:00
div(name='team')
div(name='user.thumb')
span ${await value.name}
sib-display(
data-src="${await value.groups}",
fields='name'
)
span ${await value.profile.city}
2019-10-21 13:02:12 +00:00
sib-widget(name='circle-delete-template')
template
sib-delete(
data-src="${await value['@id']}"
2019-10-21 11:12:04 +00:00
data-label='Delete from circle'
resourceDeleted=''
)
h1 Edit your circle
sib-form.block(
bind-resources
2019-10-15 10:14:54 +00:00
2019-10-21 09:37:07 +00:00
fields='block-circle__info(name, owner), description'
range-owner=`${endpoints.users}`
2019-10-21 09:37:07 +00:00
label-owner='owner'
class-name='form-label is-light is-half-width'
2019-10-21 09:37:07 +00:00
class-owner='form-label is-light is-half-width member-select'
class-description='form-label is-light is-full-width'
2019-10-21 09:37:07 +00:00
widget-owner='sib-form-auto-completion'
widget-description='sib-form-textarea'
)
h3 List of members
2019-10-21 13:02:12 +00:00
div.table-header
2019-10-17 14:06:22 +00:00
div.cell.un Name
div.cell.deux Status
2019-10-21 13:02:12 +00:00
sib-display.table-body(
bind-resources
2019-10-21 13:02:12 +00:00
fields='team, members'
multiple-team=''
2019-10-21 13:02:12 +00:00
multiple-members=''
widget-team='circle-team-template'
2019-10-21 13:02:12 +00:00
widget-members='circle-delete-template'
)