feature: admin-community-list

This commit is contained in:
gaelle morin 2020-11-24 22:14:58 +01:00
parent 497147c8c1
commit 1d2e82dd77
No known key found for this signature in database
GPG Key ID: 028426702B95CF9C

View File

@ -1,34 +1,36 @@
.content-box.flex.full-width.with-form
.content-box.full-width.with-form
solid-router(default-route='admin-communities-list', hidden)
solid-route(name='admin-communities-list')
solid-route(name='admin-users-create', use-id)
div.content-box__header.flex.space-between
h1.without-margin(data-trans='communities.title')
button.mobile-sidebar-button.jsMobileSidebarOpenButton.icon-arrow-left-circle(data-trans='communities.menuMobile')
div.segment.padding-xlarge.border-bottom
div
h2.text-uppercase.text-xlarge.text-letter-spacing-large(data-trans='communities.title')
div.segment.lg-hidden
button.mobile-sidebar-button.jsMobileSidebarOpenButton.icon-arrow-left-circle(data-trans='communities.menuMobile')
solid-widget(name='hubl-action-community')
template
solid-ac-checker(data-src="${value}", nested-field="members", permission='acl:Append')
solid-link(
class='button text-bold text-uppercase reversed button-primary bordered with-icon icon-plus'
class='button text-bolder text-uppercase reversed button-secondary bordered icon icon-plus'
data-src="${value}"
next="admin-users-create"
data-trans='communities.linkInvite'
)
solid-ac-checker(data-src="${value}", nested-field="members", no-permission='acl:Append')
div.button.text-bold.text-uppercase.button-disabled(data-trans='communities.noPermission')
div.button.text-uppercase.button-disabled(data-trans='communities.noPermission')
#admin-communities-list.content-box__height(hidden, data-view="admin-communities-list")
div.content-box__info.flex
div.admin-header.flex
h3(data-trans='communities.subTitle')
div.segment.padding-xlarge
div.segment.padding-y-small.margin-bottom.clearfix
h3.text-large.text-bold.text-letter-spacing-large(data-trans='communities.subTitle')
.table-wrapper
.table
div.table-header.grey-color
div.w450(data-trans='communities.tableHeader1')
div.w370(data-trans='communities.tableHeader2')
.table.segment.margin-bottom
div.table-header
div.table-cell.w450(data-trans='communities.tableHeader1')
div.table-cell.w370(data-trans='communities.tableHeader2')
solid-display(
class='table-body'
@ -37,8 +39,8 @@
fields='community.name, community'
loader-id='loader-admin-community'
class-community.name='w450 border cell-with-name'
class-community='w370 border cell-with-buttons is-spaced'
class-community.name='table-cell w450 text-color-heading text-bold text-letter-spacing-large'
class-community='table-cell w370'
widget-community='hubl-action-community'
order-asc='community.name'