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