diff --git a/src/index.pug b/src/index.pug index cf0f8d0..302da84 100644 --- a/src/index.pug +++ b/src/index.pug @@ -35,6 +35,9 @@ html(lang="en") #circle(hidden).with-sidebar include page-circle.pug + #circle-admin(hidden).no-sidebar + include page-circle-admin.pug + #messages(hidden).with-sidebar include page-messages.pug diff --git a/src/menu-left.pug b/src/menu-left.pug index 1213473..b40adb4 100644 --- a/src/menu-left.pug +++ b/src/menu-left.pug @@ -82,6 +82,7 @@ nav#main__menu next='messages' ) + sib-route(hidden, name='circle-admin', use-id='') //- div.divider //- sib-route.menu(hidden, name='my-profile', rdf-type='foaf:user', use-id='') diff --git a/src/page-circle-admin.pug b/src/page-circle-admin.pug new file mode 100644 index 0000000..507ce0b --- /dev/null +++ b/src/page-circle-admin.pug @@ -0,0 +1 @@ +h1 Hello! \ No newline at end of file diff --git a/src/page-user-panel.pug b/src/page-user-panel.pug index d3491ac..76e1a32 100644 --- a/src/page-user-panel.pug +++ b/src/page-user-panel.pug @@ -4,6 +4,6 @@ nav(role="user's functionalities menu") //- sib-link(next='my-profile') My profile //-li sib-link(next='user-settings') Settings - //-li - sib-link(name='user-admin') Admin + li + sib-link(next='circle-admin') Admin button(role='log out' onclick="document.querySelector('sib-auth').logout();") Log out