feature: circle and project right hand sidebar

This commit is contained in:
gaelle morin 2020-11-26 11:44:43 +01:00
parent 2257596d49
commit ee39bbcff9
No known key found for this signature in database
GPG Key ID: 028426702B95CF9C
3 changed files with 24 additions and 15 deletions

View File

@ -24,26 +24,32 @@
include views/circle/page-circle-polls.pug include views/circle/page-circle-polls.pug
nav.jsRightMenu(role='navigation') nav.jsRightMenu(role='navigation')
solid-router(default-route='circle-chat') solid-router.text-color-heading.reverse.text-bold(default-route='circle-chat')
ul ul
li.jsOffsiteToggle li.segment.padding-small.text-right.jsOffsiteToggle
span.icon.icon-arrow-right.xxsmall.icon-margin-right-xxsmall
a(data-trans='circle.menuRight.fold') a(data-trans='circle.menuRight.fold')
solid-route(name='circle-chat') solid-route(name='circle-chat')
li li.segment.padding-large
span.icon.ci-chat.large.icon-margin-right
a(data-trans='circle.menuRight.chat') a(data-trans='circle.menuRight.chat')
solid-route(name='circle-information') solid-route(name='circle-information')
li li.segment.padding-large
span.icon.ci-information.large.icon-margin-right
a(data-trans='circle.menuRight.information') a(data-trans='circle.menuRight.information')
if (endpoints.resources || (endpoints.get && endpoints.get.resources)) && (endpoints.resourceskeywords || (endpoints.get && endpoints.get.resourceskeywords)) && (endpoints.resourcestypes || (endpoints.get && endpoints.get.resourcestypes)) if (endpoints.resources || (endpoints.get && endpoints.get.resources)) && (endpoints.resourceskeywords || (endpoints.get && endpoints.get.resourceskeywords)) && (endpoints.resourcestypes || (endpoints.get && endpoints.get.resourcestypes))
solid-route(name='circle-resources' use-id) solid-route(name='circle-resources' use-id)
li li.segment.padding-large
span.icon.ci-networking.large.icon-margin-right
a(data-trans='circle.menuRight.resources') a(data-trans='circle.menuRight.resources')
if (endpoints.events || (endpoints.get && endpoints.get.events)) && (endpoints.typeevents || (endpoints.get && endpoints.get.typeevents)) if (endpoints.events || (endpoints.get && endpoints.get.events)) && (endpoints.typeevents || (endpoints.get && endpoints.get.typeevents))
solid-route(name='circle-events' use-id) solid-route(name='circle-events' use-id)
li li.segment.padding-large
span.icon.ci-networking.large.icon-margin-right
a(data-trans='circle.menuRight.events') a(data-trans='circle.menuRight.events')
if endpoints.polls || (endpoints.get && endpoints.get.polls) if endpoints.polls || (endpoints.get && endpoints.get.polls)
solid-route(name='circle-polls' use-id) solid-route(name='circle-polls' use-id)
li li.segment.padding-large
span.icon.ci-networking.large.icon-margin-right
a(data-trans='circle.menuRight.polls') a(data-trans='circle.menuRight.polls')

View File

@ -24,14 +24,17 @@
include views/project/page-project-picture.pug include views/project/page-project-picture.pug
nav.jsRightMenu(role='navigation') nav.jsRightMenu(role='navigation')
solid-router(default-route='project-chat') solid-router.text-color-heading.reverse.text-bold(default-route='project-chat')
ul ul
li.jsOffsiteToggle li.segment.padding-small.text-right.jsOffsiteToggle
span.icon.icon-arrow-right.xxsmall.icon-margin-right-xxsmall
a(data-trans='project.menuRight.fold') a(data-trans='project.menuRight.fold')
solid-route(name='project-chat') solid-route(name='project-chat')
li li.segment.padding-large
span.icon.ci-chat.large.icon-margin-right
a(data-trans='project.menuRight.chat') a(data-trans='project.menuRight.chat')
solid-route(name='project-information') solid-route(name='project-information')
li li.segment.padding-large
span.icon.ci-information.large.icon-margin-right
a(data-trans='project.menuRight.information') a(data-trans='project.menuRight.information')
solid-route(name='project-picture' use-id) solid-route(name='project-picture' use-id)

View File

@ -106,9 +106,9 @@
} }
} }
&[name$='chat']>li { /*&[name$='chat']>li {
@include ci('chat'); @include ci('chat');
} }*/
&[name$='create']>li { &[name$='create']>li {
@include ci('offer'); @include ci('offer');
@ -118,9 +118,9 @@
@include ci('list'); @include ci('list');
} }
&[name$='profile']>li, &[name$='information']>li { /*&[name$='profile']>li, &[name$='information']>li {
@include ci('information'); @include ci('information');
} }*/
&[name$='drive']>li { &[name$='drive']>li {
@include ci('file'); @include ci('file');