feat: add circles display
This commit is contained in:
parent
af0db1462e
commit
fc7732b1b9
@ -1,9 +1,32 @@
|
|||||||
h1 Circles
|
h1 Circles
|
||||||
|
|
||||||
|
sib-widget(name='template-admin-circle')
|
||||||
|
template
|
||||||
|
sib-display(
|
||||||
|
fields='name'
|
||||||
|
bind-resources
|
||||||
|
)
|
||||||
|
sib-display(
|
||||||
|
data-src='${await value.owner}'
|
||||||
|
fields='account.picture, sup(name)'
|
||||||
|
widget-account.picture='hd-user-avatar'
|
||||||
|
)
|
||||||
|
sib-display(
|
||||||
|
fields='team'
|
||||||
|
bind-resources
|
||||||
|
)
|
||||||
|
|
||||||
div
|
div
|
||||||
//- Search a circle
|
//- Search a circle
|
||||||
|
|
||||||
sib-display(
|
div.table-header
|
||||||
|
div.cell Name
|
||||||
|
div.cell Admins
|
||||||
|
div.cell Join
|
||||||
|
|
||||||
|
sib-display.table-body(
|
||||||
data-src=`${endpoints.circles}`
|
data-src=`${endpoints.circles}`
|
||||||
fields='name, owner.username'
|
fields='circles(name, team, owner)'
|
||||||
|
multiple-circles
|
||||||
|
widget-circles='template-admin-circle'
|
||||||
)
|
)
|
Loading…
Reference in New Issue
Block a user