update: useless styles removed from project-profile
This commit is contained in:
parent
23412b691f
commit
3b6121ace9
Binary file not shown.
Before Width: | Height: | Size: 800 KiB |
@ -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
|
||||
|
@ -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;
|
||||
|
@ -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;
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
@ -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 ? `<span>Immatriculation de l'entreprise : </span> ${await value.companyRegister}` : ``}
|
||||
li ${await value.address ? `<span>Adresse : </span><br/><p>${await value.address}</p>`: ``}
|
||||
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 ? `<li><span class='norm-weight mdi-cellphone-iphone'>${await value.phone}</span></li>` : ``}
|
@ -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(
|
||||
|
Loading…
Reference in New Issue
Block a user