feature: right-hand menu for admin

This commit is contained in:
gaelle morin 2020-12-14 13:14:19 +01:00
parent 69d364bad8
commit d2d89de186
No known key found for this signature in database
GPG Key ID: 028426702B95CF9C

View File

@ -8,24 +8,25 @@
if (endpoints.users || (endpoints.get && endpoints.get.users)) if (endpoints.users || (endpoints.get && endpoints.get.users))
#admin-communities(hidden, data-view="admin-communities") #admin-communities(hidden, data-view="admin-communities")
include views/admin/page-admin-communities.pug include views/admin/page-admin-communities.pug
nav.jsRightMenu(role='navigation') nav.jsRightMenu(role='navigation')
solid-router.text-color-heading.reverse.text-bold(default-route='admin-circles') solid-router.text-color-heading.text-bold(default-route='admin-circles')
ul ul
li.segment.padding-small.text-right.jsOffsiteToggle li.segment.padding-small.text-right.text-normal.jsOffsiteToggle
span.icon.icon-arrow-right.xxsmall.icon-margin-right-xxsmall span.icon.icon-arrow-right.xxsmall.margin-right-xxsmall
a.text-normal.text-xsmall(data-trans='admin.menuRight.fold') a(data-trans='admin.menuRight.fold')
if (endpoints.users || (endpoints.get && endpoints.get.users)) if (endpoints.users || (endpoints.get && endpoints.get.users))
solid-route(name='admin-communities') solid-route(name='admin-communities')
li.segment.padding-large li.segment.padding-medium
span.icon.ci-networking.large.icon-margin-right span.icon.ci-networking.icon-xlarge.margin-right-small
a(data-trans='admin.menuRight.community') a(data-trans='admin.menuRight.community')
if endpoints.circles || (endpoints.get && endpoints.get.circles) if endpoints.circles || (endpoints.get && endpoints.get.circles)
solid-route(name='admin-circles') solid-route(name='admin-circles')
li.segment.padding-large li.segment.padding-medium
span.icon.ci-bubble-add.large.icon-margin-right span.icon.ci-bubble-add.icon-xlarge.margin-right-small
a(data-trans='admin.menuRight.circles') a(data-trans='admin.menuRight.circles')
if endpoints.projects || (endpoints.get && endpoints.get.projects) if endpoints.projects || (endpoints.get && endpoints.get.projects)
solid-route(name='admin-projects') solid-route(name='admin-projects')
li.segment.padding-large li.segment.padding-medium
span.icon.ci-add.large.icon-margin-right span.icon.ci-add.icon-xlarge.margin-right-small
a(data-trans='admin.menuRight.projects') a(data-trans='admin.menuRight.projects')