feature: project: header + general view

This commit is contained in:
gaelle morin 2020-11-26 14:15:45 +01:00
parent a7f4d3176f
commit 582e1ae892
No known key found for this signature in database
GPG Key ID: 028426702B95CF9C
3 changed files with 23 additions and 20 deletions

View File

@ -50,7 +50,7 @@ html(lang="en")
include page-job-offers.pug include page-job-offers.pug
if endpoints.projects || (endpoints.get && endpoints.get.projects) if endpoints.projects || (endpoints.get && endpoints.get.projects)
#project(hidden, data-view="project").with-sidebar #project(hidden, data-view="project").segment.lg-full.with-sidebar
if (endpoints.post && endpoints.post.projects) && (endpoints.get && endpoints.get.projects) if (endpoints.post && endpoints.post.projects) && (endpoints.get && endpoints.get.projects)
hubl-reactivity(data-src=`${endpoints.post.projects}joinable/` target-src=`${endpoints.get.projects}`) hubl-reactivity(data-src=`${endpoints.post.projects}joinable/` target-src=`${endpoints.get.projects}`)
hubl-reactivity(data-src=`${endpoints.post.projects}` target-src=`${endpoints.get.projects}`) hubl-reactivity(data-src=`${endpoints.post.projects}` target-src=`${endpoints.get.projects}`)

View File

@ -1,20 +1,25 @@
.views-container.sidebar-is-closed .views-container.sidebar-is-closed.bg-color-white
.content-box.flex.full-width.with-form .content-box.full-width
div.content-box__header .content-box__height
solid-ac-checker.flex.space-between(permission='acl:Read', bind-resources) div.segment.padding-xlarge.border-bottom
solid-display( solid-ac-checker(permission='acl:Read', bind-resources)
div
solid-display.text-xlarge.text-letter-spacing-large(
bind-resources bind-resources
fields='const-title1, number, customer.name, name' fields='const-title1, number, customer.name, dash, name'
class-const-title1='h1-like' class-const-title1='text-color-heading text-bolder text-uppercase'
class-number='h1-like word-spacing-right' class-number='text-color-heading text-bolder text-uppercase word-spacing-right'
class-customer.name='h1-like' class-customer.name='text-color-heading text-bolder text-uppercase'
class-name='h1-aside' class-dash='text-color-heading text-bolder text-xlarge'
class-name=''
value-const-title1='N°' value-const-title1='N°'
value-dash=' - '
) )
div.segment.lg-hidden
button.mobile-sidebar-button.jsMobileSidebarOpenButton.icon-arrow-left-circle(data-trans='project.menuRight.buttonMobile') button.mobile-sidebar-button.jsMobileSidebarOpenButton.icon-arrow-left-circle(data-trans='project.menuRight.buttonMobile')
div.content-box__height
solid-ac-checker(permission='acl:Read', bind-resources) solid-ac-checker(permission='acl:Read', bind-resources)
#project-chat(hidden, data-view="project-chat") #project-chat(hidden, data-view="project-chat")
include views/project/page-project-chat.pug include views/project/page-project-chat.pug

View File

@ -618,9 +618,7 @@ img {
} }
h1, h1,
.h1-like,
h2, h2,
.h2-like,
h3, h3,
h4, h4,
h5, h5,