feature: dashboard
This commit is contained in:
parent
322e4062fd
commit
5ea6edcc84
@ -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)
|
||||
|
@ -1,5 +1,4 @@
|
||||
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
|
||||
|
Loading…
Reference in New Issue
Block a user