feature: dashboard - add classes

This commit is contained in:
gaelle morin
2020-12-23 15:39:55 +01:00
parent 7dcda753c7
commit 935a091a0b
4 changed files with 14 additions and 12 deletions

View File

@ -52,8 +52,10 @@ html(lang="en")
main#content.segment.lg-three-quarter.text-top.notLoggedIn
#about(data-view="about")
include views/page-about.pug
if endpoints.get.dashboards
#dashboard(hidden, data-view="dashboard")
include views/page-dashboard.pug
//- if endpoints.get.dashboards
//- #dashboard(hidden, data-view="dashboard").no-sidebar.with-padding

View File

@ -1,5 +1,5 @@
.views-container
h1(data-trans='dashboard.title')
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')
solid-dashboard(
data-src=`${endpoints.dashboards || endpoints.get.dashboards}`
)