diff --git a/src/images/contributions-help.png b/src/images/contributions-help.png deleted file mode 100644 index 4a3597b..0000000 Binary files a/src/images/contributions-help.png and /dev/null differ diff --git a/src/page-project.pug b/src/page-project.pug index 49eb16a..f043e0f 100644 --- a/src/page-project.pug +++ b/src/page-project.pug @@ -23,11 +23,6 @@ #project-information(hidden) include views/project/page-project-profile.pug -dialog(id='project-contributions-help').modal - sib-link(next='project-profile') - button.icon-close - img(src='/images/contributions-help.png') - nav.jsRightMenu(role='navigation') sib-router(default-route='project-chat') ul diff --git a/src/styles/base/main.scss b/src/styles/base/main.scss index 464db80..0154ef4 100644 --- a/src/styles/base/main.scss +++ b/src/styles/base/main.scss @@ -247,7 +247,7 @@ h5 { flex-direction: column; } -.modal { +/*.modal { color: var(--color-white); margin: 75px; padding: 40px; @@ -268,7 +268,7 @@ h5 { color: var(--color-secondary); } } -} +}*/ .admin-header { align-items: center; diff --git a/src/styles/layout/project/project-profile.scss b/src/styles/layout/project/project-profile.scss index 4658a96..6652825 100644 --- a/src/styles/layout/project/project-profile.scss +++ b/src/styles/layout/project/project-profile.scss @@ -1,44 +1,5 @@ #project-profile { - .button-question__position { - position: relative; - bottom: 5px; - } - - .button-question__color { - color: var(--color-secondary); - } - - .customer-box { - display: flex; - margin: 1.6rem 0; - - >* { - border: 1px solid var(--color-grey-8); - flex: 0 1 50%; - padding: 1.7rem 2rem; - - &:first-child { - - li:last-child { - margin-top: 3rem; - - p { - margin-top: 0.8rem; - } - } - } - - &:last-child { - border-left: none; - - li { - margin-bottom: 1.5rem; - } - } - } - } - .customer-logo { box-sizing: border-box; display: flex; @@ -48,31 +9,4 @@ text-align: end; width: 15vw; } - - ul { - list-style: none; - padding-left: 0; - - li { - margin-bottom: 0.5em; - - span::before { - color: var(--color-primary); - font-size: 2.2rem; - margin: 0 1rem 0 0; - } - - span { - font-weight: bold; - - &.link-color { - color: var(--color-complementary); - } - - &.norm-weight { - font-weight: normal; - } - } - } - } -} \ No newline at end of file +} diff --git a/src/templates/hubl-customer.pug b/src/templates/hubl-customer.pug deleted file mode 100644 index 07abe0b..0000000 --- a/src/templates/hubl-customer.pug +++ /dev/null @@ -1,17 +0,0 @@ -sib-widget(name='hubl-customer') - template - div.customer-box - div - h3 Client : - ul - li #[span Nom de l'entreprise : ]${await value.name} - li ${await value.companyRegister ? `Immatriculation de l'entreprise : ${await value.companyRegister}` : ``} - li ${await value.address ? `Adresse :

${await value.address}

`: ``} - div - h3 Contact : - ul - li #[span(class='mdi-account-outline') ${await value.first_name} ${await value.last_name ? await value.last_name : ""}]${await value.role ? `, ${await value.role}` : ""} - li - span(class='link-color norm-weight mdi-email-outline') - a(href='mailto:${await value.email}') ${await value.email} - span ${await value.phone ? `
  • ${await value.phone}
  • ` : ``} diff --git a/src/views/project/page-project-profile.pug b/src/views/project/page-project-profile.pug index d596826..682af11 100644 --- a/src/views/project/page-project-profile.pug +++ b/src/views/project/page-project-profile.pug @@ -5,7 +5,6 @@ sib-router(default-route='project-profile', hidden) #project-profile(hidden) include ../../templates/hubl-captain.pug include ../../templates/hubl-circle-team.pug - include ../../templates/hubl-customer.pug include ../../templates/hubl-project-team.pug .content-box__info @@ -42,19 +41,6 @@ sib-router(default-route='project-profile', hidden) widget-customer.logo='sib-display-img' ) - h2 Contributions: - sib-link(next='project-contributions-help').button-question__position - button(aria-label='modal activator').icon-question.button-question__color - - h2 Informations sur le client : - - sib-display( - bind-resources - fields='customer' - - widget-customer='hubl-customer' - ) - h2 Equipe : sib-display(