hubl/src/views/admin/page-admin-communities.pug

55 lines
2.0 KiB
Plaintext
Raw Normal View History

2020-10-13 16:18:13 +00:00
.content-box.flex.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
2020-10-21 13:31:05 +00:00
h1.without-margin(data-trans='communities.title')
button.mobile-sidebar-button.jsMobileSidebarOpenButton.icon-arrow-left-circle(data-trans='communities.menuMobile')
2020-10-13 16:18:13 +00:00
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'
data-src="${value}"
next="admin-users-create"
2020-10-21 13:31:05 +00:00
data-trans='communities.linkInvite'
)
2020-10-13 16:18:13 +00:00
solid-ac-checker(data-src="${value}", nested-field="members", no-permission='acl:Append')
2020-10-21 13:31:05 +00:00
div.button.text-bold.text-uppercase.button-disabled(data-trans='communities.noPermission')
2020-10-13 16:18:13 +00:00
2020-10-19 14:12:14 +00:00
#admin-communities-list.content-box__height(hidden, data-view="admin-communities-list")
2020-10-13 16:18:13 +00:00
div.content-box__info.flex
div.admin-header.flex
2020-10-21 13:31:05 +00:00
h3(data-trans='communities.subTitle')
2020-10-13 16:18:13 +00:00
.table-wrapper
.table
div.table-header.grey-color
2020-10-21 13:31:05 +00:00
div.w450(data-trans='communities.tableHeader1')
div.w370(data-trans='communities.tableHeader2')
2020-10-13 16:18:13 +00:00
solid-display(
class='table-body'
bind-user
nested-field='communities'
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'
widget-community='hubl-action-community'
order-asc='community.name'
)
div#loader-admin-community.loader.loader-top
div
div
div
div
2020-10-19 14:12:14 +00:00
#admin-users-create.content-box__height(hidden, data-view="admin-users-create")
2020-10-13 16:18:13 +00:00
include page-admin-users-create.pug