update: menu left with polls

This commit is contained in:
Marjolaine Le Bon 2020-08-11 19:55:14 +02:00
parent 9cc5ab7107
commit 5785f4b640
2 changed files with 7 additions and 5 deletions

View File

@ -64,18 +64,19 @@ solid-router#navbar-router(default-route='dashboard')
div.menu-label Offres de mission div.menu-label Offres de mission
div.menu-icon.icon-briefcase div.menu-icon.icon-briefcase
div.divider div.divider
if endpoints.events || (endpoints.get && endpoints.get.events)
solid-route.menu(name='events')
div.menu-label Evènements
div.menu-icon.icon-calendar
div.divider
if endpoints.resources || (endpoints.get && endpoints.get.resources) if endpoints.resources || (endpoints.get && endpoints.get.resources)
solid-route.menu(name='resources') solid-route.menu(name='resources')
div.menu-label Ressources div.menu-label Ressources
div.menu-icon.icon-docs div.menu-icon.icon-docs
div.divider
if endpoints.polls || (endpoints.get && endpoints.get.polls) if endpoints.polls || (endpoints.get && endpoints.get.polls)
solid-route.menu(name='polls') solid-route.menu(name='polls')
div.menu-label Gouvernance div.menu-label Gouvernance
div.menu-icon.icon-bubbles
div.divider
if endpoints.events || (endpoints.get && endpoints.get.events)
solid-route.menu(name='events')
div.menu-label Evènements
div.menu-icon.icon-calendar div.menu-icon.icon-calendar
div.divider div.divider
if endpoints.projects || (endpoints.get && endpoints.get.projects) if endpoints.projects || (endpoints.get && endpoints.get.projects)

View File

@ -47,6 +47,7 @@
} }
} }
&[name="resources"][active] .menu-icon:before, &[name="resources"][active] .menu-icon:before,
&[name="polls"][active] .menu-icon:before,
&[name="events"][active] .menu-icon:before { &[name="events"][active] .menu-icon:before {
background-color: transparent; background-color: transparent;
} }