hubl/src/page-circle.pug

50 lines
2.3 KiB
Plaintext
Raw Normal View History

.views-container.sidebar-is-closed
.content-box.flex.full-width.with-form
div.content-box__header
2020-06-18 18:02:54 +00:00
solid-ac-checker.flex.space-between(permission='acl:Read', bind-resources)
solid-display(
2019-10-29 14:48:37 +00:00
bind-resources
fields='name, description'
class-name='h1-like'
class-description='h1-aside description'
2019-10-29 14:48:37 +00:00
)
2020-10-21 13:31:05 +00:00
button.mobile-sidebar-button.jsMobileSidebarOpenButton.icon-arrow-left-circle(data-trans='circle.menuRight.buttonMobile')
div.content-box__height
2020-06-18 18:02:54 +00:00
solid-ac-checker(permission='acl:Read', bind-resources)
2020-10-19 14:12:14 +00:00
#circle-chat(hidden, data-view="circle-chat")
include views/circle/page-circle-chat.pug
2020-10-19 14:12:14 +00:00
#circle-information.content-box__height(hidden, data-view="circle-information")
include views/circle/page-circle-profile.pug
2020-10-19 14:12:14 +00:00
#circle-events(hidden, data-view="circle-events")
include views/circle/page-circle-events.pug
2020-10-19 14:12:14 +00:00
#circle-resources(hidden, data-view="circle-resources")
include views/circle/page-circle-resources.pug
2020-10-19 14:12:14 +00:00
#circle-polls(hidden, data-view="circle-polls")
2020-08-12 20:15:05 +00:00
include views/circle/page-circle-polls.pug
2019-10-29 14:48:37 +00:00
nav.jsRightMenu(role='navigation')
2020-06-18 18:02:54 +00:00
solid-router(default-route='circle-chat')
2019-10-15 09:37:57 +00:00
ul
li.jsOffsiteToggle
2020-10-21 13:31:05 +00:00
a(data-trans='circle.menuRight.fold')
2020-06-18 18:02:54 +00:00
solid-route(name='circle-chat')
2019-10-15 09:37:57 +00:00
li
2020-10-21 13:31:05 +00:00
a(data-trans='circle.menuRight.chat')
2020-06-18 18:02:54 +00:00
solid-route(name='circle-information')
2019-10-15 09:37:57 +00:00
li
2020-10-21 13:31:05 +00:00
a(data-trans='circle.menuRight.information')
2020-08-31 20:55:23 +00:00
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)
li
2020-10-21 13:31:05 +00:00
a(data-trans='circle.menuRight.resources')
2020-08-31 20:55:23 +00:00
if (endpoints.events || (endpoints.get && endpoints.get.events)) && (endpoints.typeevents || (endpoints.get && endpoints.get.typeevents))
solid-route(name='circle-events' use-id)
li
2020-10-21 13:31:05 +00:00
a(data-trans='circle.menuRight.events')
2020-08-31 20:55:23 +00:00
if endpoints.polls || (endpoints.get && endpoints.get.polls)
solid-route(name='circle-polls' use-id)
li
2020-10-21 13:31:05 +00:00
a(data-trans='circle.menuRight.polls')