Skip to content
Snippets Groups Projects
Verified Commit 5ea6edcc authored by Gaëlle Morin's avatar Gaëlle Morin
Browse files

feature: dashboard

parent 322e4062
No related branches found
No related tags found
1 merge request!255major: release integration of the hubl styling framework
......@@ -52,6 +52,10 @@ html(lang="en")
main#content.segment.lg-three-quarter.text-top.notLoggedIn
if endpoints.get.dashboards
#dashboard(hidden, data-view="dashboard")
include views/page-dashboard.pug
if endpoints.get.projects
#project(hidden, data-view="project", no-render).with-sidebar.whitespace-normal
hubl-reactivity(bind-user nested-field='inbox' target-src="store://user.projects")
......@@ -79,9 +83,6 @@ html(lang="en")
//- if endpoints.get.dashboards
//- #dashboard(hidden, data-view="dashboard")
//- include views/page-dashboard.pug
//- if publicDirectory && endpoints.get.users
//- #members(hidden, data-view="members", no-render)
......
div.segment.padding-top-small.padding-right-large.padding-bottom-small.padding-left-large
h2.text-xlarge.text-color-heading.text-uppercase(data-trans='dashboard.title')
div.segment.lg-full.padding-top-xlarge.padding-right-large.padding-bottom-xlarge.padding-left-large.whitespace-normal
solid-dashboard(
data-src=`${endpoints.dashboards || endpoints.get.dashboards}`
)
......@@ -97,12 +97,12 @@ solid-widget(name='hubl-menu-fix-url-project')
solid-router#navbar-router(default-route='dashboard')
//- if endpoints.dashboards || (endpoints.get && endpoints.get.dashboards)
//- solid-route.menu.segment.lg-full.padding-small.text-semibold.text-color-white.heading-active.bg-color-heading.hover.active(name='dashboard')
//- div.segment.margin-right-xxsmall
//- div.icon.icon-small.icon-home
//- div.segment.text-uppercase.text-letter-spacing-large(data-trans="menuLeft.dashboard")
//- div.divider
if endpoints.dashboards || (endpoints.get && endpoints.get.dashboards)
solid-route.menu.segment.lg-full.padding-small.text-semibold.text-color-white.heading-active.bg-color-heading.hover.active(name='dashboard')
div.segment.margin-right-xxsmall
div.icon.icon-small.icon-home
div.segment.text-uppercase.text-letter-spacing-large(data-trans="menuLeft.dashboard")
div.divider
//- if publicDirectory && (endpoints.users || (endpoints.get && endpoints.get.users))
//- solid-route.menu.segment.lg-full.padding-small.text-semibold.text-color-white.heading-active.bg-color-heading.hover.active(name='members')
//- div.segment.margin-right-xxsmall
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment